[jboss-user] [JBossWS] - Re: ClassNotFoundException JBossWSProviderFactoryImpl with J

gquintana do-not-reply at jboss.com
Thu Nov 22 16:32:13 EST 2007


I looked at source code generated by WSImport and there is something weird that doesn't compile:
@XmlRootElement(...)
  | @XmlType(...)
  | @XmlAccessorType(XmlAccessType.FIELD)
  | public class MyOperationResponse {
  |     @XmlElement(namespace = "", name = "return")
  |     private MyValueObject return;
  |     public MyValueObject getReturn() {
  |         return this.return;
  |     }
  |     public void setReturn(MyValueObject return) {
  |         this.return = return;
  |     }
  | }
The "return" keyword is reserved and can not be used as attribute, argument...

The input interface was pretty simple:
@WebService(...)
  | public interface MyWebService {
  | 	@WebMethod
  | 	MyValueObject myOperation(String myArgument) throws MyException;
  | }

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

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



More information about the jboss-user mailing list