Sei sulla pagina 1di 3

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http ://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://service.rampart.tutorial" x mlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas .xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="htt p://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSche ma" xmlns:soap="http://schemas.xmlsoap.

org/wsdl/soap/" targetNamespace="http://s ervice.rampart.tutorial"> <wsdl:types> <xs:schema xmlns:ns="http://service.rampart.tutorial" attributeFormDefault="qual ified" elementFormDefault="qualified" targetNamespace="http://service.rampart.tu torial"> <xs:element name="add"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="a" type="xs:int"/> <xs:element minOccurs="0" name="b" type="xs:int"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="addResponse"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="return" type="xs:int"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="addRequest"> <wsdl:part name="parameters" element="ns0:add"/> </wsdl:message> <wsdl:message name="addResponse"> <wsdl:part name="parameters" element="ns0:addResponse"/> </wsdl:message> <wsdl:portType name="SecureServicePortType"> <wsdl:operation name="add"> <wsdl:input message="ns0:addRequest" wsaw:Action="urn:add"/> <wsdl:output message="ns0:addResponse" wsaw:Action="urn:addResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="SecureServiceSOAP11Binding" type="ns0:SecureServicePortType" > <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" Id="UTOverT ransport"> <wsp:ExactlyOne> <wsp:All> <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypol icy"> <wsp:Policy> <sp:TransportToken> <wsp:Policy> <sp:HttpsToken RequireClientCertificate="false"/> </wsp:Policy> </sp:TransportToken> <sp:AlgorithmSuite> <wsp:Policy> <sp:Basic256/> </wsp:Policy> </sp:AlgorithmSuite> <sp:Layout>

<wsp:Policy> <sp:Lax/> </wsp:Policy> </sp:Layout> <sp:IncludeTimestamp/> </wsp:Policy> </sp:TransportBinding> <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/secur itypolicy"> <wsp:Policy> <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securit ypolicy/IncludeToken/AlwaysToRecipient"/> </wsp:Policy> </sp:SignedSupportingTokens> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/ > <wsdl:operation name="add"> <soap:operation soapAction="urn:add" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="SecureServiceSOAP12Binding" type="ns0:SecureServicePortType" > <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" Id="UTOverT ransport"> <wsp:ExactlyOne> <wsp:All> <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypol icy"> <wsp:Policy> <sp:TransportToken> <wsp:Policy> <sp:HttpsToken RequireClientCertificate="false"/> </wsp:Policy> </sp:TransportToken> <sp:AlgorithmSuite> <wsp:Policy> <sp:Basic256/> </wsp:Policy> </sp:AlgorithmSuite> <sp:Layout> <wsp:Policy> <sp:Lax/> </wsp:Policy> </sp:Layout> <sp:IncludeTimestamp/> </wsp:Policy> </sp:TransportBinding> <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/secur itypolicy"> <wsp:Policy> <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securit

ypolicy/IncludeToken/AlwaysToRecipient"/> </wsp:Policy> </sp:SignedSupportingTokens> </wsp:All> </wsp:ExactlyOne> </wsp:Policy> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document "/> <wsdl:operation name="add"> <soap12:operation soapAction="urn:add" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> <wsdl:output> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="SecureServiceHttpBinding" type="ns0:SecureServicePortType"> <http:binding verb="POST"/> <wsdl:operation name="add"> <http:operation location="SecureService/add"/> <wsdl:input> <mime:content type="text/xml" part="add"/> </wsdl:input> <wsdl:output> <mime:content type="text/xml" part="add"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="SecureService"> <wsdl:port name="SecureServiceSOAP11port_http" binding="ns0:SecureServiceSOAP11B inding"> <soap:address location="http://localhost:8080/axis2/services/SecureService"/> </wsdl:port> <wsdl:port name="SecureServiceSOAP12port_http" binding="ns0:SecureServiceSOAP12B inding"> <soap12:address location="http://localhost:8080/axis2/services/SecureService"/> </wsdl:port> <wsdl:port name="SecureServiceHttpport" binding="ns0:SecureServiceHttpBinding"> <http:address location="http://localhost:8080/axis2/services/SecureService"/> </wsdl:port> </wsdl:service> </wsdl:definitions>

Potrebbero piacerti anche