xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Fell <s...@zaks.demon.co.uk>
Subject Re: multireference types
Date Sat, 06 Apr 2002 00:31:21 GMT
It will de-serialize href's, as long as they don't form circular
references (in which case it goes round in circles til the stack runs
out). It doesn't serialize hrefs.

AIUI, all these issues are fixed in Axis.

Cheers
Simon

On Fri, 5 Apr 2002 15:14:40 -0500, in soap you wrote:

>Do you know whether Apache SOAP can de-serialize href?
>
>Scott
>
>----- Original Message ----- 
>From: "Soumen Sarkar" <SoumenS@Atoga.com>
>To: <soap-dev@xml.apache.org>
>Sent: Friday, April 05, 2002 2:50 PM
>Subject: RE: multireference types
>
>
>> Apache SOAP does not support multiref serialization (as far as I know).
>> Probably
>> Axis does. For example I had experience with object graph serialization
>> running into
>> loop (stack overflow) with Apache Soap bean serializer as shown below:
>> 
>> mgr1 has emp1, emp2 ref
>> emp1 has mgr1 ref
>> emp2 has mgr2 ref
>> 
>> Soumen Sarkar.
>> 
>> 
>> 
>> -----Original Message-----
>> From: Frederik Santens [mailto:Frederik.Santens@tectrade.net]
>> Sent: Friday, April 05, 2002 2:17 AM
>> To: soap-dev@xml.apache.org
>> Subject: multireference types
>> 
>> 
>> Hello,
>> 
>> Does apache soap support multirefence types?
>> if it does, can anybody help out here!!
>> 
>> thx a lot,
>> 
>> Frederik
>> 
>> 
>> SOAP RESPONSE FROM SOAP MS SERVER
>> ---------------------------------
>> 
>> <?xml version="1.0" encoding="utf-8" ?> 
>> 
>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
>> 
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>> 
>> xmlns:tns="http://tectrade.net/helloworld/" 
>> xmlns:types="http://tectrade.net/helloworld/" 
>> 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> 
>>  <soap:Body
>> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>> 
>>    <types:GetMethodNameResponse>
>> 
>>   <GetMethodNameResult href="#id1" /> 
>> 
>>    </types:GetMethodNameResponse>
>> 
>>    <soapenc:Array id="id1" soapenc:arrayType="xsd:int[5]">
>> 
>>   <Item>0</Item> 
>> 
>>   <Item>1</Item> 
>> 
>>   <Item>8</Item> 
>> 
>>   <Item>27</Item> 
>> 
>>   <Item>64</Item> 
>> 
>>   </soapenc:Array>
>> 
>>  </soap:Body>
>> 
>> </soap:Envelope>
>> 
>> SOAP ERROR JAVA CLIENT
>> -----------------------
>> 
>> No Deserializer found to deserialize a ':GetMethodNameResult' using
>> encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.;
>> targetException=java.lang.IllegalArgumentException: No Deserializer
>> found to deserialize a ':GetMethodNameResult' using encoding style
>> 'http://schemas.xmlsoap.org/soap/encoding/'.]
>> 
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message