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.  WM 7.1.1 pub.client.soapClient httpHeader

    Posted Wed August 06, 2008 04:15 AM

    I am unable to add HTTP headers in WM7.1.1
    It uses pub.client.soapClient (to create and post the SOAP message over https) in the WSD created from WSDL.

    Thanks,
    Ravi


    #API-Management
    #soa
    #webMethods


  • 2.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Wed August 06, 2008 02:16 PM

    Hi Ravi,

    Yes I also observed we cannot add Http Headers.
    But if you see references for soapClient it uses wsHTTP (in WmRoot) and this service has input for http header ‘headers’

    Although I have never tried this but if you feel its ok then you can try :
    create pipeline variable ‘headers’ with key - values inside it (same like pub.client.http) and call soapClient without dropping ‘headers’

    Let me know if this works.

    Regards,
    Sumit


    #webMethods
    #soa
    #API-Management


  • 3.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Wed August 06, 2008 10:23 PM

    Already tried that… did not work.


    #soa
    #API-Management
    #webMethods


  • 4.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Wed August 06, 2008 11:01 PM

    Sumit, How can we see references for Java services? I know we can check references for flow services.

    Since it works in 6.1 which uses httpClient with ‘headers’, I copied the package on 7.1. When I ran the service in wm7.1 it gave me an exception
    Could not run ‘AssetQueryPage’.

    com.wm.app.b2b.server.ServiceException: [ISS.0088.9155] this SOAPMessage does not contain a valid Envelope object

    Thanks,
    Ravi


    #soa
    #webMethods
    #API-Management


  • 5.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Thu August 07, 2008 02:22 PM

    Hi,

    For java service, you need to check java code :slight_smile: I know its tough in this case.

    I am not sure about the error which you are gettin,. please elaborate.

    Regards,
    Sumit


    #webMethods
    #soa
    #API-Management


  • 6.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Sun August 10, 2008 05:51 AM

    I placed a request to SoftwareAG. Hopefully they provide a solution.


    #soa
    #API-Management
    #webMethods


  • 7.  RE: WM 7.1.1 pub.client.soapClient httpHeader

    Posted Fri August 17, 2012 06:22 AM

    Hi Ravi,

    Did you find solution in it? we are facing the same issue.


    #soa
    #API-Management
    #webMethods