This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have couple of questions and issues(all togather), which I got while I was exploring Apache Axis 1.4.
Before I go for the questions, let me confirm my understanding, - Web services or services can be invoked or called by two ways one of them is by using the JAX-RPC way and other by SOAP. I was able to get the difference between them after couple of examples. - Axis provides way for both of these implementations, however the Java2WSDL and WSDL2Java code creation tools are much inclined towards JAX-RPC based calls, rather than SOAP message based calls
Correct my understanding if I am wrong...I feel its to be corrected :-)
Now coming to my issues,
I am trying to implement a SOAP call to a service.The actual issue I am facing is, the request SOAP message goes to the server in full and it gets printed in tomcat console as full message. However, in the client I am able to get only partial message. I am unable to understand why its a problem.
Now my question is,
What is the difference between MessageContext objects getRequestMessage(), setRequestMessage(), getResponseMessage(), setResponseMessage() usage and Connection object's call method return in terms of response.
To explain better, I am making a SOAP call in my client as follows,
and my Impl class is as follows,
You may notice that, I am getting the request message from the MessageContext, so whats the need of passing the message object in call. In same way, I am returning a null in the Impl class but setting a response message in context, which I am able to get in client(partially). I am very much confused here
It would be great, if you could help me get answers for these questions and solve my confusions.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.