[JBoss-user] [JBossWS] - Re: Generic (De-)Serialisation of Custom JavaBeans

2005-12-09 Thread [EMAIL PROTECTED]
For a definite answer about JAXRPC supported types, have a look at 

http://www.jcp.org/en/jsr/detail?id=101

JavaBeans are supported. Polimorphic JavaBeans are supported. Object graphs are 
not supported because they cannot be mapped to XML schema.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911808#3911808

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911808


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Generic (De-)Serialisation of Custom JavaBeans

2005-12-06 Thread BogSolomon
Are you trying to send just one JavaBean without references to other objects or 
can it have complicated links? As much time as your object graph is acyclical 
you can send without customs serializers/deserializers. If you have cycles you 
need your own serializer/deserializers or the web service will give a stack 
overflow. 

Other then that if your bean has private fields and getters/setters for those 
fields there is no problem. Just make sure it uses MetaDataBeanSerializer and 
Deserializer in your ws4ee-deployment.xml. (I think it will use it by 
default).


Hm I just though about it. Do you mean JavaBean is a superclass? If yes then 
your SEI needs to define all the JavaBeans subclasses that will be used and the 
example should work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910910#3910910

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910910


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user