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.
  | 


  |   <xs:complexType name="employeeType">
  |      <xs:sequence>
  |        <xs:element name="id" type="xsd:int"/>
  |        <xs:element name="manager" type="xsd:int"/>
  |      </xs:sequence>
  |   </xs:complexType>
  | 

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to