This content has been marked as final.
Show 3 replies
-
1. Re: annotation for return class
atamur Nov 8, 2006 7:35 AM (in response to micho)"micho" wrote:
Nope, you don't need any annotation, but this class should implement Serializable interface
Hello,
what annotation I have to define for an Class I want to use as returnvalue or parameter for my webservice.@WebMethod public returnClass method1(String a, paramClass b)
Is it required to define Interfaces for the returnvalue or parameter Class -
2. Re: annotation for return class
micho Nov 8, 2006 9:51 AM (in response to micho)Hi
returnClass implements Serializable, but calling the webserviceServiceImpl service = (ServiceImpl)factory.createService(wsdlLocation, serviceName);
throws the following exception.org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://server/jaws}returnClass
-
3. Re: annotation for return class
micho Nov 9, 2006 4:39 AM (in response to micho)An additional Info.
With a "standard" java Client everything works fine.
The Problem occurs, if I try to use it as a Webservice.