[seek-dev] deserializer error

Saritha Bhandarkar Saritha.Bhandarkar at asu.edu
Fri Jun 11 13:49:54 PDT 2004

Thank you very much for your response. From what I understand, to use
<beanmapping> the java class should follow the standard JavaBean
pattern. And for any arbitrary java class, wsdl2java can be used to
generate custom serializers/deserializers and they need to be included
with <typemapping> tag. Please correct me if I am wrong...

Since the service style is RPC, I tried using <beanmapping> in place of
<typemapping> and it is still unable to find the deserializer.


Saritha Bhandarkar
Research Assistant
Center for Environmental Studies
ASU-Tempe AZ
saritha.bhandarkar at asu.edu

-----Original Message-----
From: seek-dev-admin at ecoinformatics.org
[mailto:seek-dev-admin at ecoinformatics.org] On Behalf Of Jing Tao
Sent: Thursday, June 10, 2004 9:57 AM
To: Saritha Bhandarkar
Cc: 'seek-dev'
Subject: Re: [seek-dev] deserializer error

Hi, Saritha:

What is it style for this serive? Is it java.RPC? As I remembered, if 
service look like "<service ... provider="java:RPC"> or <service ... 
style="RPC">" in wsdd file, beanMapping should be used rather than 

The details about beanMapping can be found:

Hope this will be helpful.


On Wed, 9 Jun 2004, Saritha Bhandarkar wrote:

> Date: Wed, 09 Jun 2004 17:19:43 -0700
> From: Saritha Bhandarkar <Saritha.Bhandarkar at asu.edu>
> To: 'seek-dev' <seek-dev at ecoinformatics.org>
> Cc: 'Saritha Bhandarkar' <Saritha.Bhandarkar at asu.edu>
> Subject: [seek-dev] deserializer error
> Hi,
> I am trying to deploy EcoGrid version of Xanthoria service on axis and
> test it (no globus api's are used currently). So far, I have
> successfully deployed the service at
> I generated Junit
> test case to test it, and the get method works fine. But when I try to
> run the query method, I am getting a SAXException: No deserializer
> error for ResultsetType_resultsetMetadata. Axis users' guide
> (http://ws.apache.org/axis/java/user-guide.html ) says the following
> should be present in the wsdd file:
> "<typeMapping qname="ns:local" xmlns:ns="someNamespace"
>     languageSpecificType="java:my.java.thingy"
>     serializer="my.java.Serializer"
>     deserializer="my.java.DeserializerFactory"
>     encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>"
> In my wsdd file I do have the following entry for
> ResultsetType_resultsetMetada:
> <typeMapping
> xmlns:ns="ecogrid://ecoinformatics.org/ecogrid-resultset-1.0.0beta1"
> qname="ns:ResultsetType_resultsetMetadata"
> type="java:org.ecoinformatics.ecogrid.ResultsetType_resultsetMetadata"
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
> Yet I don't understand why I am getting this error. I also looked at
> output of tcpmon utility and found that the xml resultset is returned
> Xanthoria! 
> Any help with this is greatly appreciated.
> Thanks in advance.
> Saritha
> Saritha Bhandarkar
> Research Assistant
> Center for Environmental Studies
> ASU-Tempe AZ
>  <mailto:saritha.bhandarkar at asu.edu> saritha.bhandarkar at asu.edu

Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101

seek-dev mailing list
seek-dev at ecoinformatics.org

More information about the Seek-dev mailing list