diff options
Diffstat (limited to 'branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl')
-rw-r--r-- | branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl | 234 |
1 files changed, 150 insertions, 84 deletions
diff --git a/branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl b/branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl index c76ed7b338..35dfe95359 100644 --- a/branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl +++ b/branches/sca-java-1.x/itest/wsdlgen/src/main/resources/wsdl/helloworld.wsdl @@ -15,83 +15,121 @@ governing permissions and limitations * under the License. --> <wsdl:definitions name="HelloWorldServiceService" - targetNamespace="http://helloworld/" - xmlns:tns="http://helloworld/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/"> + targetNamespace="http://helloworld/" xmlns:tns="http://helloworld/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP11="http://schemas.xmlsoap.org/wsdl/soap/"> <wsdl:types> - <xs:schema targetNamespace="http://test" version="1.0" - xmlns:tns="http://test" xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="aBean"> + <xs:schema targetNamespace="http://helloworld/" + version="1.0" xmlns:ns1="http://test" xmlns:tns="http://helloworld/" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import namespace="http://test" /> + + <xs:element name="getGreetings" type="tns:getGreetings" /> + <xs:element name="getGreetingsBBean" type="tns:getGreetingsBBean" /> + <xs:element name="getGreetingsBBeanResponse" + type="tns:getGreetingsBBeanResponse" /> + <xs:element name="getGreetingsBean" type="tns:getGreetingsBean" /> + <xs:element name="getGreetingsBeanArray" type="tns:getGreetingsBeanArray" /> + <xs:element name="getGreetingsBeanArrayResponse" + type="tns:getGreetingsBeanArrayResponse" /> + <xs:element name="getGreetingsBeanResponse" type="tns:getGreetingsBeanResponse" /> + <xs:element name="getGreetingsCBean" type="tns:getGreetingsCBean" /> + <xs:element name="getGreetingsCBeanResponse" + type="tns:getGreetingsCBeanResponse" /> + + <xs:element name="getGreetingsResponse" type="tns:getGreetingsResponse" /> + <xs:complexType name="getGreetingsBBeanResponse"> <xs:sequence> - <xs:element minOccurs="0" name="field1" + <xs:element minOccurs="0" name="return" type="xs:string" /> - <xs:element minOccurs="0" name="field2" + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsCBeanResponse"> + <xs:sequence> + <xs:element minOccurs="0" name="return" + type="xs:string" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsBeanArrayResponse"> + <xs:sequence> + <xs:element minOccurs="0" name="return" + type="xs:string" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsResponse"> + <xs:sequence> + <xs:element minOccurs="0" name="return" + type="xs:string" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetings"> + <xs:sequence> + <xs:element minOccurs="0" name="arg0" type="xs:string" /> </xs:sequence> </xs:complexType> - <xs:complexType final="#all" name="aBeanArray"> + <xs:complexType name="getGreetingsBeanResponse"> + <xs:sequence> + <xs:element minOccurs="0" name="return" + type="xs:string" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsBean"> + <xs:sequence> + <xs:element minOccurs="0" name="arg0" + type="ns1:aBean" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsCBean"> + <xs:sequence> + <xs:element minOccurs="0" name="arg0"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" + name="field1" type="xs:string" /> + <xs:element minOccurs="0" + name="field2" type="xs:string" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsBBean"> + <xs:sequence> + <xs:element minOccurs="0" name="arg0" + type="tns:bBean" /> + </xs:sequence> + </xs:complexType> + <xs:complexType name="getGreetingsBeanArray"> <xs:sequence> <xs:element maxOccurs="unbounded" - minOccurs="0" name="item" nillable="true" type="tns:aBean" /> + minOccurs="0" name="arg0" nillable="true" type="ns1:aBean" /> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="bBean"> + <xs:sequence> + <xs:element minOccurs="0" name="field1" + type="xs:string" /> + <xs:element minOccurs="0" name="field2" + type="xs:string" /> </xs:sequence> </xs:complexType> </xs:schema> - <xs:schema attributeFormDefault="qualified" - elementFormDefault="unqualified" targetNamespace="http://helloworld/" - xmlns:ns0="http://test" xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:import namespace="http://test" /> - <xs:element name="getGreetingsBean"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="arg0" - nillable="true" type="ns0:aBean" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetings"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="arg0" - nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" - nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsBeanResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" - nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsBeanArrayResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" - nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGreetingsBeanArray"> - <xs:complexType> - <xs:sequence> - <xs:element maxOccurs="unbounded" - minOccurs="0" name="arg0" nillable="true" - type="ns0:aBean" /> - </xs:sequence> - </xs:complexType> - </xs:element> + <xs:schema targetNamespace="http://test" version="1.0" + xmlns:__nnns="http://helloworld/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:import namespace="http://helloworld/" /> + + <xs:complexType name="aBean"> + <xs:sequence> + <xs:element minOccurs="0" name="field1" + type="xs:string" /> + <xs:element minOccurs="0" name="field2" + type="xs:string" /> + <xs:element minOccurs="0" name="field3" + type="__nnns:bBean" /> + </xs:sequence> + </xs:complexType> </xs:schema> </wsdl:types> <wsdl:message name="getGreetingsBean"> @@ -101,12 +139,27 @@ <wsdl:message name="getGreetings"> <wsdl:part name="getGreetings" element="tns:getGreetings"> </wsdl:part> + + </wsdl:message> + <wsdl:message name="getGreetingsCBean"> + <wsdl:part name="getGreetingsCBean" element="tns:getGreetingsCBean"> + </wsdl:part> + </wsdl:message> + <wsdl:message name="getGreetingsCBeanResponse"> + <wsdl:part name="getGreetingsCBeanResponse" element="tns:getGreetingsCBeanResponse"> + </wsdl:part> + </wsdl:message> + + <wsdl:message name="getGreetingsBBean"> + <wsdl:part name="getGreetingsBBean" element="tns:getGreetingsBBean"> + </wsdl:part> </wsdl:message> <wsdl:message name="getGreetingsResponse"> <wsdl:part name="getGreetingsResponse" element="tns:getGreetingsResponse"> </wsdl:part> </wsdl:message> <wsdl:message name="getGreetingsBeanResponse"> + <wsdl:part name="getGreetingsBeanResponse" element="tns:getGreetingsBeanResponse"> </wsdl:part> </wsdl:message> @@ -115,6 +168,11 @@ element="tns:getGreetingsBeanArrayResponse"> </wsdl:part> </wsdl:message> + <wsdl:message name="getGreetingsBBeanResponse"> + <wsdl:part name="getGreetingsBBeanResponse" element="tns:getGreetingsBBeanResponse"> + + </wsdl:part> + </wsdl:message> <wsdl:message name="getGreetingsBeanArray"> <wsdl:part name="getGreetingsBeanArray" element="tns:getGreetingsBeanArray"> </wsdl:part> @@ -122,6 +180,7 @@ <wsdl:portType name="HelloWorldService"> <wsdl:operation name="getGreetings"> <wsdl:input message="tns:getGreetings"> + </wsdl:input> <wsdl:output message="tns:getGreetingsResponse"> </wsdl:output> @@ -131,6 +190,7 @@ </wsdl:input> <wsdl:output message="tns:getGreetingsBeanResponse"> </wsdl:output> + </wsdl:operation> <wsdl:operation name="getGreetingsBeanArray"> <wsdl:input message="tns:getGreetingsBeanArray"> @@ -138,64 +198,70 @@ <wsdl:output message="tns:getGreetingsBeanArrayResponse"> </wsdl:output> </wsdl:operation> + <wsdl:operation name="getGreetingsBBean"> + <wsdl:input message="tns:getGreetingsBBean"> + + </wsdl:input> + <wsdl:output message="tns:getGreetingsBBeanResponse"> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getGreetingsCBean"> + <wsdl:input message="tns:getGreetingsCBean"> + </wsdl:input> + <wsdl:output message="tns:getGreetingsCBeanResponse"> + </wsdl:output> + + </wsdl:operation> </wsdl:portType> <wsdl:binding name="HelloWorldJmsBinding" type="tns:HelloWorldService"> <SOAP:binding style="document" - transport="http://schemas.xmlsoap.org/soap/jms" /> + transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="getGreetings"> - <SOAP:operation soapAction="urn:getGreetings" /> + <SOAP:operation /> <wsdl:input> <SOAP:body use="literal" /> </wsdl:input> + <wsdl:output> <SOAP:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="getGreetingsBean"> - <SOAP:operation soapAction="urn:getGreetingsBean" /> + <SOAP:operation /> <wsdl:input> <SOAP:body use="literal" /> </wsdl:input> + <wsdl:output> <SOAP:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="getGreetingsBeanArray"> - <SOAP:operation soapAction="urn:getGreetingsBeanArray" /> - <wsdl:input> - <SOAP:body use="literal" /> - </wsdl:input> - <wsdl:output> - <SOAP:body use="literal" /> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="HelloWorldWSBinding" type="tns:HelloWorldService"> - <SOAP:binding style="document" - transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="getGreetings"> <SOAP:operation /> <wsdl:input> <SOAP:body use="literal" /> </wsdl:input> + <wsdl:output> <SOAP:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="getGreetingsBean"> + <wsdl:operation name="getGreetingsBBean"> <SOAP:operation /> <wsdl:input> <SOAP:body use="literal" /> </wsdl:input> + <wsdl:output> <SOAP:body use="literal" /> </wsdl:output> </wsdl:operation> - <wsdl:operation name="getGreetingsBeanArray"> + <wsdl:operation name="getGreetingsCBean"> <SOAP:operation /> <wsdl:input> <SOAP:body use="literal" /> </wsdl:input> + <wsdl:output> <SOAP:body use="literal" /> </wsdl:output> |