Re: Consuming Web Method that has a strongly-typed dataset as a parameter

Home Page Forums BizTalk 2004 – BizTalk 2010 Consuming Web Method that has a strongly-typed dataset as a parameter Re: Consuming Web Method that has a strongly-typed dataset as a parameter

#16522

Hey there,

 I know there are issues are issues with consuming datasets in web services, but found this in the Help documentation …

 Using TypedDataSets as parameters to Web methods

The following is what you need to do to support using TypedDataSets as parameters to Web methods:

  1. Add the Web reference to a C# project and then generate the proxy.
  2. Create a SOAP send port and specify the proxy on the send port and choose the method.
  3. In the orchestration, define a late bound port and define the message types. For most cases where no property promotion or distinguished field access is needed, the type can be defined as XMLDocument. Select PassThrough pipelines with this type.
  4. In BizTalk Server Administration console, in the Web Service tab in the SOAP Transport Properties dialog box of the SOAP send port, specify that you want to use that proxy that you created. You will also need to specify assembly, type, and method. For more information, see SOAP Transport Properties Dialog Box, Web service Tab.