-
1. Re: WebMethod with name
rphadnis Jun 11, 2007 4:39 PM (in response to lavrenych)Are you doing top down development (starting with WSDL) or bottom up development (starting with service implementation)?
There may not be an "update" method in your WSDL ? Or the input request may not have a param1 defined.
The stack trace does seem to indicate that the Update java object does not have a field named "param1" or the associated setters and getters are missing.
Rahul -
2. Re: WebMethod with name
lavrenych Jun 11, 2007 4:59 PM (in response to lavrenych)I am doing bottom up development (starting with service implementation), so everything should work. This is very strange, because, like I said, just renaming method name in java source code solves the problem. Just wondering, what are the other "prohibited" method names...
I am using jboss 4.0.5.GA and JbossWS 1.2.1.
Here is my web.xml (nothing surprising, but just in case):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet-name>Echo</servlet-name>
<servlet-class>com.newxt.ws.Echo</servlet-class>
<servlet-mapping>
<servlet-name>Echo</servlet-name>
<url-pattern>/Echo</url-pattern>
</servlet-mapping>
</web-app>