It looks like the default mechanism was broken when registry chaining
was introduced.  As a short term workaround, do


call.getSOAPMappingRegistry().getParent().mapTypes(Constants.NS_URI_SOAP
_ENC,
        null, null, null, new StringDeserializer());

Scott Nichol

----- Original Message -----
From: "Tim Cronin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 11:07 PM
Subject: RE: Default Deserializer


> It gives me a ClassCastException...
>
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Default Deserializer
>
>
> Have you tried using null for the QName?
>
>      call.getSOAPMappingRegistry().mapTypes(Constants.NS_URI_SOAP_ENC,
>        null, null, null, new StringDeserializer());
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Tim Cronin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 18, 2002 5:27 PM
> Subject: Default Deserializer
>
>
> > We have an existing SOAP service that was created with the MSSOAP
> Toolkit
> > 2.0
> >
> > the Result doesn't have a type set.
> >
> > I had to do the following to get it to work
> >
> >
call.getSOAPMappingRegistry().mapTypes(Constants.NS_URI_SOAP_ENC,
> >       new QName("", "Result"), null, null, new
StringDeserializer());
> >
> > is there a way to set a default Deserializer, not just tied to the
> Result?
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to