Hi Seth,
Thanks for replying. I'm creating a webservices client for Netsuite. The usual SOAP request for login operation would look something like this: <soapenv:Body> <platformMsgs:login xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:platformCore="urn:core_2008_1.platform.webservices.netsuite.com" xmlns:platformMsgs="urn:messages_2008_1.platform.webservices.netsuite.com"> <platformMsgs:passport> <platformCore:email>[EMAIL PROTECTED]</platformCore:email> <platformCore:password>mypassword</platformCore:password> <platformCore:account>724168</platformCore:account> </platformMsgs:passport> </platformMsgs:login> </soapenv:Body> Raw request from charles is this: <amfx ver="3" xmlns="http://www.macromedia.com/2005/amfx"> <body> <object type="flex.messaging.messages.CommandMessage"> <traits> <string>body</string> <string>clientId</string> <string>correlationId</string> <string>destination</string> <string>headers</string> <string>messageId</string> <string>operation</string> <string>timestamp</string> <string>timeToLive</string> </traits> <object> <traits/> </object> <null/> <string/> <string/> <object> <traits> <string>DSId</string> <string>DSMessagingVersion</string> </traits> <string>nil</string> <int>1</int> </object> <string>473AC219-432D-44B1-76AC-9CA3030ED6BA</string> <int>5</int> <int>0</int> <int>0</int> </object> </body> </amfx> Raw response was blank or some character like this: _____ Error from the flash debugger is this: [MessagingError message='Invalid AMFX packet. Content must start with an <amfx> node'] at mx.messaging.channels.amfx::AMFXDecoder$/decodePacket()[E:\dev\3.0.x\framewo rks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:149] at mx.messaging.channels.amfx::AMFXDecoder/decode()[E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:91] at mx.messaging.channels::HTTPChannel/decodePacket()[E:\dev\3.0.x\frameworks\pr ojects\rpc\src\mx\messaging\channels\HTTPChannel.as:539] at mx.messaging.channels::HTTPChannel/pingCompleteHandler()[E:\dev\3.0.x\framew orks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:551] at ChannelRequestLoader/callEventCallback()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\HTTPChannel.as:1158] at ChannelRequestLoader/completeHandler()[E:\dev\3.0.x\frameworks\projects\rpc\ src\mx\messaging\channels\HTTPChannel.as:1194] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete() I didn't touch services-config.xml tho. Do I need to edit the endpoint in the channel definition? Thanks. Cheers, Clem _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seth Hodgson Sent: Wednesday, June 18, 2008 12:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an <amfx> node I think a bit more background on your app would be helpful. It sounds like you're receiving a response from the server that isn't correctly encoded AMFX, meaning that you're using an HTTPChannel to connect the client to the server. What is being invoked on the server specifically? If you monitor your HTTP traffic using something like Charles, what does the raw response being returned to the player look like? Seth From: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com [mailto:[EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com] On Behalf Of gnu wolf Sent: Tuesday, June 17, 2008 8:39 PM To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com Subject: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an <amfx> node Hello Guys, I have a different error now. Invalid AMFX packet. Content must start with an <amfx> node How do I fix this thing? I know it has something to do with my connection settings or proxy settings but which specifically should I check. Thanks in advance.