Biztalk, need to consume a web service
What I need to do to send a request and to receive answer from the Web Service that I want to consume.
What i have done:
- I have done the "add web Reference"
- I added a
Send Shape
and aReceive Shape
and a I configured a port that sent and received with web Type, the port bindingSpecify later
and I connect with the Request and response to the Send and Receive shape.
I believe I am missing someth开发者_如何学Pythoning ?
From your description I am guessing you might be missing -
- A definition of the request and response messages; you need to ensure you have a request and response message defined, with their types being the generated web types.
- Select the correct message for both the send and receive shape. send shape uses the request message, receive shape uses the response message.
- Construct the request message using a construct and a transform or assignment shape before the send shape. the easiest way to get started is to use a map in a transform shape to create the request from whatever message triggered your process, but the exact implementation detail will, of course, depend on your scenario
This should be enough to call the service I would have thought There are many blog posts on the subject, here's one I found with a quick search that shows all the pieces needed
I'm currently working my way through a project using Biztalk to consume a web service. I think you may have a error when compiling similar to :
"Use of unreconstructed message"
If this is the problem, add a construct message shape to the orchestration before the send to the web service port.
I'm stuck with creating the message syntax but this should get you moving.
精彩评论