File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tutorial Apache Axis web service returning complex types (IntelliJ)

 
Jeoffrey Ewallie
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic