Firstly, let me talk about RPC/literal and Document/Literal(Wrapped)
RPC/literal -- uses methodName in soap:body, and the input parameters.
For eg. if you had a method like
private void simpleMethod(int x, int y)
RPC/literal SOAP request would be like...
<simplemethod>(Method name)
<x>2</x>
<y>3</y>
</simplemethod>
A Document/Literal(Wrapped) would be -
<name_of_input_request_element_in_wsdl>
<x>2</x>
<y>3</y>
</name_of_input_request_element_in_wsdl>
RPC/encoded would be like
<simplemethod>(Method name)
<x type="int">2</x>
<y type="">3</y>
<simplemethod>
Document/Encoded would be like
<soap:body>
<x>2</x>
<y>3</y>
</soap:body>
Check that there is no method names or sthg. Just the input params.
Document/Literal (bare)
<input_element1>2</input_element1>
<input_element2>3</input_element2>
Good like to read
<a href="http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/">http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/</a></simplemethod></simplemethod>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment