blob: d08f33cff7476c52915b8aeb47d5bacb5746a343 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
<wsdl:definitions name="wsdl-first"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tns="http://servicemix.apache.org/samples/wsdl-first"
xmlns:typens="http://servicemix.apache.org/samples/wsdl-first/types"
targetNamespace="http://servicemix.apache.org/samples/wsdl-first">
<wsdl:types>
<xsd:schema targetNamespace="http://servicemix.apache.org/samples/wsdl-first/types"
elementFormDefault="qualified">
<xsd:element name="GetPerson">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="personId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GetPersonResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="personId" type="xsd:string"/>
<xsd:element name="ssn" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="UnknownPersonFault">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="personId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="GetPersonRequest">
<wsdl:part name="payload" element="typens:GetPerson"/>
</wsdl:message>
<wsdl:message name="GetPersonResponse">
<wsdl:part name="payload" element="typens:GetPersonResponse"/>
</wsdl:message>
<wsdl:message name="UnknownPersonFault">
<wsdl:part name="payload" element="typens:UnknownPersonFault"/>
</wsdl:message>
<wsdl:portType name="Person">
<wsdl:operation name="GetPerson">
<wsdl:input message="tns:GetPersonRequest"/>
<wsdl:output message="tns:GetPersonResponse"/>
<wsdl:fault name="UnknownPerson" message="tns:UnknownPersonFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PersonSOAPBinding" type="tns:Person">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetPerson">
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="UnknownPerson">
<soap:fault use="literal" name="UnknownPerson" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PersonService">
<wsdl:port binding="tns:PersonSOAPBinding" name="soap">
<soap:address location="http://localhost:8192/PersonService/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>