Write a custom bean deserializer whose create method contacts a factory or something.
See org.jboss.net.axis.server.EntityBeanDeserializer and the jboss.net testsuite (it´s still crappy and only copes with a single, primitive primary key, but works). The deserializer caches the properties until it has enough information to install the reference ... CGJ -----Ursprüngliche Nachricht----- Von: Nicholas [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 17. Januar 2003 17:45 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JBoss & Axis - Updates To A Session Bean With Complex Types When exposing a session bean as a web service, the serialization of a remote to be retrieved by a SOAP client seems to be pretty easy. e.g. Session Bean: ClientManager Function: getClient(int i) Returns: ClientRemote The remote, ClientRemote can be viewed as a bean (since it is a collection of getters and setters) and the BeanSerialzier does a fine job of converting the remote to XML. However, on the return trip: Session Bean: ClientManager Function: setClient(ClientRemote client) Returns: void This presents a problem, because Axis tries to use the BeanDeserializer and quickly runs into the problem that ClientRemote is not actually a bean and is really only an interface. Hence, it cannot be instantiated as a bean could. Does anyone have any insight into how this issue can be best resolved ? //Nicholas ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 622 5639 [EMAIL PROTECTED] ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user