<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:myproject" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="urn:myproject" name="myproject"> <!-- WSDL generated by XINS 2.0-rc2-dev on 2007.06.14 14:22:25.558. --> <types> <xsd:schema targetNamespace="urn:myproject"> <xsd:element name="MyFunctionRequest"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="1" type="tns:GenderType" name="gender"> <xsd:annotation> <xsd:documentation>The gender of the person.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element minOccurs="1" type="tns:LastNameType" name="personLastName"> <xsd:annotation> <xsd:documentation>The last name of the person.</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="MyFunctionResponse"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="1" type="xsd:string" name="message"> <xsd:annotation> <xsd:documentation>The message returned to this person.</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element nillable="true" name="NoVowelFault"/> <xsd:simpleType name="GenderType"> <xsd:annotation> <xsd:documentation>A gender.</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="m"/> <xsd:enumeration value="f"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LastNameType"> <xsd:annotation> <xsd:documentation>Last name of a person.</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Za-z ]{1,50}"/> </xsd:restriction> </xsd:simpleType> </xsd:schema> </types> <message name="MyFunctionInput"> <part element="tns:MyFunctionRequest" name="parameters"/> </message> <message name="MyFunctionOutput"> <part element="tns:MyFunctionResponse" name="parameters"/> </message> <message name="NoVowelFaultMessage"> <part element="tns:NoVowelFault" name="fault"/> </message> <portType name="myprojectPortType"> <operation name="MyFunction"> <documentation>A simple function that return a "hello" message to the person.</documentation> <input message="tns:MyFunctionInput"/> <output message="tns:MyFunctionOutput"/> <fault message="tns:NoVowelFaultMessage" name="NoVowel"> <documentation>The name does not contain any vowels.</documentation> </fault> </operation> </portType> <binding type="tns:myprojectPortType" name="myprojectSOAPBinding"> <documentation>My first XINS project.</documentation> <operation name="MyFunction"> <documentation>A simple function that return a "hello" message to the person.</documentation> <input> <soapbind:body use="literal"/> </input> <output> <soapbind:body use="literal"/> </output> <fault name="NoVowel"> <documentation>The name does not contain any vowels.</documentation> <soapbind:body use="literal"/> </fault> </operation> <soapbind:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> </binding> <service name="myprojectService"> <port binding="tns:myprojectSOAPBinding" name="myprojectPort"> <soapbind:address location="http://xins.users.mcs2.netarray.com/myproject/xins/?_convention=_xins-soap"/> </port> </service> </definitions>