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
Expand all | Collapse all

How to generate SOAP request without Header element

  • 1.  How to generate SOAP request without Header element

    Posted Tue October 06, 2009 04:19 PM

    It looks like server I have to call is buggy and I noticed, if I remove empty SOAP Header from request it works fine - othervise fails.
    How to generate soapRequest without Header?

    Example:
    This works fine:
    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:fus=“http://localhost/FusionBOWS/FusionBOWS.xsd”>
    soapenv:Body
    fus:Query

    </fus:Query>
    </soapenv:Body>
    </soapenv:Envelope>

    This not:
    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:fus=“http://localhost/FusionBOWS/FusionBOWS.xsd”>
    soapenv:Header/
    soapenv:Body
    fus:Query

    </fus:Query>
    </soapenv:Body>
    </soapenv:Envelope>

    (I use webMethods IS to call Frontrange service)


    #API-Management
    #soa
    #webMethods


  • 2.  RE: How to generate SOAP request without Header element

    Posted Thu October 08, 2009 03:22 PM

    Solved.
    I had to manualy pepare SOAP request and use pub.client.http service.
    Works fine.

    Regards


    #webMethods
    #API-Management
    #soa