This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Exception when invoking a Web Service using dispatch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception when invoking a Web Service using dispatch" Watch "Exception when invoking a Web Service using dispatch" New topic
Author

Exception when invoking a Web Service using dispatch

Javi Cid
Greenhorn

Joined: Oct 27, 2011
Posts: 1
Hello!

I'm trying to invoke an operation of a service by getting its WSDL and then using dispatch. My client was working well until the service was changed to use SSL.

After some security issues (solved by adding a certificate to my JVM keystore), now I'm getting the following error:



Also, here is the relevant part of my client code:



The exception arises when calling the invoke method here:



And if I print the XML contained in the 'request' variable right before the invocation, it is well-formed.

Any help will be much appreciated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Exception when invoking a Web Service using dispatch
 
Similar Threads
problem to send file
web service - send java List
UnsupportedMediaException -> logging response
Nondescript "Unsupported Content-Type" error when connecting to https Sharepoint web services
java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP