You might want to consider getting the latest AXIS from CVS and setting <parameter name="axis.doAutoTypes" value="true"/>
In server-config.wsdd and client-config.wsdd. For the right kind of JavaBean, this might save you a lot of effort. Hope this helps. -----Original Message----- From: Daniel Sánchez Gómez [mailto:[EMAIL PROTECTED] Sent: 29 December 2004 17:07 To: [EMAIL PROTECTED] Subject: deploy a class as a web service Hi, I need to deploy a class as a web service. I have done simple web services with axis. I would like to do my web service with axis too. The problem is that I don't found any tutorial about axis+webservices+complex types of datas. It's necessary for me, because I have a method wich recives a java bean and then it return anther java bean. Web services with simple types is very easy for me, but it's impossible if I use complex types. For example. In my class there is a method wich recived a Java Bean Person. When I generate the stubs with WSDL2Java I obtain another class Person automaticaly. When I truck the SoapBinding file and I try to compile it, I obtain an error between my Person Bean and the class Person generated automaticaly. Where I can found an example abaut axis and complex types? Thank you very much. Dani