1. Create an orchestration that takes in a string and return a string. Add a Call Orchestration shape to call into the original orchestration that accepts the EDI in the XML format.
2. Build and deploy the orchestration.
3. Run the WCF Service Publishing Wizard to publish the orchestration as a WCF service.
- 4. Open the web.config file where the Orchestration is published and add the following under
- a.
6. Go to the BizTalk Server Admin Console, and configure the new WCF Receive Location as follows:
- a. Change Receive Pipeline to EdiReceive. And Send Pipeline to EdiSend.
- b. Under "Transport" -> "Type" click "Configure"
- c. Go to the "Messages" tab and under the "Inbound BizTalk message body" select the "Path" option.
- d. For the "Body path expression enter: /*[local-name()='string']
- e. For the "Node encoding" select: String
- f. Click OK and then on the Receive Location Properties click OK again.
- g. Enable the WCF Receive Location. This is needed to be able to build the proxy using svcutil.
7. Run the svcutil.exe to generate the proxy and config file for the WCF Service and build the client. Client should pass the EDI message as a string (in the native EDI format) to the Orchestration.
8. Go back to the Orchestration and modify the incoming request and the outgoing response from a String to the required EDI formats.
9. Build and deploy the orchestration. Start everything. Send the EDI message in native format from the client. You should receive the response back in native EDI format.
No comments:
Post a Comment