locked
How to capture web service response without an orchestration RRS feed

  • Question

  • I have to capture the web service response without an orchestration.

    Based on the response received, i have to send the message to destination

    Wednesday, May 9, 2018 10:38 AM

Answers

  • Hi,

    There are filter options available in Messaging only scenerio, you can achive this using the following steps.

    1) Add Proxy reference to your web service so that you will get the proxy schema for consumed service (promote required fields of Service Response which useful in decision making)

    2) Configure the Solicit Response send port and select Adapter type as SOAP

    3) On SOAP Transport properties select Web Service Tab, and select the Assembly Name, Type Name and Method Name properties with valid values.

    4) Configure new Send Port (SendPort2) and utilize the SOAP Adapter properties as Filter along with Solicit Response send port name ( BTS.SPName ) and Response Message promoted fields setup during the step no.1

    Thus your web service response will be used on decision making on next action.


    Hope this Helps!!!!

    (Please Mark as Answered if Reply really helpful to your query)

    Friday, May 11, 2018 7:02 AM

All replies

  • You can send the message to a destination by creating another Sendport with a filter condition BTS.MessageType. Set the value as the service response message type

    Wednesday, May 9, 2018 10:49 AM
  • Why can't you use an Orchestration?  It's much easier and usually the 'correct, BizTalk Way' to interact with services.
    Wednesday, May 9, 2018 11:57 AM
    Moderator
  • I also urge you to use the orchestration as it takes care of lot of subscription management for you. 

    If you still want to do above (ideally you shouldnt ), you can follow belopw links

    1) How to Consume Web Services in a Messaging Only Scenario 

    2) BizTalk 2006 SOAP Adapter (Web Service call) in Messaging Only Scenario 

    3) Consuming Web Services in BizTalk Without Web Reference 


    Mandar Dharmadhikari

    Thursday, May 10, 2018 3:03 AM
    Moderator
  • Hi,

    There are filter options available in Messaging only scenerio, you can achive this using the following steps.

    1) Add Proxy reference to your web service so that you will get the proxy schema for consumed service (promote required fields of Service Response which useful in decision making)

    2) Configure the Solicit Response send port and select Adapter type as SOAP

    3) On SOAP Transport properties select Web Service Tab, and select the Assembly Name, Type Name and Method Name properties with valid values.

    4) Configure new Send Port (SendPort2) and utilize the SOAP Adapter properties as Filter along with Solicit Response send port name ( BTS.SPName ) and Response Message promoted fields setup during the step no.1

    Thus your web service response will be used on decision making on next action.


    Hope this Helps!!!!

    (Please Mark as Answered if Reply really helpful to your query)

    Friday, May 11, 2018 7:02 AM
  • In Send port filter, I have added Receive port name and message type,but still getting routing failure  error
    Wednesday, June 13, 2018 10:53 AM
  • Check context properties in the suspended routing failure report and set the send port filter accordingly
    You might have missed a promoted property or have the message type wrong

    /Peter

    Wednesday, June 13, 2018 11:45 AM