is there a way to consume a SOAP web service with java by just using:
- the SOAPaction required (for example methodname called "find")
- the URL of the web service
- header authentication (username and password)
- in the end output the results
I have an example request xml file by successfully consuming it with php but I can't find a proper way to do it on java.
[update: the web service's WSDL style is RPC/encoded]
[update #2: you can find how I solved the problem below (by using java stubs generated by IDEs)]