locked
use wcf-webhttp for rest in biztalk esb receive port RRS feed

  • Question

  • Hi

    I use wcf-webHttp in receive port in biztalk esb

    when i brows help service show this:

    This page describes the service operations at this endpoint.
    
    Uri Method Description 
    BizTalkSubmit POST  Service at https://TM_ESB_Services_Mayadin_SyncService.Ver6/Service1.svc/BizTalkSubmit 
    TwoWayMethod POST  Service at https://TM_ESB_Services_Mayadin_SyncService.Ver6/Service1.svc/TwoWayMethod 

    I don't know what is this.

    I add my operation in "Http Method and URL Mapping" but not show in help rest service. how can add my operation.

    also can i use ItinerarySelectReceive in Receive pipeline for webhttp?

    thanks


    • Edited by AliAlvand Sunday, September 4, 2016 2:20 PM
    Sunday, September 4, 2016 2:05 PM

Answers

  • So, not too sure what you're asking but...WCF-WebHttp is a basic Http endpoint to which you can POST (or GET, or any other Http Verb) any content.

    In reality, the description doesn't tell you anything specific, meaning there is no meta data or anything similar as with SOAP.  Nothing you configure on the Receive Port matters to the Description.

    Why would you use the ItinerarySelectReceive?  You probably shouldn't be using the ESBT at all.

    • Proposed as answer by Angie Xu Monday, September 26, 2016 2:59 AM
    • Marked as answer by Angie Xu Monday, September 26, 2016 2:59 AM
    Sunday, September 4, 2016 3:35 PM
    Moderator

All replies

  • So, not too sure what you're asking but...WCF-WebHttp is a basic Http endpoint to which you can POST (or GET, or any other Http Verb) any content.

    In reality, the description doesn't tell you anything specific, meaning there is no meta data or anything similar as with SOAP.  Nothing you configure on the Receive Port matters to the Description.

    Why would you use the ItinerarySelectReceive?  You probably shouldn't be using the ESBT at all.

    • Proposed as answer by Angie Xu Monday, September 26, 2016 2:59 AM
    • Marked as answer by Angie Xu Monday, September 26, 2016 2:59 AM
    Sunday, September 4, 2016 3:35 PM
    Moderator
  • Hi,

    On receive location just make sure you have given proper configuration for WCF-WebHttp,

    1) you service URL should be configured in Address(URI): section

    2) HTTP Method and  URL Mapping make sure you have given proper operation name (GET, POST, PUT etc)

    3) You can use ItinerarySelectReceive with WebHttp, you just need to double sure you have given Proper Adapter in Transform or Route Service, Probably you should have to add Custom Adapter since WebHttp is not supported by ESB Toolkit out of box.

    4) Create Custom Adapter Class Library project and add new Class for Custom Adapter and Ineherit the same with  WCFBaseAdapterProvider

    Hope this Helps!!!!

    Please Mark as Answered if you satisfy with Reply.

    Tuesday, September 6, 2016 4:14 AM