• 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

Issue in Parsing the xml file using xmlBeans

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have an Issue with XMLBeans,I compiled the schema and created jar used in my project every thing works fine ,I got the response as XML String from the Service when I am parsing the XML String I am getting an Issue.

Usually when you parse the xml string It will gives you xmlObject and you will cast it to your DocumentObject which is your root element.I got the object when I am retrieving the getMethod of the particular element it returns me null instead of returning its value.

I am struck at that point and looking for Help...Please can somebody solve my issue.

Thanks
Ramesh
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ramesh,

There are a lot of gaps (and some very loose terms that I can not connect, I know my bad!) in your posting. In order for me to understand this better, could you post atleast part of your source code.

What parser are you using?
What is this getMethod() ?

- m
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic