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!

simple --- Getting 1 value from an xml file

628113Mar 12 2008 — edited Apr 14 2008
version 10.1.0.5.0

I have a procedure which consumes a very simple webservice. The web service multiplies two numbers.

I spit the resulting information into an xml file which is written out to C:\oraload\somefilename.xml

I don't want to do anything fancy. I just want to get the answer and read it into a variable. Here is the xml file I am trying to read:


<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<MultiplyResponse xmlns="http://tempuri.org/">
<MultiplyResult>25</MultiplyResult>
</MultiplyResponse>
</soap:Body>
</soap:Envelope>

all I want is to read the result between the MultiplyResult tags into a variable.

Please help.

Message was edited by:
user625110
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2008
Added on Mar 12 2008
7 comments
7,691 views