xmlsoapbiztalkcorrelationbiztalk-orchestrations

What type of correlation should I choose in my BizTalk service?


project orchestration image

Task: BizTalk service should get message from client (Receive_1) and send it to remote 1cServise (Send_1). 1cServise accepts messages, with such a structure:

empty POST request to address https://1Caddress.1cws

with Header - Content-type: text/xml

and Body - XML (plain text):

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                <soap:Body>
                    <m:Get xmlns:m="http://www.gis.com.ua">
                    </m:Get>
                </soap:Body>
</soap:Envelope>

Then 1cService returns message to BizTalk (Receive_2), and than - to client (Send_2).

My project will not compile until I add Correlation Property to messages Send_1 and Receive_2.

But what type of correlation property should I choose for sending right request to 1cService? Or even, how to send correct message to 1cServise to get response?


Solution

  • I think that in your case you have to use a solicit-response send port:

    enter image description here

    enter image description here

    Because seems that in your case is invoke a service, that returns a response. You use a correlation, when you have some property or data to correlate the request and the response when the transport used is not synchronous, for example.