[JBoss-user] [JBossWS] - Re: Serializer results in stack overflow

2005-11-11 Thread BogSolomon
Thank you very much. I have solved the problem by creating a custom serializer 
that adds an ID to the object as an attribute and then when the same object is 
meant to be serialized again just creates it as null with two attributes 
specifying that it is a reference and the ID. Not really a portable solution 
but it works very nicely.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906804#3906804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906804


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Serializer results in stack overflow

2005-11-11 Thread [EMAIL PROTECTED]
With SOAP encoding you can have an ID attribute with SOAP encoded elements and 
use HREF that references them. With literal encoding this is not allowed.

Jason wrote

anonymous wrote : 
  | Literal bindings require the literal data be a 1 to 1 translation to valid 
schema (which has no native concept of representing a circular graph, and 
explicitly forbids them).  If there is a need to represent circular data, then 
that is up to the developer to define custom elements or attributes in their 
schema to represent these link associations. So you could define something like 
  | 
  | However it is your responsibility to transform the id fields to an object 
reference.
  | 


  |   
  |  
  |
  |
  |  
  |   
  | 

Bottome line: it is not supported with ws4ee, which only allows literal encoding

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906765#3906765

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906765


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user