geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Schmidt <>
Subject JAX-RPC Web Service with Complex Types
Date Wed, 15 Jun 2005 02:38:09 GMT

I have further questions regarding web services..

I have managed to get a simple method running (of type: public String 
getMessage()) in on a JSE. But I am getting an Axis Fault for the 
following type: public MySimpleBean[] getBeans()

 faultCode: {}Server.userException
 faultString: No serializer found for class in registry 

The WSDL element for this (simple :-)) complexType is:

<xsd:schema targetNamespace="urn:" xmlns:ns2="urn:http://arrays/com/ibm/dw/reallybigpet"
xmlns:soap="" xmlns:soap11-enc=""
xmlns:tns="urn:" xmlns:wsdl=""
xmlns:xsd="" xmlns:xsi="">
			<xsd:import namespace="urn:http://arrays/com/ibm/dw/reallybigpet"/>
			<xsd:complexType name="Category">
					<xsd:element name="id" nillable="true" type="xsd:string"/>
					<xsd:element name="name" nillable="true" type="xsd:string"/>

I read in some JAX-RPC tutorial that the inclusion of the <java-xml-type-mapping> element
is not necessary in the JAX-RPC mapping file if you are using standard XML schema built-in
types with standard mapping to Java. I believe that happens with my Category bean.

Since I get the 'no serializer found' exception I was wondering where I 
should specify the Category.class for the serializer to find it?


Stefan Schmidt

View raw message