<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://example.w3c.org/Department"> <SOAP-ENV:Body> <q0:getDepartmentsRequest /> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://example.w3c.org/Department"> <SOAP-ENV:Body> <q0:getDepartmentsResponse> <q0:Department>http://www.w3c.org/Department/D002</q0:Department> <q0:Department>http://www.w3c.org/Department/D003</q0:Department> <q0:Department>http://www.w3c.org/Department/D004</q0:Department> </q0:getDepartmentsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
<?xml version="1.0"
encoding="UTF-8"?> <wsdl:definitions name="Department" targetNamespace="http://example.w3c.org/Department" xmlns:tns="http://example.w3c.org/Department" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://example.w3c.org/Department"> <xsd:element name="getDepartmentsResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="Department" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded"></xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="getDepartmentsRequest"> <xsd:complexType></xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="getDepartmentsInput"> <wsdl:part name="body" element="tns:getDepartmentsRequest"></wsdl:part> </wsdl:message> <wsdl:message name="getDepartmentsOutput"> <wsdl:part name="body" element="tns:getDepartmentsResponse"></wsdl:part> </wsdl:message> <wsdl:portType name="DepartmentInterface"> <wsdl:operation name="getDepartments"> <wsdl:input message="tns:getDepartmentsInput"></wsdl:input> <wsdl:output message="tns:getDepartmentsOutput"></wsdl:output> </wsdl:operation> </wsdl:portType> <wsdl:binding name="DepartmentSOAPHTTPBinding" type="tns:DepartmentInterface"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="getDepartments"> <soap:operation soapAction="http://example.w3c.org/Department/getDepartments" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="DepartmentSOAPJMSBinding" type="tns:DepartmentInterface"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms" /> <wsdl:operation name="getDepartments"> <soap:operation soapAction="http://example.w3c.org/Department/getDepartments" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="DepartmentService"> <wsdl:port name="SOAPHTTPPort" binding="tns:DepartmentSOAPHTTPBinding"> <soap:address location="http://www.w3c.org/Department/D001" /> </wsdl:port> <wsdl:port name="SOAPJMSPort" binding="tns:DepartmentSOAPJMSBinding"> <soap:address location="jms:/queue?destination=jms/queue&connectionFactory=jms/qcf&targetService=Department/D001" /> </wsdl:port> </wsdl:service> </wsdl:definitions> |