Axis definitely supports multireference types.
Workaround for SOAP is to parse the message yourself. There is a method in
DOMUtils.getElementByID()
You can use that method.
"Scott Nichol"
<scottnicholnews@ To: <[EMAIL PROTECTED]>
yahoo.com> cc:
Subject: Re: multireference types
04/05/02 12:37 PM
Please respond to
soap-dev
FYI, a quick look at the code leads me to believe that href is supported
only
for MIME parts, anyway. Even if you implement the workaround in the
mapping
registry to de-serialize a :GetMethodNameResult, I do not think it will be
correctly de-serialized. Of course, this is just based on a quick look at
the
source, not any test code.
Scott
----- Original Message -----
From: "Scott Nichol" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 3:14 PM
Subject: Re: multireference types
> Do you know whether Apache SOAP can de-serialize href?
>
> Scott
>
> ----- Original Message -----
> From: "Soumen Sarkar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > Sent: Friday, April 05, 2002 2:17 AM
> > To: [EMAIL PROTECTED]
> > 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com