You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Allen Brookes <ab...@roguewave.com> on 2001/02/14 00:06:54 UTC
RE: Parsing return value
I have a similar problem. I added the code as below and get the same error.
The FAQ says that elements need to be namespace qualified but this seems to
contradict this. Also, do I also need to add a mapping to a
DeploymentDescriptor? What code reads this? Where is the file located?
Thanks,
Allen
-----Original Message-----
From: Alex Cruise [mailto:acruise@infowave.com]
Sent: Wednesday, January 10, 2001 11:47 AM
To: 'soap-user@xml.apache.org'
Subject: RE: Parsing return value
<foreheadSlap>
Oops. I had my call.setSOAPMappingRegistry(smr) commented out.
</foreheadSlap>
-0xe1a
> -----Original Message-----
> From: Alex Cruise
> Sent: Wednesday, January 10, 2001 11:38 AM
> To: 'soap-user@xml.apache.org'
> Subject: Parsing return value
>
>
> Okay... I need to interpret an XML return value from a SOAP
> call to an MS
> SOAP server.
>
> The return value looks like this:
>
> <methodResponse>
> <return>
> <item/>
> <item/>
> </return>
> </methodResponse>
>
> The error I'm getting is this:
>
> > Caught SOAPException (SOAP-ENV:Client): No Deserializer found to
> > deserialize a ':return' using encoding style
> > 'http://schemas.xmlsoap.org/soap/encoding/'.
>
> I've tried this, but to no avail:
>
> MySOAPDeserializer msd = new MySOAPDeserializer();
> SOAPMappingRegistry smr = new SOAPMappingRegistry();
> smr.mapTypes( Constants.NS_URI_SOAP_ENC, new QName("", "return"),
> Node.class, null, msd );
>
> Any clues?
>
> TIA,
>
> -0xe1a
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org