| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<definitions |
| 3 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 4 |
xmlns:s="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:s0="http://primitiveWrappers.wsdl.test/" |
| 6 |
targetNamespace="http://primitiveWrappers.wsdl.test/" |
| 7 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 8 |
<types> |
| 9 |
<s:schema targetNamespace="http://primitiveWrappers.wsdl.test/"> |
| 10 |
<s:complexType name="bean"> |
| 11 |
<s:sequence> |
| 12 |
<!-- This should remain a java int --> |
| 13 |
<s:element name="primitive" type="s:int"/> |
| 14 |
<!-- This one, since it's minOccurs="0", should turn into an Integer --> |
| 15 |
<s:element name="wrapped" type="s:int" minOccurs="0" maxOccurs="1"/> |
| 16 |
</s:sequence> |
| 17 |
</s:complexType> |
| 18 |
<s:element name="testWrapping"> |
| 19 |
<s:complexType> |
| 20 |
<s:sequence> |
| 21 |
<s:element minOccurs="0" maxOccurs="1" name="inputInteger" type="s:int" /> |
| 22 |
<s:element name="inputBean" type="s0:bean"/> |
| 23 |
</s:sequence> |
| 24 |
</s:complexType> |
| 25 |
</s:element> |
| 26 |
<s:element name="testWrappingResponse"> |
| 27 |
<s:complexType> |
| 28 |
<s:sequence> |
| 29 |
<s:element minOccurs="0" maxOccurs="1" name="return" type="s:int" /> |
| 30 |
</s:sequence> |
| 31 |
</s:complexType> |
| 32 |
</s:element> |
| 33 |
</s:schema> |
| 34 |
</types> |
| 35 |
<message name="testWrappingSoapIn"> |
| 36 |
<part name="parameters" element="s0:testWrapping" /> |
| 37 |
</message> |
| 38 |
<message name="testWrappingSoapOut"> |
| 39 |
<part name="parameters" element="s0:testWrappingResponse" /> |
| 40 |
</message> |
| 41 |
<portType name="TypeWrapper"> |
| 42 |
<operation name="testWrapping"> |
| 43 |
<input message="s0:testWrappingSoapIn" /> |
| 44 |
<output message="s0:testWrappingSoapOut" /> |
| 45 |
</operation> |
| 46 |
</portType> |
| 47 |
<binding name="TypeWrapper" type="s0:TypeWrapper"> |
| 48 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> |
| 49 |
<operation name="testWrapping"> |
| 50 |
<soap:operation style="document" /> |
| 51 |
<input> |
| 52 |
<soap:body use="literal" /> |
| 53 |
</input> |
| 54 |
<output> |
| 55 |
<soap:body use="literal" /> |
| 56 |
</output> |
| 57 |
</operation> |
| 58 |
</binding> |
| 59 |
<service name="TypeWrapper"> |
| 60 |
<port name="TypeWrapper" binding="s0:TypeWrapper"> |
| 61 |
<soap:address location="http://localhost:8080/axis/services/TypeWrapper" /> |
| 62 |
</port> |
| 63 |
</service> |
| 64 |
</definitions> |