This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes Tutorial Apache Axis web service returning complex types (IntelliJ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Tutorial Apache Axis web service returning complex types (IntelliJ)" Watch "Tutorial Apache Axis web service returning complex types (IntelliJ)" New topic
Author

Tutorial Apache Axis web service returning complex types (IntelliJ)

Jeoffrey Ewallie
Greenhorn

Joined: Mar 19, 2013
Posts: 4
Hi guys,

I'm completely new to web services, but to get my degree I need to configure some web services in a company with a very complex system.

However I already did many research and some simple tutorials (sending and receiving strings from client to web service), I'm unable to create a Apache Axis 1.4 web service that returns (a list of) complex types. Does anyone here have any good tutorial(s) for me, about complex types? And it would be a God's gift is the tutorials used IntelliJ.

Thanks in advance.
Jeoffrey Ewallie
Greenhorn

Joined: Mar 19, 2013
Posts: 4
So I would like to be able to send custom objects from classes on the web service (for example Customer.class) to the client, and so the client can read the custom objects (for example Customer objects).

I suppose this is possible, via the complex types. But however I have no idea how to do this.

The tutorial I used to send and receive strings via Apache Axis is the following: http://wiki.jetbrains.net/intellij/Developing_a_simple_Apache_Axis_WebService
Jeoffrey Ewallie
Greenhorn

Joined: Mar 19, 2013
Posts: 4
Nevermind, I got it to work... The only thing I had to do was... add a default constructor to my custom class (with no parameters)...

Hope this helps some other people anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tutorial Apache Axis web service returning complex types (IntelliJ)