This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: deploy a class as a web service
 
Similar Threads
Java -> WSDL and WSDL -> Java
web service wich calls another web service
Removing Stateful Session Bean
How on Earth do I get started???!
Complex data type serialization (JWSDP)