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
  • 1.  Getting HTTP Headers

    Posted Thu September 04, 2008 02:45 PM

    Dear All,

    My clinet is sending me XML file via HTTP Post. I created a service with the input (node). I am able to receive XML file via node input parameter. I also want to extract header informaiton. Your help is appreciated.

    Regards,
    Faisal


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Getting HTTP Headers

    Posted Fri September 05, 2008 02:32 AM

    Read the pub.flow:getTransportInfo documentation in the built-in services guide.


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 3.  RE: Getting HTTP Headers

    Posted Fri September 05, 2008 01:03 PM

    Thanks for your reply,

    I have one more question regarding consumer getting http response from WM Service. At the end of this service I am sending back only either Success or Failure but my client is getting following, but I only want to transmitt above message.

    <?xml version="1.0" encoding="UTF-8"?> Success

    Any advice please,

    Regards,
    Faisal


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 4.  RE: Getting HTTP Headers

    Posted Fri September 05, 2008 02:36 PM

    Populate a document containing only the information you want to return and clear the pipeline of all other values. You can also explicitly set the response using the pub.flow:setResponse built-in service.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods