• 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

Jaxb, WASD and getting to the XML

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working in WSAD which limits us to the 1.4 JVM and use of JAXB 1.0.

We interact with a service through the classes generated in WebSphere and are successfully getting back a response from the service.

I have been asked if there is a way that we can capture part of the actual XML message and put it into a string rather than use the objects to get at response data. I could use the objects to rebuild part of the xml response but I am wondering if anyone knows of an easy way to get the actual xml response given that we are using an early version of JAXB.

If need be I can part through the reponse for the piece I want assuming I can get my hands on the XML within the code.

I have been trying to locate the JAXB 1.0 javadoc but having little luck.

Thanks in advance for any help.

Chris
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found objects useful to maintain the contract if I want to add/delete fields it does not break the contract of the web service with its client. Why do you want the reverse?
 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic