.net - Using proxy class in Biztalk -


I've got a proxy class (built with WDSL).

Now I want to use it for the development of the Biztalk app.

How can I use a proxy class to send and receive messages. I am the process of configuring ports with a proxy class. Do I have only one problem that is using a proxy class for my messages?

I think you want to call a web service from Biztalk? If so, then you can either

  1. generate your proxy class and then use it in the net class library called from the orrustration
  2. to generate schemas. Use Biztalk Consume Service Wizard, periodic run-time binding to recur to call for service.

    If you want to go first on the path, create a class library that calls the web service by highlighting a method that can be called by your orchestration. If you have to pass Biztalk messages as a method argument, use the XLANGMessage type found in the Microsoft.XLANGs.BaseTypes library. You will first need to get a pure representation of your message schema (using xsd.exe or svcutil.exe) so that you can deserialize the message using XLANGPart. Recovery (type off (xxx)). If you need to pass the Web service response in any other message, you can create your .net method redirection type XmlDocument and until the response map for a message schema, BizTalk will take care of the conversion for you.

    If you want to go to another route, then it is normally easy because BizTalk will generate all the artifacts that you need to call for the service without the necessary coding. This is the best way to change the web service endpoint address for some time if you do not have to fancy it.

    Hope it helps TC

Comments