[
https://issues.jboss.org/browse/JBESB-3809?page=com.atlassian.jira.plugin...
]
Sato Tadayoshi commented on JBESB-3809:
---------------------------------------
When the parameters are defined as other types such as xs:string, the soapUI API generates
a SOAP message template like this:
{code:xml}
<myRequestDetails>?</myRequestDetails>
{code}
But when it comes with <xs:any>, the API generates a template like the following:
{code:xml}
<myRequestDetails>
<!--You may enter ANY elements at this point-->
</myRequestDetails>
{code}
And I confirmed the current SOAPClient implementation can process only the former case.
SOAPClient fails to send message with <xs:any> data type
--------------------------------------------------------
Key: JBESB-3809
URL:
https://issues.jboss.org/browse/JBESB-3809
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.10 CP1
Reporter: Sato Tadayoshi
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:
{code:xml}
...
<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>
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira