You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Daniel Sánchez Gómez <da...@yahoo.es> on 2004/12/29 18:06:53 UTC

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