Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3809

SOAPClient fails to send message with <xs:any> data type

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.10 CP1
    • Fix Version/s: 4.11 CP1
    • Component/s: Web Services
    • Labels:
      None

      Description

      The soapUI SOAPClient cannot map a request Map to a SOAP message template using OGNL and thus fails to send it if the message is defined with <xs:any> data type in the WSDL. An example WSDL in mind looks like this:

       ...
       <types>
        <xs:schema targetNamespace="http://www.acme.com/ws/" xmlns:tns="http://www.acme.com/ws/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="MyRequest">
          <xs:complexType>
           <xs:sequence>
            <xs:element minOccurs="0" ref="tns:myRequestDetails"/>
           </xs:sequence>
          </xs:complexType>
         </xs:element>
         <xs:element name="myRequestDetails">
          <xs:complexType>
           <xs:sequence>
            <xs:any namespace="##other" processContents="lax"/>
           </xs:sequence>
          </xs:complexType>
         </xs:element>
        </xs:schema>
       </types>
       <message name="MyWebServicePort_MyRequest">
        <part element="tns:MyRequest" name="MyRequest"/>
       </message>
       ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mageshbk Magesh Bojan
                Reporter:
                tadayosi Tadayoshi Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: