Hi chad,

The error specifies that it is looking for a qualified name of "metadata"
(which is what you named in your test client).

But the mapping in your descriptor calls it "metedata" on the service side.

So, of course, it is not finding it.   Just change the 'e' into an 'a' in
your mapping and you should be okay.


francis



>> -----Original Message-----
>> From: Chad La Joie [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, October 01, 2001 1:09 PM
>> To: [EMAIL PROTECTED]
>> Subject: No Deserialize found
>>
>>
>> I am getting the following error from a test SOAP client.
>>
>> Error: No Deserializer found to deserialize a
>> 'metadata-rsscatalog:metadata' using encoding style
>> 'http://schemas.xmlsoap.org/soap/encoding/'.
>>
>> Whats odd is that the server seems to be finding, and accepting, the
>> BeanSerializer just fine as my Serializer, but it apparently
>> doesn't like
>> to use the BeanSerializer as the Deserializer for my class.  Below is my
>> deployment descriptor
>>
>> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
>> id="urn:rss-catalog">
>>          <isd:provider type="java" scope="Application"
>> methods="addChannel
>> editChannel isChannel removeChannel getChannelMetadata query">
>>                  <isd:java class="edu.vt.ward.rss.catalog.Catalog"
>> static="false"/>
>>          </isd:provider>
>>
>> <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:f
>> aultListener>
>>          <isd:mappings>
>>                  <isd:map
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>>                  xmlns:x="metadata-rsscatalog" qname="x:metedata"
>>                  javaType="edu.vt.ward.rss.catalog.ChannelMetadata"
>>
>> java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>>
>> xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
>>          </isd:mappings>
>> </isd:service>
>>
>> And here is the code in my client dealing with the SOAPMapping
>>
>>                        SOAPMappingRegistry registry = new
>> SOAPMappingRegistry();
>>                        BeanSerializer serializer = new BeanSerializer();
>>                            registry.mapTypes(Constants.NS_URI_SOAP_ENC,
>>                            new QName("metadata-rsscatalog", "metadata"),
>>                            ChannelMetadata.class, serializer,
>> serializer);
>>
>> Can anyone think of any reason why this would happen?  The
>> ChannelMetadata
>> class does follow all the rules for beans.
>>
>> Chad La Joie                    "It is true that you never know what
>> Middleware Services              you have until it is gone, but
>> it is also
>> IS&C - Virginia Tech             true that you never know what you've
>>                                   been missing until it arrives."
>>

Reply via email to