Have you tried just dumping & looking at what is being returned by the service?

<cfdump var="#xmlText#" /><cfabort />

Does it dump as an XMLdoc or just a string?
That might give you a hint on the best way to parse it.

Al

On 9/27/2010 5:31 PM, Drew wrote:
Hi,

I using a module that works great in Adobe Coldfusion but is causing
issues in Open Blue Dragon.

I am making a SOAP call to a web service. The return XML is then parse
and saved in a structure. I am having issues retrieve the elements.

Sample XML layout:

<level1>
      <level2>
            <Notifications>
                  <Severity>SUCCESS</Severity>
                  <Message>Transaction Complete</Message>
            </Notifications>
     </level2>
</level1>

Now, in order to retrieve the Severity/Message information, I am using
the following code:

xmlText contains the returned xml value AFTER the XmlParse command.

<cfset severity =
xmlText.level1.level2.Notifications.Severity.xmlText>
<cfset msg = xmltext.level1.level2.Notifications.Message.xmlText>

When I run this, I keep getting an error that says that
xmlText.level1.level2.Notifications.Severity.xmlText doesn't exists.

Okay, now how to read in Open BlueDragon an XML tree.

Thanks in advance for your help,

Drew Nathanson
Technical Synergy, Inc.
[email protected]


--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to