[jboss-user] [JBossWS] - WebMethod with name

lavrenych do-not-reply at jboss.com
Sun Jun 10 12:44:50 EDT 2007


I have method with name "Update" in my WebService class and unable to deploy it. Once I rename it ( "Update1"?), everything runs fine.


More info:

I am getting when deploying:

2007-06-10 12:22:39,409 ERROR [org.jboss.ws.core.server.ServiceEndpointDeployer]
 Cannot start service endpoint org.jboss.ws.WSException: param1 is not a valid property on class com.newxt.ws.jaxws.Update
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccesso
r(JAXBContextImpl.java:816)

For this class:

package com.newxt.ws;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public class Echo {
	@WebMethod
	public String echo(String input)
	{
		return input;
	}
	
	@WebMethod
	public String Update(
			@WebParam (name="param1") String param1)  
	{
		return param1;
	}
	
}



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052920#4052920

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052920



More information about the jboss-user mailing list