File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes deploy a class as a web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "deploy a class as a web service" Watch "deploy a class as a web service" New topic

deploy a class as a web service

Daniel S.G.

Joined: Dec 21, 2004
Posts: 4

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 returns another 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 recives 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.
[ December 29, 2004: Message edited by: Daniel S�nchez G�mez ]
I agree. Here's the link:
subject: deploy a class as a web service
jQuery in Action, 3rd edition