IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Custom HTTP 200 response

    Posted Thu September 15, 2005 07:40 PM

    is there a way to customize the HTTP 200 response that TN sends back to a client that does an HTTPS POST to the wm.tn:receive service?

    we have a PeopleSoft server posting into it, and it expects a cXML/Response type response from our webMethods server. I have an example of the XML response message they want to see, but how do I make that go back by default with the HTTP 200 message?

    tia.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Custom HTTP 200 response

    Posted Thu September 15, 2005 08:17 PM

    Hello,
    You should have an intermediate service posted to and have that service relay the call to wm.tn:receive service. There are many posts on this. I would search for the service call. Good day.

    Yemi Bedu


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 3.  RE: Custom HTTP 200 response

    Posted Thu September 15, 2005 08:22 PM

    Sorry, I should have specified that I’ve already made an intermediate service. what I’d like to find out is how I can customize the HTTP response of that intermediate service. I don’t imagine it is as simple as putting variables on the service output…?


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 4.  RE: Custom HTTP 200 response

    Posted Thu September 15, 2005 08:37 PM

    Should be able to use pub.flow:setResponse.


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 5.  RE: Custom HTTP 200 response

    Posted Thu September 15, 2005 10:38 PM

    thanks Rob.

    related question:

    on the gateway service, I’ve allowed it on our 443 port, and have set the Execute ACL to “Anonymous” because their PeopleSoft server does not send HTTP authorization in the standard way that webMethods IS accepts.

    in any case, they can hit the service, and the XML doc is sent to TN, which recognizes the Document Type, the Sender, and the Receiver correctly.

    however, it aborts processing of the document with this message:

    “The user that posted this document (Default) could not be associated with a partner to check their identity.”

    is there some way I can have the gateway service execute as a specific user? namely, their username so TN will associate it with their Partner ID?

    thanks again!


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Custom HTTP 200 response

    Posted Fri September 16, 2005 07:37 AM

    Are you using receive or routeXml? The latter doesn’t check identity IIRC.


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 7.  RE: Custom HTTP 200 response

    Posted Fri September 16, 2005 03:55 PM

    thanks again Rob. you remembered correctly, when it went thru routeXml, TradingNetworks allowed it to process from Default user.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods