Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to extract from xmltype

930817Apr 17 2012 — edited Apr 18 2012
Hi,

Below is the response im getting from a web service.
This is being stored in a variable of type XMLTYPE

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<TICKETCreateRespMsg xmlns="http://www.testurl.com/webservices/">
<body xmlns="">
<CreateTicket>
<TICKET_NO>A-32758628</TICKET_NO>
<SUMMARY></SUMMARY>
<ERROR_MSG></ERROR_MSG>
</CreateTicket>
</body>
</TICKETCreateRespMsg>
</env:Body>
</env:Envelope>

Since I am new to this, I am not able to figure out how to extract the text values of nodes TICKET_NO,SUMMARY and ERROR_MSG
Please help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2012
Added on Apr 17 2012
14 comments
14,967 views