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

How to parse SOAP Xml using java code ?

 
Prabhat Ranjan
Ranch Hand
Posts: 397
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am able to prase normal xml using java.

but SOAP XML , i am not able to parse.

Please nay one help me out how to do it in java.

My SOAP XMl is strating with the tag:



java code for parsing:

 
Saurabh Joshi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prabhat,

Try this,


this works for my SOAP message.
Hope it helps.
 
Prabhat Ranjan
Ranch Hand
Posts: 397
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks yaar its working fine for me.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic