[
http://jira.jboss.com/jira/browse/JBWS-1724?page=comments#action_12367641 ]
Thomas Diesler commented on JBWS-1724:
--------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<definitions name='JBWS771Service'
targetNamespace='http://jbws771.jaxws.ws.test.jboss.org/'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://jbws771.jaxws.ws.test.jboss.org/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<xs:schema
targetNamespace='http://jbws771.jaxws.ws.test.jboss.org/'
version='1.0'
xmlns:tns='http://jbws771.jaxws.ws.test.jboss.org/'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:element name='bar' nillable='true'
type='xs:string'/>
<xs:element name='cancel' type='tns:cancel'/>
<xs:element name='cancelResponse' type='tns:cancelResponse'/>
<!--
<xs:element name='submit' type='tns:submit'/>
<xs:element name='submitResponse' type='tns:submitResponse'/>
<xs:complexType name='submit'>
<xs:sequence>
<xs:element minOccurs='0' name='foo'
type='xs:string'/>
</xs:sequence>
</xs:complexType>
<xs:complexType name='submitResponse'>
<xs:sequence>
<xs:element minOccurs='0' name='return'
type='xs:string'/>
</xs:sequence>
</xs:complexType>
-->
<xs:complexType name='cancel'>
<xs:sequence>
<xs:element minOccurs='0' name='foo'
type='xs:string'/>
</xs:sequence>
</xs:complexType>
<xs:complexType name='cancelResponse'>
<xs:sequence>
<xs:element minOccurs='0' name='return'
type='xs:string'/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name='IWebsvc_cancel'>
<part element='tns:cancel' name='parameters'/>
<part element='tns:bar' name='bar'/>
</message>
<message name='IWebsvc_cancelResponse'>
<part element='tns:cancelResponse' name='parametersxx'/>
</message>
<!--
<message name='IWebsvc_submit'>
<part element='tns:submit' name='parameters'/>
</message>
<message name='IWebsvc_submitResponse'>
<part element='tns:submitResponse' name='parameters'/>
</message>
-->
<portType name='IWebsvc'>
<operation name='cancel' parameterOrder='parameters bar'>
<input message='tns:IWebsvc_cancel'/>
<output message='tns:IWebsvc_cancelResponse'/>
</operation>
<!--
<operation name='submit' parameterOrder='parameters'>
<input message='tns:IWebsvc_submit'/>
<output message='tns:IWebsvc_submitResponse'/>
</operation>
-->
</portType>
<binding name='IWebsvcBinding' type='tns:IWebsvc'>
<soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='cancel'>
<soap:operation soapAction=''/>
<input>
<soap:body parts='parameters' use='literal'/>
<soap:header message='tns:IWebsvc_cancel' part='bar'
use='literal'/>
</input>
<output>
<soap:body use='literal'/>
</output>
</operation>
<!--
<operation name='submit'>
<soap:operation soapAction=''/>
<input>
<soap:body use='literal'/>
</input>
<output>
<soap:body use='literal'/>
</output>
</operation>
-->
</binding>
<service name='JBWS771Service'>
<port binding='tns:IWebsvcBinding' name='IWebsvcImplPort'>
<soap:address location='REPLACE_WITH_ACTUAL_URL'/>
</port>
</service>
</definitions>
wsconsume cannot use part names that are friendly to .NET
---------------------------------------------------------
Key: JBWS-1724
URL:
http://jira.jboss.com/jira/browse/JBWS-1724
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Components: jbossws-jaxws
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.0
Attachments: JBWS771Service.wsdl
To improve .NET interoperability we should use the same hint it uses to differentiate
between a wrapped and bare document/literal message.
To indicate wrapped, the part names for both the input and output messages should be
"parameters". Otherwise they should be the localname of the schema element.
-Jason
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira