This might sound obtuse, but why do you care? If this is to save bandwidth, you're going to get better mileage out of something like XDR, If you're trying to save ref vs value args across webservices, well, I feel you're thinking too low level, and building yourself a much more tightly coupled system than you really wanted.
Yes, you're right, soap supports id-references. But do you really want rpc-encoded? It's too hard to read! :) Cheers, Karl P > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Egor Samarkhanov > Sent: Friday, January 26, 2007 5:16 PM > To: [email protected] > Subject: [xfire-user] Re: Handling of circular references > > Hello Tomek, > > I see, thanks. But is there any way to enable references (non > circular) in SOAP envelopes? Suppose I have two classes A and > B where A references B with some field. When I create the > following structure: > > A1 references B1 > A2 references B1 > > and then send the new A[] {A1, A2} array the B1 appears twice > in the SOAP envelope. > > Is there any way to get SOAP envelope that contain B1 within > A1 and reference to this (first) > B1 within A2? By using id attribute, for example? As I know > SOAP does support id-references. > > > No, circular references aren't supported. You should > flatten you data > > structure. > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
