|
Revision 1511, 1.6 kB
(checked in by nahi, 4 years ago)
|
wrong WSDL definition. wsdl4r now detects this failure.
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="utf-8"?> |
|---|
| 2 |
<definitions |
|---|
| 3 |
name="foo" |
|---|
| 4 |
targetNamespace="urn:foo" |
|---|
| 5 |
xmlns:tns="urn:foo" |
|---|
| 6 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 7 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
|---|
| 8 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
|---|
| 9 |
<types> |
|---|
| 10 |
<xsd:schema elementFormDefault="unqualified" targetNamespace="urn:foo"> |
|---|
| 11 |
<xsd:element name="get_foo"> |
|---|
| 12 |
<xsd:complexType> |
|---|
| 13 |
<xsd:sequence> |
|---|
| 14 |
<xsd:element minOccurs="0" maxOccurs="1" name="number" type="xsd:string" /> |
|---|
| 15 |
</xsd:sequence> |
|---|
| 16 |
</xsd:complexType> |
|---|
| 17 |
</xsd:element> |
|---|
| 18 |
</xsd:schema> |
|---|
| 19 |
</types> |
|---|
| 20 |
|
|---|
| 21 |
<message name="get_foo_in"> |
|---|
| 22 |
<part name="parameters" element="tns:get_foo" /> |
|---|
| 23 |
</message> |
|---|
| 24 |
<message name="get_foo_out"> |
|---|
| 25 |
<part name="parameters" type="xsd:string" /> |
|---|
| 26 |
</message> |
|---|
| 27 |
|
|---|
| 28 |
<portType name="foo_porttype"> |
|---|
| 29 |
<operation name="get_foo"> |
|---|
| 30 |
<input message="tns:get_foo_in" /> |
|---|
| 31 |
<output message="tns:get_foo_out" /> |
|---|
| 32 |
</operation> |
|---|
| 33 |
</portType> |
|---|
| 34 |
|
|---|
| 35 |
<binding name="foo_binding" type="tns:foo_porttype"> |
|---|
| 36 |
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" |
|---|
| 37 |
style="document" /> |
|---|
| 38 |
<operation name="get_foo"> |
|---|
| 39 |
<soap:operation soapAction="urn:foo:get_foo" style="document" /> |
|---|
| 40 |
<input> |
|---|
| 41 |
<soap:body use="literal" /> |
|---|
| 42 |
</input> |
|---|
| 43 |
<output> |
|---|
| 44 |
<soap:body use="literal" /> |
|---|
| 45 |
</output> |
|---|
| 46 |
</operation> |
|---|
| 47 |
</binding> |
|---|
| 48 |
|
|---|
| 49 |
<service name="foo_service"> |
|---|
| 50 |
<port name="foo_service_port" binding="tns:foo_binding"> |
|---|
| 51 |
<soap:address location="http://localhost:17171/" /> |
|---|
| 52 |
</port> |
|---|
| 53 |
</service> |
|---|
| 54 |
</definitions> |
|---|