Correlations with webservices

Home Page Forums BizTalk 2004 – BizTalk 2010 Correlations with webservices

Viewing 1 reply thread
  • Author
    Posts
    • #20510

      How can I initialize a correlation set while sending a request to a web service method on a web port. Please give an example/sample code for this scenario of calling webservices and initializing and following correlation with web services.

    • #20515

      Hi,

      You can initialize a correlation set on a web port just like you would on any other send port.  In the orchestration designer, create a correlation type, then create a correlation set of that type.  Next, on the web service send port open the properties, in the “Initializes correlation sets” field, select the correlation set you just created. 

      What do you need to correlated?  It’s not the response on a 2 way send port is it?  You don’t need correlation for that.  You would need correlation if you are using a fire & forget model where the web service opens a separate connection to BizTalk later and pushes the response back.

      • #20516

        yes its a 2 way send and receive port. Web service is not calling biz talk, web service is doing some task at its own.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.