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.  xmlns in soap envelope

    Posted Wed May 14, 2014 04:26 PM

    Hi folks, I am trying to post a message to a client via SOAP.
    They need a namespace in the envelope as seen below and I cannot see how to get it there.

    I am using createSoapData
    Then addHeaderEntery
    then addBodyEntry
    then soapHTTP to send the data.
    The client said the data is arriving correctly but is missing the xmlns that they need.

    I can’t see in any of the SOAP flows how to add the xmlns.

    below is a snippet of the data they expect to see.

    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:urn=“urn:us.client.com:partner:PurchaseOrderData”>
    soapenv:Header
    <wsse:Security xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>

    soapenv:Body

     <urn:PurchaseOrderMessage version="2.5">
    
    378a83a2-9828-4e6d-8603-0145d6de714c 2014-05-07T09:27:53.422-04:00 client export_test .....
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: xmlns in soap envelope

    Posted Wed May 14, 2014 07:07 PM

    How is your connector related doc types defined with out xmlns: in the structure?

    Also you can create xmlns normally in the documentToXMLString as well in the nsDecls param for the xmlstring generation.

    HTH,.
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: xmlns in soap envelope

    Posted Thu May 15, 2014 04:17 AM

    Yes… as RMG suggested please have a look at BIS guide and look for xml services.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: xmlns in soap envelope

    Posted Thu May 15, 2014 01:39 PM

    good point about the original doc type not definning the xmlns, I’ll follow up with the partner.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services