[esb-issues] [JBoss JIRA] (JBESB-3809) SOAPClient fails to send message with <xs:any> data type
Sato Tadayoshi (JIRA)
jira-events at lists.jboss.org
Tue May 29 06:40:18 EDT 2012
[ https://issues.jboss.org/browse/JBESB-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sato Tadayoshi updated JBESB-3809:
----------------------------------
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:
{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}
was:
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 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}
Forum Reference: https://community.jboss.org/thread/162588 (was: https://community.jboss.org/thread/162588)
> 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
More information about the esb-issues
mailing list