Presentation is loading. Please wait.

Presentation is loading. Please wait.

Louis Maresca Software Development Engineer Microsoft Corporation GP15.

Similar presentations


Presentation on theme: "Louis Maresca Software Development Engineer Microsoft Corporation GP15."— Presentation transcript:

1 Louis Maresca Software Development Engineer Microsoft Corporation GP15

2 Explore the basics of Web Services for Microsoft Dynamics GP as we review when and how to leverage this technology. Explore the basics of Web Services for Microsoft Dynamics GP as we review when and how to leverage this technology. We'll demonstrate how to fully utilize Web Services and you'll walk away with insight and knowledge into how this technology translates into greater opportunities for your organization. We'll demonstrate how to fully utilize Web Services and you'll walk away with insight and knowledge into how this technology translates into greater opportunities for your organization.

3 How many of you are coders? (implementers?) How many are you are PMs? Who has used Web Services (in general)? Who has used GP Web Services before?

4 What is GP Web Services? How to use Web Services? Some Code… ahhh! Examples Best Practices

5 WSDL: Web Service Description Language SOAP: Simple Object Access Protocol Proxy: Service Proxy Object ASMX: Web Service Page Decoupled Loosely Typed – Strongly Typed

6 SOURCE: FORRESTER

7 Do you understand the GP Data Model? Tables|Fields|Relations? WS is a way to talk to GP with out having to understand the BackEnd. Lets Hide\Encapsulate all the complex stuff and talk to something descriptive (human readable!!)

8 GP Web ServicesGP Web Services WorkflowWorkflow Busines s Portal Portal BDC / Search GP Web Services -Installs to IIS server, and to SQL server. -Consoles can be installed on any machine that can talk to IIS. -Dependency is on -eConnect: It needs access to API through COM+, and stored procedures. -IIS -ADAM/Azman for security Workflow -Installs to MOSS/IIS Server -Dependency on GP Web Services and Windows Workflow GP BDC – Search (Office 12) -Installs to MOSS/IIS Server and to SQL server -Dependency is on - GP Web Services Business Portal -Installs to IIS and SQL server -Dependency is on -GP Web Services -eConnect -MBF -MOSS -WSS CRM Integration -Dependency is on: GP Web Services PortalsPortals CRM Integration Dynamics Mobility Server

9 Security

10 What can the service do? Contract 300+ Operations Standard Naming Convention GetBusinessObjectByList GetBusinessObjectByKey CreateBusinessObject DeleteBusinessObject VoidBusinessObject Strongly typed Descriptive things that are returned (objects) rather than TEXT (xml) ReturnsReturns Customer

11

12

13 RequestService Proxy Request Service WSDL (Description)CustomerFOO (GetCustomerByKe y)

14 Security Subsystem Policy Subsystem Exception Subsystem Create/Update/Delet e Get / GetList

15 Role Based What Operations belong to that Role? What Tasks Belong to those operations? (e.g., Sales Person) What do can you see? Security Subsystem

16 You are a SalesPerson and you are assigned to a set of customers GetList (basedonCustomerId) returns only the customers you are assigned

17 What is a Policy? Internal Policies e.g., Force Credit Limit(s) External Policies e.g., Create a customer with a default Class ID Role Based Each role can have a different set of policies.

18 There is an error…Is it safe to send back the details?! Not necessarily! We return a error, but to see all of the data, information behind the issue, you can retrieve it from the Exception Service Expose Exception Method

19 We talk to the Back Office For you… Business Logic/ Validation is done against the data, and performed automatically This is the magic layer for you…

20 1) Create a Proxy, or use the shipped one 2) Generate a Context 3) Decide, from the Proxy, What Web Operation you are calling 4) Build up your operation call using strongly typed objects in the interface

21 DynamicsGP clientProxy = new DynamicsGP() Thats IT! Is this slow for you? Why is it slow sometimes?!!!!! [Best Practice] What happens underneath? Do you really want to know? Thinning the contract…

22 How?! Create a new ASMX, point it to our assembly Thats it! Want a demo?

23 Properties Organization Key CultureName Currency Role Key WorkOnBehalfOfa

24 The Service Contract exposes various CRUD operations that include additional GP Specific operations Get_ :Retrieves individual Documents GetList_ : Returns a Collection of objects Create_ : Creates new document Update_ :Updates an existing document Delete_ :Deletes an existing document Void_ :Voids an existing transactions 300+ Web Operations

25 Quick…

26 Two ways to access online evaluation forms CommNet and evaluation stations located throughout the New Orleans Morial Convention Center From any wired or wireless connection to For more information please refer to your Conference Guide Note: For every attendee who completes an evaluation, Convergence will donate $1 to the Boys & Girls Club of Southeast Louisiana Be eligible to win great daily prizes and the grand prize – a $5,000 Travel Voucher!

27 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28


Download ppt "Louis Maresca Software Development Engineer Microsoft Corporation GP15."

Similar presentations


Ads by Google