axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tami Wright" <>
Subject RE: problem defining user defined inner class
Date Tue, 09 Nov 2004 23:13:04 GMT
It does not.  As far as I know the complex types supported in Axis (and
WSDL, for that matter) have to be simple Java Beans with a default
constructor (empty).


-----Original Message-----
From: Kumoro, David [] 
Sent: Tuesday, November 09, 2004 3:19 PM
To: ''
Subject: problem defining user defined inner class

Hi all,
I just joined this mailing list, so hopefully I dont repeat the same

My class looks like this :

//main class
class Search {

	//inner class
	class SearchPart {


The problem is Axis doesnt seem to know about user defined inner class
When I took a look at the wsdl file, it says like this :

 <element name="SearchPart" nillable="true" type="xsd:anyType"

No error occured, but when I tried to run the program (after finish
deploying), it gives this error :

faultString: No serializer found for class
com.test.Search$SearchPart in registry

I have searched through internet, and I cannot find solution for this.
Does Axis support inner class ?


Software Engineer

View raw message