• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
 
please buy my thing and then I'll have more money:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic