<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:sc="http://schemas.sun.com/2006/03/wss/client"
             xmlns:wspp="http://java.sun.com/xml/ns/wsit/policy"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:wsp="http://www.w3.org/ns/ws-policy"
             xmlns:tns="http://MathService.myorg.org.service.jws.ptc.com/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
             xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
             targetNamespace="http://MathService.myorg.org.service.jws.ptc.com/"
             name="MathServiceImplService">
   
   
   
   <types>
      <xsd:schema>
         <xsd:import namespace="http://MathService.myorg.org.service.jws.ptc.com/"
                     schemaLocation="MathService_xsd1.xml"/>
      </xsd:schema>
   </types>
   <message name="Add">
      <part name="parameters" element="tns:Add"/>
   </message>
   <message name="AddResponse">
      <part name="parameters" element="tns:AddResponse"/>
   </message>
   <message name="Exception">
      <part name="fault" element="tns:Exception"/>
   </message>
   <message name="Divide">
      <part name="parameters" element="tns:Divide"/>
   </message>
   <message name="DivideResponse">
      <part name="parameters" element="tns:DivideResponse"/>
   </message>
   <message name="QueryParts">
      <part name="parameters" element="tns:QueryParts"/>
   </message>
   <message name="QueryPartsResponse">
      <part name="parameters" element="tns:QueryPartsResponse"/>
   </message>
   <message name="Multiply">
      <part name="parameters" element="tns:Multiply"/>
   </message>
   <message name="MultiplyResponse">
      <part name="parameters" element="tns:MultiplyResponse"/>
   </message>
   <message name="Subtract">
      <part name="parameters" element="tns:Subtract"/>
   </message>
   <message name="SubtractResponse">
      <part name="parameters" element="tns:SubtractResponse"/>
   </message>
   <portType name="MathServiceImpl">
      <operation name="Add">
         <input wsam:Action="Add" message="tns:Add"/>
         <output wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/AddResponse"
                 message="tns:AddResponse"/>
         <fault message="tns:Exception" name="Exception"
                wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/Add/Fault/Exception"/>
      </operation>
      <operation name="Divide">
         <input wsam:Action="Divide" message="tns:Divide"/>
         <output wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/DivideResponse"
                 message="tns:DivideResponse"/>
         <fault message="tns:Exception" name="Exception"
                wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/Divide/Fault/Exception"/>
      </operation>
      <operation name="QueryParts">
         <input wsam:Action="QueryParts" message="tns:QueryParts"/>
         <output wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/QueryPartsResponse"
                 message="tns:QueryPartsResponse"/>
         <fault message="tns:Exception" name="Exception"
                wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/QueryParts/Fault/Exception"/>
      </operation>
      <operation name="Multiply">
         <input wsam:Action="Multiply" message="tns:Multiply"/>
         <output wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/MultiplyResponse"
                 message="tns:MultiplyResponse"/>
         <fault message="tns:Exception" name="Exception"
                wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/Multiply/Fault/Exception"/>
      </operation>
      <operation name="Subtract">
         <input wsam:Action="Subtract" message="tns:Subtract"/>
         <output wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/SubtractResponse"
                 message="tns:SubtractResponse"/>
         <fault message="tns:Exception" name="Exception"
                wsam:Action="http://MathService.myorg.org.service.jws.ptc.com/MathServiceImpl/Subtract/Fault/Exception"/>
      </operation>
   </portType>
   <binding name="MathServiceImplPortBinding" type="tns:MathServiceImpl">
      <wsp:PolicyReference URI="#MathServiceImplPortBindingPolicy"/>
      
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <operation name="Add">
         <soap:operation soapAction="Add"/>
         <input>
            
            <soap:body use="literal"/>
         </input>
         <output>
            
            <soap:body use="literal"/>
         </output>
         <fault name="Exception">
            <soap:fault name="Exception" use="literal"/>
         </fault>
      </operation>
      <operation name="Divide">
         <soap:operation soapAction="Divide"/>
         <input>
            
            <soap:body use="literal"/>
         </input>
         <output>
            
            <soap:body use="literal"/>
         </output>
         <fault name="Exception">
            <soap:fault name="Exception" use="literal"/>
         </fault>
      </operation>
      <operation name="QueryParts">
         <soap:operation soapAction="QueryParts"/>
         <input>
            
            <soap:body use="literal"/>
         </input>
         <output>
            
            <soap:body use="literal"/>
         </output>
         <fault name="Exception">
            <soap:fault name="Exception" use="literal"/>
         </fault>
      </operation>
      <operation name="Multiply">
         <soap:operation soapAction="Multiply"/>
         <input>
            
            <soap:body use="literal"/>
         </input>
         <output>
            
            <soap:body use="literal"/>
         </output>
         <fault name="Exception">
            <soap:fault name="Exception" use="literal"/>
         </fault>
      </operation>
      <operation name="Subtract">
         <soap:operation soapAction="Subtract"/>
         <input>
            
            <soap:body use="literal"/>
         </input>
         <output>
            
            <soap:body use="literal"/>
         </output>
         <fault name="Exception">
            <soap:fault name="Exception" use="literal"/>
         </fault>
      </operation>
   </binding>
   <service name="MathServiceImplService">
      <port name="MathServiceImplPort" binding="tns:MathServiceImplPortBinding">
         <soap:address location="http://windchill102.slx.solutionsx.com:80/Windchill/servlet/MathService"/>
      </port>
   </service>
   <wsp:Policy wsu:Id="MathServiceImplPortBindingPolicy">
      <wsp:ExactlyOne>
         <wsp:All>
            <sc:KeyStore wspp:visibility="private" alias="ws-client" storepass="changeit" type="JKS"
                         location="C:\ptc\Windchill_10.2\Windchill/prog_examples/jws/stores/client-keystore.jks"/>
            <sc:TrustStore wspp:visibility="private" peeralias="windchill102.slx.solutionsx.com"
                           storepass="changeit"
                           type="JKS"
                           location="C:\ptc\Windchill_10.2\Windchill/prog_examples/jws/stores/client-truststore.jks"/>
            <sc:CallbackHandlerConfiguration wspp:visibility="private">
               <sc:CallbackHandler name="usernameHandler"
                                   classname="com.ptc.jws.client.handler.UsernamePasswordCallbackHandler"/>
               <sc:CallbackHandler name="passwordHandler"
                                   classname="com.ptc.jws.client.handler.UsernamePasswordCallbackHandler"/>
            </sc:CallbackHandlerConfiguration>
         </wsp:All>
      </wsp:ExactlyOne>
   </wsp:Policy>
</definitions>