Re: [Spam] RE: [SPAM] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-16 Thread Tino Dai
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *bhaq1972 *Sent:* Friday, January 08, 2010 4:44 AM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM] [flexcoders] Re: Problem Casting an Object to a known type Hi Nick If the returned object has 3 nested levels its xml

[flexcoders] Re: Problem Casting an Object to a known type

2010-01-08 Thread bhaq1972
Hi Nick If the returned object has 3 nested levels its xml but if it 4 nested levels its not? Do you use flexbuilder debugger? It might be worth putting a breakpoint at the point where you return from the httpserviceand examining it. It might not be a object which can be typecasted to

RE: [SPAM] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-08 Thread Tracy Spratt
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bhaq1972 Sent: Friday, January 08, 2010 4:44 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Problem Casting an Object to a known type Hi Nick

Re: [Spam] RE: [SPAM] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-08 Thread Nick Middleweek
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *bhaq1972 *Sent:* Friday, January 08, 2010 4:44 AM *To:* flexcoders@yahoogroups.com *Subject:* [SPAM] [flexcoders] Re: Problem Casting an Object to a known type Hi Nick If the returned object has 3 nested levels its xml but if it 4

[Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread valdhor
I don't use XML at all any more - I use typed objects via AMF. This cuts down the data traveling across the network significantly. I have multiple nested objects (I don't know whether nested is the right word - I have objects that contain other objects) being returned but I have not found it

Re: [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
Ah nice, thanks Valdor... We're talking to SAP using HTTP Services so no AMF present. 2010/1/7 valdhor valdhorli...@embarqmail.com I don't use XML at all any more - I use typed objects via AMF. This cuts down the data traveling across the network significantly. I have multiple nested

[Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread valdhor
What does SAP run on? Java? Is there no way to add some kind of middleware like WebORB? --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Ah nice, thanks Valdor... We're talking to SAP using HTTP Services so no AMF present. 2010/1/7 valdhor valdhorli...@...

Re: [Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
No, SAP is SAP. It's a beast of a German system. We're talking directly to it's Web Service layer. 2010/1/7 valdhor valdhorli...@embarqmail.com What does SAP run on? Java? Is there no way to add some kind of middleware like WebORB?

[Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread valdhor
A little bit of research shows that there are a number of connectors out there... PHP: http://it.toolbox.com/blogs/php-sap-dev/getting-started-with-php-and-sap-8354 http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12898 Java:

[Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hey Valdor... Thanks for the tip there. Have you ever had problems receiving 4th level nested data from an HTTP Service? We're trying to receive it as e4x or xml but it's coming back as untyped Objects. I'm guessing this

Re: [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
Hi Amy, Mm... What is a way of verifying the returned data is valid XML? It 'looks' ok, but are there tools to check it, I mean it's valid in terms that it looks formatted correctly... Thanks, Nick 2010/1/7 Amy amyblankens...@bellsouth.net --- In flexcoders@yahoogroups.com

[Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi Amy, Mm... What is a way of verifying the returned data is valid XML? It 'looks' ok, but are there tools to check it, I mean it's valid in terms that it looks formatted correctly... Try calling the service from a

Re: [Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Nick Middleweek
Hi Amy, I can't use a browser cause I need to send it a SOAP request, I'll have a hunt for WSDL/ SOAP tester or explorer... Perhaps there's a plugin for Eclipse?... Thanks agan.. N 2010/1/7 Amy amyblankens...@bellsouth.net --- In flexcoders@yahoogroups.com

[Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread valdhor
Copy and paste the XML to a file and then try opening the file in a browser. --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hi Amy, I can't use a browser cause I need to send it a SOAP request, I'll have a hunt for WSDL/ SOAP tester or explorer... Perhaps there's a

[Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Copy and paste the XML to a file and then try opening the file in a browser. That might not show problems like lt;, since those may well be masked by toString() or toXMLString(). Just sayin... Amy

[flexcoders] Re: Problem Casting an Object to a known type

2010-01-06 Thread valdhor
Nick Just for future reference... var myContact : ContactPerson = new ContactPerson(); myContact = ContactPerson(myPerson); is a good example of how memory leaks occur. You create a new variable of a specific type and then allocate some memory for it with the new operator. The variable is

Re: [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-06 Thread Nick Middleweek
Hey Valdor... Thanks for the tip there. Have you ever had problems receiving 4th level nested data from an HTTP Service? We're trying to receive it as e4x or xml but it's coming back as untyped Objects. I'm guessing this is a bug in the Flex framework... Cheers, Nick 2010/1/6 valdhor