Share via


Executing Web Services: What Happens Behind the Scenes

Applies to: SharePoint Server 2010

When Business Data Connectivity (BDC) service clients, such as Business Data Web Parts and custom solutions, use BDC to execute Web methods, BDC does the following:

  • Queries the Web service URL (the WsdlFetchUrl property on the LobSystem element) for discovery information.

  • Extracts a WSDL-based Web service description.

  • Dynamically generates the code for a Microsoft Visual C# proxy in memory.

  • Compiles the Visual C# proxy code to an in-memory assembly.

  • Assigns an in-memory assembly with the user-specified name (the ProxyNamespace property on the LobSystem element) to the proxy class and method parameter types, and saves the namespace to the Shared Services database for future use.

  • When requested, creates the required SOAP requests, plugs in any filter values, and sends the request to the Web server.