Quantcast
Channel: Stephen W. Thomas BizTalk MVP : biztalk, biztalk errors
Viewing all articles
Browse latest Browse all 20

Working With Untyped Web Services in BizTalk Server

$
0
0
Creating an Untyped Web Service will allow you to easily submit Xml Documents into BizTalk through the web service.  Make sure you check out my previous post on this topic.  Create the Web Service1. Run the Web Service Publishing Wizard2. Select “Publish Schema as A Web Service”3. Delete “WebService1”4. Right-Click on BizTalkWebServce, select Add Web Service5. Right-Click on WebService1, select Add web method, One-Way6. Right-Click on Request, select Schema Type  7. Select any dll with a schema, select any schema 8. Select next and fill out any other required information9. Make sure you select Create Receive Port otherwise you’ll have to do this manualEdit the Web Service1. Open the newly created web service2. Edit the web method signature to look like this:

     publicvoid WebMethod1(System.Xml.XmlDocument part)

3. Look for the inParms line it should look like this:

Microsoft.BizTalk.WebServices.ServerProxy.ParamInfo[] inParamInfos       

4. Change the TypeOf to be System.Xml.XmlDocumentThese same steps should work for BizTalk 2004 as well.

Viewing all articles
Browse latest Browse all 20