Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
123 lines (121 sloc) 4.39 KB
<?xml version='1.0' encoding='UTF-8'?>
<definitions
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://wsproxy.error.be/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsap10="http://www.w3.org/2006/05/addressing/wsdl" xmlns:i0="http://xmlsoap.org/DAB"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://wsproxy.error.be/"
name="SimpleWebServiceEndpointService">
<wsp:Policy wsu:Id="SimpleWebServiceEndpointService_policy">
<wsp:ExactlyOne>
<wsp:All>
<sp:AsymmetricBinding>
<wsp:Policy>
<sp:InitiatorToken>
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
<wsp:Policy>
<sp:WssX509V3Token10 />
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:InitiatorToken>
<sp:RecipientToken>
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
<wsp:Policy>
<sp:WssX509V3Token10 />
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:RecipientToken>
<sp:Layout>
<wsp:Policy>
<sp:Strict />
</wsp:Policy>
</sp:Layout>
<sp:IncludeTimestamp />
<sp:OnlySignEntireHeadersAndBody />
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic128 />
</wsp:Policy>
</sp:AlgorithmSuite>
</wsp:Policy>
</sp:AsymmetricBinding>
<sp:Wss10>
<wsp:Policy>
<sp:MustSupportRefKeyIdentifier />
<sp:MustSupportRefIssuerSerial />
</wsp:Policy>
</sp:Wss10>
<sc:KeyStore xmlns:sc="http://schemas.sun.com/2006/03/wss/server"
visibility="private" alias="mykey" storepass="changeme" type="JKS"
location="$WSIT_HOME/keystore.jks" />
<sc:TrustStore xmlns:sc="http://schemas.sun.com/2006/03/wss/server"
visibility="private" peeralias="mykey" storepass="changeme" type="JKS"
location="$WSIT_HOME/truststore.jks" />
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<wsp:Policy wsu:Id="SimpleWebServiceEndpointService_Input_policy">
<wsp:ExactlyOne>
<wsp:All>
<sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body />
</sp:SignedParts>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<wsp:Policy wsu:Id="SimpleWebServiceEndpointService_Output_policy">
<wsp:ExactlyOne>
<wsp:All>
<sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body />
</sp:SignedParts>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<types>
<xsd:schema>
<xsd:import namespace="http://wsproxy.error.be/"
schemaLocation="http://localhost:9999/simple?xsd=1" />
</xsd:schema>
</types>
<message name="getCurrentDateSecured">
<part name="parameters" element="tns:getCurrentDateSecured" />
</message>
<message name="getCurrentDateSecuredResponse">
<part name="parameters" element="tns:getCurrentDateSecuredResponse" />
</message>
<portType name="SimpleWebServiceEndpoint">
<operation name="getCurrentDateSecured">
<input
message="tns:getCurrentDateSecured" />
<output
message="tns:getCurrentDateSecuredResponse" />
</operation>
</portType>
<binding name="SimpleWebServiceEndpointPortBinding" type="tns:SimpleWebServiceEndpoint">
<wsp:PolicyReference URI="#SimpleWebServiceEndpointService_policy" />
<operation name="getCurrentDateSecured">
<input>
<wsp:PolicyReference URI="#SimpleWebServiceEndpointService_Input_policy" />
</input>
<output>
<wsp:PolicyReference URI="#SimpleWebServiceEndpointService_Output_policy" />
</output>
</operation>
</binding>
<service name="SimpleEndpoint">
<port name="SimpleWebServiceEndpointPort" binding="tns:SimpleWebServiceEndpointPortBinding">
<soap:address location="http://localhost:9999/simple" />
</port>
</service>
</definitions>