Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes WSDL OK, but method is not supported Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "WSDL OK, but method is not supported" Watch "WSDL OK, but method is not supported" New topic
Author

WSDL OK, but method is not supported

Morten Sorensen
Greenhorn

Joined: Apr 15, 2004
Posts: 2
An existing web service GetStuff exists and runs as expected, but the exact copy of it GetOtherStuff does not.

GetOtherStuff appears in the generated WSDL and has been added to the method list (as required in this implementation) - but the response is:

<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Method 'GetOtherStuff' is not supported.</faultstring>
<faultactor>/OSMQSoap/rpcrouter</faultactor>
</SOAP-ENV:Fault>

This seems to indicate the WSDL is OK with regard to GetOtherStuff, but the service is still not exposed properly. Any suggestions?

Googling has brought nothing - possibly because the web services are deployed on an ancient Tomcat (version 3) using Axis 1 (I believe). Upgrading is unfortunately not an immediate option.
Morten Sorensen
Greenhorn

Joined: Apr 15, 2004
Posts: 2
Problem solved.

The file DeployedServices.ds needed to be re-generated.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: WSDL OK, but method is not supported
 
Similar Threads
Beginner problem with SOAP Message
Writing a MS Client to access a Java SOAP Service
messagerouter problem
How do I resolve a BadTargetObjectURI Server exception?
Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet