<?xml version="1.0" encoding="UTF-8"?>

<definitions name="TestService" targetNamespace="http://org.jboss.ws/jaxrpc"
	     xmlns:tns="http://org.jboss.ws/jaxrpc" 
	     xmlns="http://schemas.xmlsoap.org/wsdl/" 
	     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	     xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
	     xmlns:fab="http://www.fabrikam123.example.com/stock" 
	     xmlns:rmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy" 
	     xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy" 
	     xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
	     xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" >
  <wsp:Policy wsu:Id="RmPolicy" >
    <rmp:RMAssertion>
      <rmp:InactivityTimeout Milliseconds="600000" />
      <rmp:BaseRetransmissionInterval Milliseconds="3000" />
      <rmp:ExponentialBackoff />
      <rmp:AcknowledgementInterval Milliseconds="200" />
    </rmp:RMAssertion>
  </wsp:Policy>
  <wsp:Policy wsu:Id="uselessServicePolicy" >
    <fab:useless>nothing</fab:useless>
  </wsp:Policy>
  <wsp:Policy wsu:Id="uselessPortPolicy" >
    <fab:useless>nothing again</fab:useless>
  </wsp:Policy>
  <wsp:Policy wsu:Id="X509EndpointPolicy" >
    <sp:AsymmetricBinding>
      <wsp:Policy>
        <!-- Details omitted for readability -->
        <sp:IncludeTimestamp />
        <sp:OnlySignEntireHeadersAndBody />
      </wsp:Policy>
    </sp:AsymmetricBinding>
  </wsp:Policy>
  <wsp:Policy wsu:Id="SecureMessagePolicy" >
    <sp:SignedParts>
      <sp:Body />
    </sp:SignedParts>
    <sp:EncryptedParts>
      <sp:Body />
    </sp:EncryptedParts>
  </wsp:Policy>
  <types>
  </types>
  <portType name="JaxRpcTestService" wsp:PolicyURIs="#RmPolicy">
  </portType>
  <binding name="JaxRpcTestServiceBinding" type="tns:JaxRpcTestService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <wsp:PolicyReference URI="#RmPolicy" wsdl:required="true" />
    <wsp:PolicyReference URI="#X509EndpointPolicy" wsdl:required="true" />
  </binding>
  <service name="TestService">
    <wsp:PolicyReference URI="#uselessServicePolicy" wsdl:required="true" />
    <port name="JaxRpcTestServicePort" binding="tns:JaxRpcTestServiceBinding">
      <wsp:PolicyReference URI="#uselessPortPolicy" wsdl:required="true" />
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>
</definitions>
