Author: heiko.braun(a)jboss.com
Date: 2006-11-09 08:32:51 -0500 (Thu, 09 Nov 2006)
New Revision: 1415
Added:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/OrderMgmtService.wsdl
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/ProfileMgmtService.wsdl
Log:
JBW samples
Added: trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/OrderMgmtService.wsdl
===================================================================
---
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/OrderMgmtService.wsdl 2006-11-09
13:32:13 UTC (rev 1414)
+++
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/OrderMgmtService.wsdl 2006-11-09
13:32:51 UTC (rev 1415)
@@ -0,0 +1,65 @@
+<definitions name="OrderMgmtService"
targetNamespace="http://org.jboss.ws/samples/retail"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://org.jboss.ws/samples/retail"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <types>
+ <xs:schema targetNamespace="http://org.jboss.ws/samples/retail"
version="1.0" xmlns:tns="http://org.jboss.ws/samples/retail"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="prepareOrder" nillable="true"
type="tns:order"/>
+ <xs:element name="prepareOrderResponse" nillable="true"
type="tns:orderStatus"/>
+ <xs:complexType name="order">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="customer"
type="tns:customer"/>
+ <xs:element name="orderNum" type="xs:long"/>
+ <xs:element minOccurs="0" name="state"
type="tns:orderState"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="customer">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="creditCardDetails"
type="xs:string"/>
+ <xs:element minOccurs="0" name="firstName"
type="xs:string"/>
+ <xs:element minOccurs="0" name="lastName"
type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="orderStatus">
+ <xs:sequence>
+ <xs:element name="orderNum" type="xs:long"/>
+ <xs:element minOccurs="0" name="status"
type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:simpleType name="orderState">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="PROCESSED"/>
+ <xs:enumeration value="VERIFIED"/>
+ <xs:enumeration value="PREPARED"/>
+ <xs:enumeration value="TRANSIENT"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:schema>
+ </types>
+ <message name="OrderMgmt_prepareOrderResponse">
+ <part element="tns:prepareOrderResponse"
name="prepareOrderResponse"/>
+ </message>
+ <message name="OrderMgmt_prepareOrder">
+ <part element="tns:prepareOrder" name="prepareOrder"/>
+ </message>
+ <portType name="OrderMgmt">
+ <operation name="prepareOrder"
parameterOrder="prepareOrder">
+ <input message="tns:OrderMgmt_prepareOrder"/>
+ <output message="tns:OrderMgmt_prepareOrderResponse"/>
+ </operation>
+ </portType>
+ <binding name="OrderMgmtBinding" type="tns:OrderMgmt">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="prepareOrder">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="OrderMgmtService">
+ <port binding="tns:OrderMgmtBinding" name="OrderMgmtPort">
+ <soap:address
location="http://D1XC662J:8080/jaxws-samples-retail/OrderMgmtBean"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/OrderMgmtService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/ProfileMgmtService.wsdl
===================================================================
---
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/ProfileMgmtService.wsdl 2006-11-09
13:32:13 UTC (rev 1414)
+++
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/ProfileMgmtService.wsdl 2006-11-09
13:32:51 UTC (rev 1415)
@@ -0,0 +1,64 @@
+<definitions name='ProfileMgmtService'
targetNamespace='http://org.jboss.ws/samples/retail/profile'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:ns1='http://org.jboss.ws/samples/retail'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://org.jboss.ws/samples/retail/profile'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <xs:schema targetNamespace='http://org.jboss.ws/samples/retail/profile'
version='1.0' xmlns:ns1='http://org.jboss.ws/samples/retail'
xmlns:tns='http://org.jboss.ws/samples/retail/profile'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:import namespace='http://org.jboss.ws/samples/retail'/>
+ <xs:element name='getCustomerDiscount' nillable='true'
type='tns:discountRequest'/>
+ <xs:element name='getCustomerDiscountResponse' nillable='true'
type='tns:discountResponse'/>
+ <xs:complexType name='discountRequest'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='customer'
type='ns1:customer'/>
+
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='discountResponse'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='customer'
type='ns1:customer'/>
+ <xs:element name='discount' type='xs:double'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+
+ <xs:schema targetNamespace='http://org.jboss.ws/samples/retail'
version='1.0'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:complexType name='customer'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='creditCardDetails'
type='xs:string'/>
+ <xs:element minOccurs='0' name='firstName'
type='xs:string'/>
+ <xs:element minOccurs='0' name='lastName'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+
+ </types>
+ <message name='ProfileMgmt_getCustomerDiscount'>
+ <part element='tns:getCustomerDiscount'
name='getCustomerDiscount'/>
+ </message>
+ <message name='ProfileMgmt_getCustomerDiscountResponse'>
+ <part element='tns:getCustomerDiscountResponse'
name='getCustomerDiscountResponse'/>
+ </message>
+ <portType name='ProfileMgmt'>
+ <operation name='getCustomerDiscount'
parameterOrder='getCustomerDiscount'>
+
+ <input message='tns:ProfileMgmt_getCustomerDiscount'/>
+ <output message='tns:ProfileMgmt_getCustomerDiscountResponse'/>
+ </operation>
+ </portType>
+ <binding name='ProfileMgmtBinding' type='tns:ProfileMgmt'>
+ <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='getCustomerDiscount'>
+ <soap:operation soapAction=''/>
+ <input>
+
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='ProfileMgmtService'>
+ <port binding='tns:ProfileMgmtBinding' name='ProfileMgmtPort'>
+
+ <soap:address
location='http://D1XC662J:8080/jaxws-samples-retail/ProfileMgmtBean'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/ProfileMgmtService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF