Sunday, June 24, 2018

Soap web service

jaxws-simpleClientAndService.gif

From the client, the Java object is serialized (marshalled) to xml message and SOAP message is the only media across the network. From the server, the xml message is deserialized(unmarshalled) to Java object and finish the method invocation.

The framework hides the marshall/unmarshall details and as a result, for the SOAP web service application developer, it looks like a local method invocation. The client calls the proxy of the remote object. Just like the local method invocation, if a method signature requires 11 parameters, we have to provide exactly 11 parameters. If some of them are not needed, then the server side (the method implementation) can just ignore these parameters.

No comments:

Post a Comment