• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 <><
 
Are you okay? You look a little big. Maybe this tiny ad will help:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic