I should have put it in the subject line that I am using Flex 2 and FP 8.5.

 

Is there a way to get the XML  using Flex 2 without a proxy?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Carson Hager
Sent: Monday, March 27, 2006 5:02 PM
To: [email protected]
Subject: RE: [flexcoders] How to get the XML of a SOAP fault

 

You simply can't get it unless you use the proxy. There is no way around this without using FP8.5 and Flex 2. We've been through this issue thoroughly with support and engineering.

 

 

Carson

 

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tobias Patton
Sent: Monday, March 27, 2006 4:16 PM
To: [email protected]
Subject: [flexcoders] How to get the XML of a SOAP fault

Hello list;

 

I’m trying to extract SOAP exception information in the fault handler of my web service call. Using tcpflow on my Mac, I can see the that the raw SOAP response looks like this:

 

<?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><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Fault occurred</faultstring><faultactor>http://galiano.creo.com/App/1.3/Service.asmx</faultactor><detail><ExceptionDetails d5p1:DetailCode="1636008" xmlns:d5p1="http://www.kodak.com/WPE/Galiano/" xmlns="http://www.kodak.com/WPE/Galiano/"><Param>Foo</Param></ExceptionDetails></detail></soap:Fault></soap:Body></soap:Envelope>

 

I would like to be able to get the <detail> node from the XML stream, but can’t find the XML anywhere in the FaultEvent sent to my event handler. I would have expected to see it in event.message.body, since this is where it would be in a ResultEvent. However, the debugger shows that this object, though not null, has no contents.

 

Any ideas?


Thanks.
Tobias.

 

Creo Inc., a subsidiary of Kodak

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to