Need good simple/example of java client consuming axis web service..

T

triad717

Hello,

1) Can anyone point me to a good example of a java client consuming an
axis web service? AND I don't mean just spitting out the xml... BUT
rather parsing the returning xml and mapping the values to a java
object....

2) How do you go about developing the object that the maps to the xml
being returned by the axis web service? Would you run wsdl2java first
to get some sort of java object?

Thanks for any an all help!
Keith
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

triad717 said:
1) Can anyone point me to a good example of a java client consuming an
axis web service? AND I don't mean just spitting out the xml... BUT
rather parsing the returning xml and mapping the values to a java
object....

You run the wsdl2java tool on the WSDL and you get a nice
Java stub that you can simply call as if it was local call.
You do not need to do any XML parsing at all.
2) How do you go about developing the object that the maps to the xml
being returned by the axis web service? Would you run wsdl2java first
to get some sort of java object?

Exactly !

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top