I am fairly unfamiliar with SOAP so I am trying to learn as I go. I understand how to write SOAP requests in XML but I am having some trouble converting that to JAVA code so I can use it in my program. I have a web server that accepts requests in the form of http://myserver'sURL/getXML.php?method=example¶ms=ALL (something like this) and returns a response. I am trying to get that response returned as an array so I can use it in my Java program. At some point I will have to add authentication to the SOAP header since these server requests are secure. Im not really sure where to start with this so any help would be greatly appreciated. Thanks!
So the request isn't SOAP, but an HTTP GET, and SOAP would only be used in the response? See this for an example SAAJ client, although that may not fit the bill if the request isn't actually SOAP. It also shows how to set HTTP Authentication headers (assuming that's what you mean by authentication).
Joined: Apr 05, 2010
Ok, a SAAJ client does seem like a good way to go about this. I have been looking around on how to convert a SOAP request to a JAX-RPC DII interface. Below is my original SOAP code. Could someone help me convert this to a JAX-RPC interface or at least point me in the right direction? Thanks