| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<wsdl:definitions |
| 3 |
xmlns:tns="http://helloworld.ch/schema/service" |
| 4 |
xmlns:types="http://helloworld.ch/schema/types" |
| 5 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 6 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 7 |
targetNamespace="http://helloworld.ch/schema/service" |
| 8 |
name="SalaryDeclarationService"> |
| 9 |
|
| 10 |
<wsdl:types> |
| 11 |
<xs:schema |
| 12 |
targetNamespace="http://helloworld.ch/schema/types" |
| 13 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 14 |
elementFormDefault="qualified" attributeFormDefault="unqualified"> |
| 15 |
<xs:include schemaLocation="./helloworld.xsd"/> |
| 16 |
</xs:schema> |
| 17 |
</wsdl:types> |
| 18 |
|
| 19 |
<wsdl:message name="HelloWorldRequest"> |
| 20 |
<wsdl:part name="body" element="types:MyRequest"/> |
| 21 |
</wsdl:message> |
| 22 |
<wsdl:message name="HelloWorldResponse"> |
| 23 |
<wsdl:part name="body" element="types:MyResponse"/> |
| 24 |
</wsdl:message> |
| 25 |
|
| 26 |
<wsdl:portType name="MyPort"> |
| 27 |
<wsdl:operation name="HelloWorld"> |
| 28 |
<wsdl:input message="tns:HelloWorldRequest"/> |
| 29 |
<wsdl:output message="tns:HelloWorldResponse"/> |
| 30 |
</wsdl:operation> |
| 31 |
</wsdl:portType> |
| 32 |
|
| 33 |
<wsdl:binding name="MySOAPBinding" type="tns:MyPort"> |
| 34 |
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 35 |
<wsdl:operation name="HelloWorld"> |
| 36 |
<soap:operation style="document"/> |
| 37 |
<wsdl:input> |
| 38 |
<soap:body use="literal"/> |
| 39 |
</wsdl:input> |
| 40 |
<wsdl:output> |
| 41 |
<soap:body use="literal"/> |
| 42 |
</wsdl:output> |
| 43 |
</wsdl:operation> |
| 44 |
</wsdl:binding> |
| 45 |
|
| 46 |
<wsdl:service name="MyService"> |
| 47 |
<wsdl:port name="HelloWorld" binding="tns:MySOAPBinding"> |
| 48 |
<soap:address location="http://localhost:8080/axis/services/HelloWorld"/> |
| 49 |
</wsdl:port> |
| 50 |
</wsdl:service> |
| 51 |
</wsdl:definitions> |