aspose file tools*
The moose likes Web Services and the fly likes Newbie question on Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Newbie question on Axis" Watch "Newbie question on Axis" New topic
Author

Newbie question on Axis

Rick Crawford
Ranch Hand

Joined: Aug 17, 2001
Posts: 34
Hello all. I'm doing some experimenting with Apache Axis. I've successfully deployed a couple of trivial web services, and am even to the point of returning and serializing JavaBeans from the service. Life is good. But now I have a question that I’m kind of stuck on.
I’m trying to figure out how to write a Java client to use one of my web services that returns a JavaBean, but this time I don't want to depend on Bean serialization on the client to pull out the pieces of data within the class. The scenario is that of a client who doesn’t have access to my compiled Java classes.
What I think I need to do is to invoke the service as per normal, then somehow ask the return result for the soap response, parsing the XML myself for the individual pieces and parts. Is this the correct approach for a scenario like this? I’ve been reading about and experimenting with the MessageContext and Message classes thinking they would give me a handle to the actual soap response, but so far I don’t have anything that works.
Thanks in advance for any suggestions,
Rick <><
 
 
subject: Newbie question on Axis