Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue in Parsing the xml file using xmlBeans

 
Ramesh Chitturi
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic