Re: [flexcoders] Displaying the error string from a web service?
Reading other posts here got me to looking at the resultFormat attribute on the operation element. Setting that attribute cleared up my issues. Thanks, Paul Carson Hager wrote: > Hey Paul, > > All of the details are definitely coming back and should be > accessible. You mention you're getting the erroNumber. How are you > accessing it? Can you share some code so I can see what you're doing? > > Thanks, > > > Carson > > > > Carson Hager > Cynergy Systems, Inc. > http://www.cynergysystems.com <http://www.cynergysystems.com/> > > Email: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Paul Norton > *Sent:* Monday, July 03, 2006 10:38 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Displaying the error string from a web service? > > Hi, > > I'm using flex 2. I'm trying to interface with a webservice. I can get > the app on the server to respond but I'm having trouble interpreting the > response. Even thought the response has an error number, an error > string, and a result node, all I seem to be able to display is the error > number. > > The response from the server looks like this: > > 4Unterminated > > > string > constant > > {WS.RunScript.lastResult} gives me the but I can't see how > to get the errorString (or scriptResult, if it had content.) > > Thanks! > > Paul > > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Displaying the error string from a web service?
Hey Paul, All of the details are definitely coming back and should be accessible. You mention you're getting the erroNumber. How are you accessing it? Can you share some code so I can see what you're doing? Thanks, Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul NortonSent: Monday, July 03, 2006 10:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Displaying the error string from a web service? Hi,I'm using flex 2. I'm trying to interface with a webservice. I can get the app on the server to respond but I'm having trouble interpreting the response. Even thought the response has an error number, an error string, and a result node, all I seem to be able to display is the error number.The response from the server looks like this:ult>>4Unterminated string constantng>>sult>ENV:Body>{WS.RunScript.lastResult} gives me the but I can't see how to get the errorString (or scriptResult, if it had content.)Thanks!Paul __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Displaying the error string from a web service?
Hi, I'm using flex 2. I'm trying to interface with a webservice. I can get the app on the server to respond but I'm having trouble interpreting the response. Even thought the response has an error number, an error string, and a result node, all I seem to be able to display is the error number. The response from the server looks like this: 4Unterminated string constant {WS.RunScript.lastResult} gives me the but I can't see how to get the errorString (or scriptResult, if it had content.) Thanks! Paul -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/