Forums Register Login

Help! Cannot invoke operation on web service!

+Pie Number of slices to send: Send
I am at a total loss. I am probably doing something obviously wrong and stupid but I've been staring at this for two days and can't see straight anymore.

I implemented a web service in JBoss 4.0.1 SP1 as a POJO with a method "String getDocuments(String userid, String password)". The web service seems to deploy just fine and I can use the URL?wsdl command to see my WSDL but my test client cannot seem to invoke this method. I get an AxisFault saying there is no such method. My code, WSDL and exception is below. Any and all suggestions are greatly appreciated!

Kelly



The code of interest in my test servlet is:



The exception is thrown by call.invoke(). As you can see, I loop over the calls provided by the web service and "getDocuments" is in the list so I am assuming I am seeing the web service.

The exception is:


My WSDL is:

+Pie Number of slices to send: Send
I figured this out. For everyone else's benefit, for whatever reason, JBoss 4.0.1 does not like web services being deployed in an expanded state. When we deployed our WAR file that contained the web service in a .war file (vs. in an expanded .war directory), everything worked.

Kelly
BWA HA HA HA HA HA HA! Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1473 times.
Similar Threads
Getting Relaying denied error while sending out mails
Tomcat + NullPointerException
why do i get this error.. if a lot of people are connected
AXIS - EJB Provider
ForumException.java:85)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:53:34.