WSDL soapAction Vs location
I have a WSDL question.
I want to have a one service with multiple operations. I don't understand the prominance of binding/"soap:operation soapAction" and
service/soap:address location.
I am using OSB proxy services to develope the proxies for CreateOrder/UpdateOrder/DeleteOrder. What is the best practice? Please advise.
eg:
<binding name="TestBinding" type="client:TestPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="CreateOrder">
<soap:operation soapAction="http://myComp.comp.com:7001/Test/TestService" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="UpdateOrder">
<soap:operation soapAction="http://myComp.comp.com:7001/Test/TestService" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="DeleteOrder">
<soap:operation soapAction="http://myComp.comp.com:7001/Test/TestService" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="TestSVC">
<port name="TestPort" binding="client:TestBinding">
<soap:address location="http://myComp.comp.com:7001/Test/TestService"/>
</port>
</service>