| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" |
| 3 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 4 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:s0="urn:attributeQualify" |
| 6 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 7 |
targetNamespace="urn:attributeQualify" |
| 8 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 9 |
<documentation> |
| 10 |
This test tests the use and overriding of the "attributeFormDefault" attribute. |
| 11 |
</documentation> |
| 12 |
<types> |
| 13 |
<xsd:schema attributeFormDefault="qualified" targetNamespace="urn:attributeQualify"> |
| 14 |
|
| 15 |
<xsd:complexType name="phone"> |
| 16 |
<xsd:all> |
| 17 |
<xsd:element name="areaCode" type="xsd:int"/> |
| 18 |
<xsd:element name="exchange" type="xsd:string"/> |
| 19 |
<xsd:element name="number" type="xsd:string"/> |
| 20 |
</xsd:all> |
| 21 |
<!-- These attributes should be qualified --> |
| 22 |
<xsd:attribute name="color" type="xsd:string"/> |
| 23 |
<xsd:attribute name="hair" type="xsd:string" form="qualified"/> |
| 24 |
<!-- This attribute should not --> |
| 25 |
<xsd:attribute name="age" type="xsd:int" form="unqualified"/> |
| 26 |
</xsd:complexType> |
| 27 |
|
| 28 |
<xsd:element name="phone" type="s0:phone"/> |
| 29 |
</xsd:schema> |
| 30 |
</types> |
| 31 |
|
| 32 |
<message name="echoPhoneIn"> |
| 33 |
<part name="in" element="s0:phone" /> |
| 34 |
</message> |
| 35 |
<message name="echoPhoneOut"> |
| 36 |
<part name="out" element="s0:phone" /> |
| 37 |
</message> |
| 38 |
|
| 39 |
<portType name="AttributeQualify"> |
| 40 |
<operation name="echoPhone"> |
| 41 |
<input message="s0:echoPhoneIn" /> |
| 42 |
<output message="s0:echoPhoneOut" /> |
| 43 |
</operation> |
| 44 |
|
| 45 |
</portType> |
| 46 |
|
| 47 |
|
| 48 |
<binding name="AttributeQualify" type="s0:AttributeQualify"> |
| 49 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> |
| 50 |
<operation name="echoPhone"> |
| 51 |
<soap:operation soapAction="" style="document" /> |
| 52 |
<input> |
| 53 |
<soap:body use="literal" /> |
| 54 |
</input> |
| 55 |
<output> |
| 56 |
<soap:body use="literal" /> |
| 57 |
</output> |
| 58 |
</operation> |
| 59 |
</binding> |
| 60 |
|
| 61 |
<service name="AttributeQualify"> |
| 62 |
<port name="AttributeQualify" binding="s0:AttributeQualify"> |
| 63 |
<soap:address location="http://localhost:8080/axis/services/AttributeQualify" /> |
| 64 |
</port> |
| 65 |
</service> |
| 66 |
</definitions> |