Kumar Raj wrote:
>Hi !
>
>Is it possible to have the return type for a soap service as Object and
>the service may return any of the primitive and primitive arrays ?
>
>i.e.,
>public Object processRequest( String UserName, String password)
>
>When I tried to deploy a service like this and return a string from the
>method it gave the following exception.
>Any help will be greatly appreciated.
>
>
Raj, I too had this problem...It seems that the stub code generated by
XSLT2Java does this typechecking. I've had to interact directly with the
org.apache.axis.client classes to work around this issue. (And I haven't
heard a peep on the mailing list as to whether it is considered a bug
[and put into Bugzilla] or a feature [and put into the FAQ/docs].)