Hi,
i've build a Web-Service enabled StatelessSession Bean with JAXB annotated classes as
Result-Types.
@Stateless
@Remote(MyBusinessInterface.class)
@WebService(name="MyBusinessService")
public class MyBusinessServiceBean implements MyBusinessInterface
// from MyBusinessInterface
@WebMethod
public MyResultType getResult() {
....
}
...
}
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="ResultType")
public class MyResultType implements Serializable {
@XmlElement(name="anElement")
protected List myElements;
... getters and setters ...
}
Unfortunately the JAXB-Annotations are ignored when
generating the wsdl !
I used wsprovide and also tried just to deploying the the EAR with the
@WebService-annotated bean. In both cases the JAXB-Annotations
do not seem to have any effect.
I would very much appreciate any hint on what might be wrong here.
Thanks a lot :-) !!
André
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209496#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...