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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

How to invoke tn:receive service using pub.client:http

  • 1.  How to invoke tn:receive service using pub.client:http

    Posted Sat August 04, 2012 09:00 PM

    Currently we send BizDoc to partner by invoking wm.tn:receive service.
    However, we don’t plan to use TN on our side while the partner still uses TN to accept msg from us.
    We cannot use tn services or BizDoc.
    So, I was thinking we could use pub.client:http service and provide the url to invoke wm.tn:receive.
    The receive service takes a node and TNParams as input.

    I tried converting BizDoc into string and to node and map it to the tn:receive’s node argument.
    I got 200 http response, but the body content had “Bad Request” message.

    What xml format (before converting to node) does the tn:receive expect in order to successfully process the request?


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


  • 2.  RE: How to invoke tn:receive service using pub.client:http

    Posted Tue September 04, 2012 06:59 AM

    you can send the actual xml message content as http post using pub.client:http. no need of using bizdoc etc.


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