i can call a webservice by creating a SOAPEnvelope and sending it , webservice will take the SOAPEnvelope and gives back data in another SOAPEnvelope. (
SOAP Method)
OR
i can call a webservice by creating a stubs out of WSDL and in webservice there will be some
java class which will return me some data through VO. (JAX-RPC Method)
What i wanted to know is what is the difference between both.
i understand all message
exchange happens in web service through SOAP,so what does jaxRPC does?
iam assuming JAX RPC internally uses SOAP to transfer XML messages, but only advantage of
JAX-RPC is that it will do the dirty work of populating our value objects from SOAP messages internally?