I need to create an application which invokes some web-services (RPC - So, I don't have "wsdl" available).
Please, does anybody can help me in this login example?
I have to send the xml below:
<?xml version="1.0" ?>
- <methodCall>
<methodName>Autenticacao.Login</methodName>
- <params>
- <param>
- <value>
- <struct>
- <member>
<name>login</name>
- <value>
<string>my_user_id</string>
</value>
</member>
- <member>
<name>password</name>
- <value>
<string>my_password</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
The web-service response will be the xml below:
<?xml version="1.0" ?>
- <methodResponse>
- <params>
- <param>
- <value>
<string>...an string session id...</string>
</value>
</param>
</params>
</methodResponse>
So, I know that I have to create a class which will serialize itself to generate the login xml and sent it to the web service address.
Again, I have to have a class to instance the response xml and so on...
I don't know "how" to do that.
I read the web services manual but I can't go from concept to practice...
Any help will be very appreciated..
Edmilson Bringel