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

Problem return a part of the SOAP response

  • 1.  Problem return a part of the SOAP response

    Posted Thu February 11, 2021 07:17 AM

    Hi
    I am making a SOAP consumer, and the WSDL contains an “ANY” element.

    <s:element maxOccurs="unbounded" minOccurs="0" name="ITEM" nillable="true">
    <s:complexType>
    <s:sequence>
    <s:element ref="s:schema"/>
    <s:any/>
    </s:sequence>
    </s:complexType>
    </s:element>
    

    How can I map this “ANY” element with a “Document Ref”.


    #webMethods


  • 2.  RE: Problem return a part of the SOAP response

    Posted Thu February 11, 2021 09:03 AM

    We do not yet have full support for WS with *any document types. What you can do is Instead of just passing required document to *any, Form the complete canonical document structure with *any and then map the document to it’s parent Document. I do not see the complete WSDL Document structure in your request but I guess you will have *any in tns:GetTirlItembByNiin/*any. If that’s the case, form the Canonical Document tns:GetTirlItembByNiin with the fields niin, token, DocumentForAny and then map tns:GetTirlItembByNiin to WS Connector’s tns:GetTirItemByNiin.


    #webMethods