ws/persons.wsdl
2019-05-19 16:58:17 +02:00

66 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://www.manalejandro.com/person" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.manalejandro.com/person" targetNamespace="http://www.manalejandro.com/person">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.manalejandro.com/person">
<xs:element name="getPersonRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getPersonResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Person" type="tns:Person"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="Person">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="telephone" type="xs:int"/>
<xs:element name="address" type="xs:string"/>
<xs:element name="birthday" type="xs:date"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="getPersonRequest">
<wsdl:part element="tns:getPersonRequest" name="getPersonRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getPersonResponse">
<wsdl:part element="tns:getPersonResponse" name="getPersonResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="PersonsPort">
<wsdl:operation name="getPerson">
<wsdl:input message="tns:getPersonRequest" name="getPersonRequest">
</wsdl:input>
<wsdl:output message="tns:getPersonResponse" name="getPersonResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PersonsPortSoap11" type="tns:PersonsPort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getPerson">
<soap:operation soapAction=""/>
<wsdl:input name="getPersonRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getPersonResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PersonsPortService">
<wsdl:port binding="tns:PersonsPortSoap11" name="PersonsPortSoap11">
<soap:address location="http://localhost:8080/ws"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>