Tim,

I had a similar problem a few weeks ago and the problem was in the deployment 
descriptor.
Browsing your SOAP-message I see that 'extuserid' has no namespace and when you look 
at the error
message carefully, you will notice that there is the ':' namespace seperator in front 
of the 
element name.
I think specifying an 'empty' namespace in the deployment-descriptor should solve the 
problem,
so add something like
xmlns:x="" qname="x:extuserid" or simply qname=":extuserid" to the appropriate type 
mapping.

Chris

-----Ursprüngliche Nachricht-----
Von: Tim Wei [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Jänner 2002 20:49
An: [EMAIL PROTECTED]
Betreff: No Deserializer found to deserialize


Would somebody please shed light on to my problem?

I did my soap registry like this:

        SOAPMappingRegistry smr = new SOAPMappingRegistry();
        GetExternalUserIDHashtableSerializer mapSer = new
GetExternalUserIDHashtableSerializer();
        smr.mapTypes(Constants.NS_URI_SOAP_ENC,
                     new
QName("http://service.myservice.com/soap/api/";, "extuserid"),
                     Hashtable.class, mapSer, mapSer);

But the result is with a SOAPException with a message "No
Deserializer found to deserialize a ':extuserid'" as you can see
from here:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
   <SOAP-ENV:Body>
      <mvsoap:GetExternalUserIDResponse
                xmlns:mvsoap="http://service.myservice.com/soap/api/";>
                <extuserid>
                        <idname xsi:type="xsd:string">TM_CRDB_SUBSCRIBER_ID</idname>
                        <idvalue xsi:type="xsd:string">001265789</idvalue>
                </extuserid>
                <extuserid>
                        <idname xsi:type="xsd:string">PORTAL_ID_INIT_ENTRY</idname>
                        <idvalue xsi:type="xsd:string">003</idvalue>
                </extuserid>
        </mvsoap:GetExternalUserIDResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Caught SOAPException (SOAP-ENV:Client): No Deserializer found to
deserialize a ':extuserid' using encoding style
'http://schemas.xmlsoap.org
/soap/encoding/'.

=====
Tim's home page: 
http://www.geocities.com/timwei

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

Reply via email to