RE: [flexcoders] Re: WebService returning results, but event.result is null
Interestingly enough, setting the resultFormat to e4x does indeed properly populate the event.result. I'm guessing this has got to be some sort of parsing error in the WebService classes attempts to marshal the results as objects. Has anyone else run across this issue? Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Something like: proxy.find.resultFormat = e4x; Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:49 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Ok,so, given im making a call like this: public function getMediaItems(eventId:Number):AsyncToken{ var req:Object = new Object(); req['event-id'] = eventId; var token:AsyncToken = proxy.find(req); token.addResponder(responder); return token; } How do I get a handle on the operation? (in this case, it's the find method of my service, proxy. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Well, actually it is at the operation/method level. The default is object, which converts your soap xml into a tree of dynamic objects, and this has some issues. Change it to e4x, which will preserve the xml, to see if the behavior changes. Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Not specifically. But the default object conversion is the source of *many* problems. It is a quick way to display data, but that is about all. I don't see how, even theoretically, that a single algorithm could handle any arbitrary XML input and produce a reliable, predicatable object tree. And dynamic objects can have poor access performance, and the object tree does not provide e4x expressions for manipulation. Ease of use is its only benefit. I steer folks away from it any chance I get. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Monday, January 19, 2009 12:51 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Interestingly enough, setting the resultFormat to e4x does indeed properly populate the event.result. I'm guessing this has got to be some sort of parsing error in the WebService classes attempts to marshal the results as objects. Has anyone else run across this issue? Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Something like: proxy.find.resultFormat = e4x; Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:49 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Ok,so, given im making a call like this: public function getMediaItems(eventId:Number):AsyncToken{ var req:Object = new Object(); req['event-id'] = eventId; var token:AsyncToken = proxy.find(req); token.addResponder(responder); return token; } How do I get a handle on the operation? (in this case, it's the find method of my service, proxy. Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Well, actually it is at the operation/method level. The default is object, which converts your soap xml into a tree of dynamic objects, and this has some issues. Change it to e4x, which will preserve the xml, to see if the behavior changes. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders
[flexcoders] Re: WebService returning results, but event.result is null
Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com, Jeff Tapper j...@... wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
[flexcoders] Re: WebService returning results, but event.result is null
HmCould you post the Soap response. --- In flexcoders@yahoogroups.com, Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Well, actually it is at the operation/method level. The default is object, which converts your soap xml into a tree of dynamic objects, and this has some issues. Change it to e4x, which will preserve the xml, to see if the behavior changes. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
[flexcoders] Re: WebService returning results, but event.result is null
The operation does and I believe it defaults to object. It has to be something simple. Have you checked the parameter on the resultEvent function? Maybe you have E and are calling e.result? I'm grasping at straws here. I have never seen event.result as null. Does WebService have an event.lastresult? --- In flexcoders@yahoogroups.com, Jeff Tapper j...@... wrote: I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtapper@ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Nothing so simple as that, god, I wish it was that easy. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 5:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null The operation does and I believe it defaults to object. It has to be something simple. Have you checked the parameter on the resultEvent function? Maybe you have E and are calling e.result? I'm grasping at straws here. I have never seen event.result as null. Does WebService have an event.lastresult? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtapper@ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Ok,so, given im making a call like this: public function getMediaItems(eventId:Number):AsyncToken{ var req:Object = new Object(); req['event-id'] = eventId; var token:AsyncToken = proxy.find(req); token.addResponder(responder); return token; } How do I get a handle on the operation? (in this case, it's the find method of my service, proxy. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Well, actually it is at the operation/method level. The default is object, which converts your soap xml into a tree of dynamic objects, and this has some issues. Change it to e4x, which will preserve the xml, to see if the behavior changes. Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?
RE: [flexcoders] Re: WebService returning results, but event.result is null
Something like: proxy.find.resultFormat = e4x; Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:49 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Ok,so, given im making a call like this: public function getMediaItems(eventId:Number):AsyncToken{ var req:Object = new Object(); req['event-id'] = eventId; var token:AsyncToken = proxy.find(req); token.addResponder(responder); return token; } How do I get a handle on the operation? (in this case, it's the find method of my service, proxy. Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null Well, actually it is at the operation/method level. The default is object, which converts your soap xml into a tree of dynamic objects, and this has some issues. Change it to e4x, which will preserve the xml, to see if the behavior changes. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Friday, January 16, 2009 5:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null I don't believe the mx.rpc.soap.WebService class has a resultFormat property, but, if it does, im using its default. I've only seen that property on HTTPService, not WebService Jeff Tapper Senior Consultant digital primates IT Consulting Group (r) Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 16, 2009 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: WebService returning results, but event.result is null And what is your resultFormat? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Friday, January 16, 2009 3:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null HmCould you post the Soap response. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper j...@... wrote: Oddly enough, I'm getting a ResultEvent, no faults at all. Jeff Tapper Senior Consultant digital primates IT Consulting Group R Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@... From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of valdhor Sent: Friday, January 16, 2009 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: WebService returning results, but event.result is null Are you getting a faultevent or a SoapFault? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Tapper jeff@ wrote: Has anyone dealt with situations where a webservice call is indeed completing properly, and the results can be seen in service capture, and the raw SOAP can be seen in event.message.body, but yet the event.result is coming through null? I'm battling that very issue now. Any advice or words of wisdom?