Archive

Archive for November, 2008

WSDL styles

November 12, 2008 Leave a comment

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&gt;

Categories: Tech stuff

Hard time

November 6, 2008 Leave a comment

This has been a very very tough week. I have never had it so hard. I cant concentrate. I just wish there werent so many rules. I just wish we could do stuff what we want. Sometimes, something amazing can be missed just because there are rules. 

I hate rules. 
Categories: Uncategorized