• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jaxb, WASD and getting to the XML  RSS feed

 
Chris Spierings
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!