Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Groovy
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
forum!
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
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Groovy
Help me how to parse XML in Groovy
Suman Alapati
Greenhorn
Posts: 2
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
Please help to retrieve : offerId and offerName Name Values which are 803 and VContract in Groovy xml Parsing
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:getAvailableProductOfferingsResponse xmlns:ns2="http://org/in/treetech/bss/ProductAvailability/ProductSearch"> <ns2:eligibleOfferings> <ns2:productOffering> <ns2:offerId>803</ns2:offerId> <ns2:offerName>VContract</ns2:offerName> </ns2:productOffering> </ns2:eligibleOfferings> </ns2:getAvailableProductOfferingsResponse> </soapenv:Body> </soapenv:Envelope>
Thanks in Advance,
Suman alapati.
Suman Alapati
Greenhorn
Posts: 2
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
Can some one please help me on this issue
Thanks in Advance,
Suman Alapati.
chris webster
Bartender
Posts: 2407
36
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
XML is one of the things Groovy is
really good
at. Try using
XmlSlurper
.
No more Blub for me, thank you, Vicar.
Looky! I'm being abducted by space aliens! Me and this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Problem with Namespace Prefixes with Axis1 but not Axis2
Not able to invoke webservice
Error : Axis Engine Cudn't find the target
need to add namespace ns2: in the all webservices response tags.
Web service client - XML to Object problem
More...