I have some limitations in using generated stubs with the 3rd party software. SO, I am looking for other options like simple HTTP request and response to get the result. I will probably need to pass 5 or 6 parameters to one operation and get one output from the web service.
I can create a simple JSP file, which internally calls the webservice. I can call this JSP via HTTP Request. I want to check if there are any other options.
I am using JDK1.6, JBoss 5.1.
SOAP web service requests are normal POST HTTP requests which you can trigger using any client, including simple
URLConnectionor evencurl. See: Sending a SOAP request to a Web Service via URLConnection.You don’t need a JSP (in fact, calling external web services from JSP is a terrible idea from maintenance perspective). You can call web services from any Java code, even directly from
mainmethod.