File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Issue in Parsing the xml file using xmlBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Issue in Parsing the xml file using xmlBeans" Watch "Issue in Parsing the xml file using xmlBeans" New topic
Author

Issue in Parsing the xml file using xmlBeans

Ramesh Chitturi
Greenhorn

Joined: Feb 04, 2006
Posts: 1
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

Joined: Jun 03, 2000
Posts: 5040
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


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue in Parsing the xml file using xmlBeans