Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WSDL Cannot find dispatch method for

Tags:

soap

wsdl

For a web service call using a WSDL, I'm getting the error Cannot find dispatch method for {http://ws.somecompany.com/services}ValidateUser, what does that mean exactly? Does it mean that it cannot find ValidateUser?

like image 980
Johnny Klassy Avatar asked Sep 19 '11 23:09

Johnny Klassy


2 Answers

This typically means that the SOAP framework could not find the operation that should be invoked via this request. A SOAP framework typically inspects the message to find pointers about how to route the message to the operation. Reasons for this error are mostly configuration issues (different namespaces, different encodings (RPC vs. doc/lit), usage of WS-Addressing vs. plain SOAP etc.)

like image 142
vanto Avatar answered Jan 01 '23 06:01

vanto


I had a similar problem and struggling, googling for 1 day. But it was a simple mistake that instead of:

{http://ws.somecompany.com/services}ValidateUser

It should be

{http://ws.somecompany.com/services/}ValidateUser

I had not checked my WSDL clearly.

like image 39
Kulai Avatar answered Jan 01 '23 07:01

Kulai