• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Newbie question on Axis

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 <><
 
reply
    Bookmark Topic Watch Topic
  • New Topic