1<?xml version="1.0" encoding="UTF-8"?> 2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 3 xmlns:tns="urn:Formation" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 4 xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Formation" 5 targetNamespace="urn:Formation"> 6 <wsdl:types> 7 <xsd:schema targetNamespace="urn:Formation"> 8 <xsd:element name="echo"> 9 <xsd:complexType> 10 <xsd:sequence> 10 <xsd:element name="in" type="tns:EchoBean"></xsd:element> 11 </xsd:sequence> 12 </xsd:complexType> 13 </xsd:element> 14 <xsd:element name="echoResponse"> 15 <xsd:complexType> 16 <xsd:sequence> 17 <xsd:element name="out" type="tns:EchoBean"></xsd:element> 18 </xsd:sequence> 19 </xsd:complexType> 20 </xsd:element> 21 <xsd:simpleType name="Product1Type"> 22 <xsd:restriction base="xsd:string"> 23 <xsd:enumeration value="REV"></xsd:enumeration> 24 <xsd:enumeration value="CLA"></xsd:enumeration> 25 </xsd:restriction> 26 </xsd:simpleType> 27 28 <xsd:complexType name="EchoBean"> 29 <xsd:sequence> 30 <xsd:element name="mandatoryElement" 31 type="tns:Product1Type"> 32 </xsd:element> 33 <xsd:element name="optionalElement" 34 type="tns:Product1Type" maxOccurs="1" minOccurs="0"> 35 </xsd:element> 36 </xsd:sequence> 37 </xsd:complexType> 38 </xsd:schema> 39 </wsdl:types> 40 <wsdl:message name="echoRequest"> 41 <wsdl:part name="parameters" element="tns:echo"></wsdl:part> 42 </wsdl:message> 43 <wsdl:message name="echoResponse"> 44 <wsdl:part name="parameters" element="tns:echoResponse"></wsdl:part> 45 </wsdl:message> 46 <wsdl:portType name="Formation"> 47 <wsdl:operation name="echo"> 48 <wsdl:input message="tns:echoRequest"></wsdl:input> 49 <wsdl:output message="tns:echoResponse"></wsdl:output> 50 </wsdl:operation> 51 </wsdl:portType> 52 <wsdl:binding name="FormationServiceV1" type="tns:Formation"> 52 <soap:binding style="document" 52 transport="http://schemas.xmlsoap.org/soap/http" /> 52 <wsdl:operation name="echo"> 53 <soap:operation soapAction="urn:Formation/echo" /> 54 <wsdl:input> 55 <soap:body use="literal" /> 56 </wsdl:input> 57 <wsdl:output> 58 <soap:body use="literal" /> 59 </wsdl:output> 60 </wsdl:operation> 61 </wsdl:binding> 62 <wsdl:service name="Formation"> 63 <wsdl:port binding="tns:FormationServiceV1" 64 name="FormationSOAP"> 65 <soap:address 66 location="http://localhost:8080/webapp/services/FormationServiceV1" /> 67 </wsdl:port> 68 </wsdl:service> 69</wsdl:definitions> 70