| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
<definitions |
| 4 |
name="name selectivefilegen test" |
| 5 |
targetNamespace="urn:services.selectivefilegen.wsdl.test" |
| 6 |
xmlns:tns="urn:services.selectivefilegen.wsdl.test" |
| 7 |
xmlns:bean1="urn:bean1.selectivefilegen.wsdl.test" |
| 8 |
xmlns:bean2="urn:bean2.selectivefilegen.wsdl.test" |
| 9 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 10 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 11 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 12 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 13 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 14 |
|
| 15 |
<!-- types |
| 16 |
Define a couple of types in different namespaces to simulate importing |
| 17 |
types from different packages. Some, we'll want to generate code for |
| 18 |
and others we'll want to use use custom-generated types. |
| 19 |
--> |
| 20 |
<wsdl:types> |
| 21 |
<xsd:schema targetNamespace="urn:bean1.selectivefilegen.wsdl.test" |
| 22 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| 23 |
<xsd:complexType name="Bean1"> |
| 24 |
<xsd:sequence> |
| 25 |
<xsd:element name="domain" type="xsd:string"/> |
| 26 |
<xsd:element name="service" type="xsd:string"/> |
| 27 |
</xsd:sequence> |
| 28 |
</xsd:complexType> |
| 29 |
</xsd:schema> |
| 30 |
<xsd:schema targetNamespace="urn:bean2.selectivefilegen.wsdl.test" |
| 31 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| 32 |
<xsd:complexType name="Bean2"> |
| 33 |
<xsd:sequence> |
| 34 |
<xsd:element name="domain" type="xsd:string"/> |
| 35 |
<xsd:element name="service" type="xsd:string"/> |
| 36 |
</xsd:sequence> |
| 37 |
</xsd:complexType> |
| 38 |
</xsd:schema> |
| 39 |
</wsdl:types> |
| 40 |
|
| 41 |
<!-- Messages |
| 42 |
--> |
| 43 |
<wsdl:message name="BeanMessage"> |
| 44 |
<wsdl:part name="b1" type="bean1:Bean1"/> |
| 45 |
<wsdl:part name="b2" type="bean2:Bean2"/> |
| 46 |
</wsdl:message> |
| 47 |
|
| 48 |
|
| 49 |
<!-- port types |
| 50 |
--> |
| 51 |
<wsdl:portType name="Reporter"> |
| 52 |
<wsdl:operation name="sendBeans"> |
| 53 |
<wsdl:input name="beanMessage" message="tns:BeanMessage"/> |
| 54 |
</wsdl:operation> |
| 55 |
</wsdl:portType> |
| 56 |
|
| 57 |
<!-- bindings |
| 58 |
--> |
| 59 |
<wsdl:binding name="ReporterSoapBinding" |
| 60 |
type="tns:Reporter"> |
| 61 |
<soap:binding style="rpc" |
| 62 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 63 |
|
| 64 |
<wsdl:operation name="sendBeans"> |
| 65 |
<soap:operation soapAction=""/> |
| 66 |
<wsdl:input name="beanMessage"> |
| 67 |
<soap:body use="literal" |
| 68 |
namespace="urn:services.selectivefilegen.wsdl.test"/> |
| 69 |
</wsdl:input> |
| 70 |
</wsdl:operation> |
| 71 |
</wsdl:binding> |
| 72 |
|
| 73 |
</definitions> |