Exposing a REST Endpoint for 2 internal SOAP based services

Answered Exposing a REST Endpoint for 2 internal SOAP based services

  • Saturday, March 03, 2012 5:10 AM
     
     

    Hello All,

    I have a very simple requirement to achieve from BizTalk ESB toolkit. I have 2 internal web services exposing a SOAP based endpoint. I need to use Biztalk as ESB to create new REST endpoint to aggregate these 2 internal services. The REST endpoint will become public for rest of the applications. Now based on the message that the REST endpoint receives I need to route it to either of them. If possible I need to send a part of message only.

    Is it possible without writing any code?

All Replies

  • Monday, March 05, 2012 12:08 PM
     
     

    HI Ramakrishna,

    The question is bit confusing. However I can say that consume REST service in BizTalk  you must need to develop custom behaviour using .net code.  
    Aggregate the services you can use Orchestration.

    Is it possible without writing any code? No

    ___________________________________________________________
    If this is helpful or answers your question - please mark as answer and vote as helpful.


    Raj, http://rajwebjunky.blogspot.com

  • Monday, March 05, 2012 1:02 PM
     
     

    It's simple question rather. I have 2 internal web (SOAP)services, and I want to expose them as 1 REST service. Here I am hoping I can use the Protocol Transformation feature of BizTalk ESB.

    Once I get this REST endpoint ready for external apps, I want to route the message based on it's contents. In one case I would like to slice the message and send it to both internal services and then combine the results back and let it go as single response to the caller.

    Is it possible off the shelf without writing any .net code? 

  • Monday, March 05, 2012 2:23 PM
     
      Has Code

    I have 2 internal web (SOAP)services, and I want to expose them as 1 REST service.

    Here I am hoping I can use the Protocol Transformation feature of BizTalk ESB.

    If I am not wrong, you are trying consume SOAP services into biztalk and then publish them as one REST service ?? 

    It is not possible to publish pure REST Service using  Biztalk. Please check this Post
    When you say REST, the custom code development is required.

    I want to route the message based on it's contents. In one case I would like to slice the message and send it to both internal services and then combine the results back and let it go as single response to the caller .
    This can be done using Itinerary broker service and Orchestration with Orchestration extender.

    ___________________________________________________________
    If this is helpful or answers your question - please mark as answer and vote as helpful.



    Raj, http://rajwebjunky.blogspot.com

  • Monday, March 05, 2012 4:56 PM
     
     

    Okay, so what do I need to do to support publishing a REST service?


  • Monday, March 05, 2012 8:19 PM
     
     Answered

    Hi Ram,

    Check This , it talks all about Rest.

    ___________________________________________________________
    If this is helpful or answers your question - please mark as answer and vote as helpful.


    Raj, http://rajwebjunky.blogspot.com