It's not a secret anymore!*
The moose likes Web Services and the fly likes JAX-WS web service - Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS web service - "Cannot find dispatch method"" Watch "JAX-WS web service - "Cannot find dispatch method"" New topic
Author

JAX-WS web service - "Cannot find dispatch method"

Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 273

I'm getting the same error response (HTTP 500) every time I send a request to my JAX-WS web service:



I've tried using JAX-WS RI 2.1.7 and 2.2 on my Tomcat server, but both return the same error response. It will return the WSDL just fine (when "?wsdl" is appended to the endpoint URL). I used "wsimport" to generate the necessary Java classes from my WSDL--it used JAX-WS RI 2.1.6 (the one included with the JDK I guess) to generate the Java source files.

Other people online have had similar problems, but never with the SOAP element "{http://www.w3.org/2003/05/soap-envelope}Envelope", always with things specific to their WSDLs like "{}reqParams" or "{http://www.telekom.at/eai/WSToCramerCSIRead}CSIRead". I set a debug breakpoint at the start of my SIB method and it doesn't even get that far.

Any ideas? Thanks for your help.

WSDL:


Request:


Response (HTTP 500):


SCJP 6 || SCWCD 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS web service - "Cannot find dispatch method"