0 Replies Latest reply on Aug 31, 2006 5:22 PM by F B

    return types that are complex objects with aggregates  - jav

    F B Newbie

      There is a webservice that returns a "MyObject" which has two public aggregates : an int and a String. What needs to be done to implement this such that it comes back OK to both a java application and also is represented in the WSDL so that non Java Clients can interact. Part of this question centers around the fact that the return cannot be Just a java serialization of the return type class that the client/server share.

      I implemented this in JBoss 4.04 with netbeans and pulled the WSDL off the deployed EJB to generate source code in a Java Application. The server spit out the error:
      17:02:41,103 ERROR [SOAPFaultExceptionHelper] SOAP request exception
      javax.xml.rpc.JAXRPCException: Cannot obtain deserializer factory for: ___