aspose file tools
The moose likes Web Services and the fly likes deploy a class as a web service Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "deploy a class as a web service" Watch "deploy a class as a web service" New topic
Author

deploy a class as a web service

Daniel S.G.
Greenhorn

Joined: Dec 21, 2004
Posts: 4
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 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.
Dani
[ December 29, 2004: Message edited by: Daniel S�nchez G�mez ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: deploy a class as a web service
 
Similar Threads
How on Earth do I get started???!
Removing Stateful Session Bean
Complex data type serialization (JWSDP)
Java -> WSDL and WSDL -> Java
web service wich calls another web service