This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
wood burning stoves
 
subject: Tutorial Apache Axis web service returning complex types (IntelliJ)