The following is a description of how to do this. I will assume at least basic knowledge about things like BizTalk mapping, let me know if you need more details, and I will update.
After creating the elements in BizTalk you should have (at least):
This port should have messages about requests and responses, and they should have been automatically configured to use messages for your WCF service. If your service provides several operations, you will see that this is reflected here.
Using standard BizTalk mapping methods, map the data that you want to send to the WCF service in a request message for the WCf port. (you may need to change the message names in the orchestration designer as something better than the default message message_1, message_2 ...)
Drag the receiver and send the figures to the orchestration constructor and connect them to the correct port messages.
Connect another part of the BizTalk orchestration to get data from the corresponding source systems (this is just basic BizTalk, not WCF).
Deploy the BizTalk app.
Now the application is ready to work, it can be deployed in BizTalk.
Configure BizTalk Application
- Open the BizTalk Server 2006 Administration Console and find the application that contains the newly deployed orchestration.
- The orchestra will not be listed, you need to link all its ports
For most ports, this is similar to any other BizTalk application — only the ports that work with the WCF service are different.
For WCF ports, you have (at least for starters) two main options:
Now that your WCF port is created, you can bind the orchestration ports to it.
Once all this is done, you can start the BizTalk application and everything should work.
One thing that can help is that errors will be recorded in the event log, they may not be very useful, but you should also be able to see soap failure messages returned by the service in the paused message view.
Good luck
David hall
source share