RE: [flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args)
I can take a look. Can you send me the WSDL directly? Thanks, Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richie Rich Sent: Wednesday, March 15, 2006 9:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args) Any body want to take a look at this please. --- In flexcoders@yahoogroups.com, Richie Rich [EMAIL PROTECTED] wrote: Hello, I am trying to send aWebService Operation to a WSDL with a Complex Type with 4 nodes (children) and one of the nodes have 2 additional args that need to be passed. Here is the MXML Code i am currently using: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=absolute creationComplete=myIDSP.RunScript.send() mx:WebService id=myIDSP wsdl=http://SomeNetwork/myWSDL.wsdl; mx:operation name=RunScript mx:request runScriptParameters scriptText/scriptText scriptLanguagejavascript/scriptLanguage scriptFile/myFilePath/myFileName/scriptFile scriptArgs nameoutput/name value/myFilePath/myFileName/value /scriptArgs /runScriptParameters /mx:request /mx:operation /mx:WebService mx:TextArea text={myIDSP.RunScript.result} width=521 height=188/ /mx:Application Here is a tested SOAP Message that works with the SOAP Debugger in XMLSpy: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; SOAP-ENV:Body m:RunScript xmlns:m=http://ns.mysite.com/myApp/soap/; runScriptParameters scriptTextString/scriptText scriptLanguageString/scriptLanguage scriptFileString/scriptFile scriptArgs nameString/name valueString/value /scriptArgs /runScriptParameters /m:RunScript /SOAP-ENV:Body /SOAP-ENV:Envelope Everything works fine the scriptText, scriptLanguage and scriptFile values get passed along. But the scriptArgs are not being passed to the endpoint. Is this a bug in FLEX 2? I have tried to trace this down in the FLEX Debugger and It looks as if the MXML code is doing what it suppost to do but the values are not being passed. Any help would be appreciated, Rich -- 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 -- 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/
[flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args)
Hi Pete, Thanks for responding - I went ahead and sent the WSDL to your email addy. Let me know if it made it or it you need anything else. Rich --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: I can take a look. Can you send me the WSDL directly? Thanks, Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richie Rich Sent: Wednesday, March 15, 2006 9:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args) Any body want to take a look at this please. --- In flexcoders@yahoogroups.com, Richie Rich animate_me17@ wrote: Hello, I am trying to send aWebService Operation to a WSDL with a Complex Type with 4 nodes (children) and one of the nodes have 2 additional args that need to be passed. Here is the MXML Code i am currently using: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=absolute creationComplete=myIDSP.RunScript.send() mx:WebService id=myIDSP wsdl=http://SomeNetwork/myWSDL.wsdl; mx:operation name=RunScript mx:request runScriptParameters scriptText/scriptText scriptLanguagejavascript/scriptLanguage scriptFile/myFilePath/myFileName/scriptFile scriptArgs nameoutput/name value/myFilePath/myFileName/value /scriptArgs /runScriptParameters /mx:request /mx:operation /mx:WebService mx:TextArea text={myIDSP.RunScript.result} width=521 height=188/ /mx:Application Here is a tested SOAP Message that works with the SOAP Debugger in XMLSpy: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; SOAP-ENV:Body m:RunScript xmlns:m=http://ns.mysite.com/myApp/soap/; runScriptParameters scriptTextString/scriptText scriptLanguageString/scriptLanguage scriptFileString/scriptFile scriptArgs nameString/name valueString/value /scriptArgs /runScriptParameters /m:RunScript /SOAP-ENV:Body /SOAP-ENV:Envelope Everything works fine the scriptText, scriptLanguage and scriptFile values get passed along. But the scriptArgs are not being passed to the endpoint. Is this a bug in FLEX 2? I have tried to trace this down in the FLEX Debugger and It looks as if the MXML code is doing what it suppost to do but the values are not being passed. Any help would be appreciated, Rich -- 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 -- 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/
[flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args)
Any body want to take a look at this please. --- In flexcoders@yahoogroups.com, Richie Rich [EMAIL PROTECTED] wrote: Hello, I am trying to send aWebService Operation to a WSDL with a Complex Type with 4 nodes (children) and one of the nodes have 2 additional args that need to be passed. Here is the MXML Code i am currently using: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=absolute creationComplete=myIDSP.RunScript.send() mx:WebService id=myIDSP wsdl=http://SomeNetwork/myWSDL.wsdl; mx:operation name=RunScript mx:request runScriptParameters scriptText/scriptText scriptLanguagejavascript/scriptLanguage scriptFile/myFilePath/myFileName/scriptFile scriptArgs nameoutput/name value/myFilePath/myFileName/value /scriptArgs /runScriptParameters /mx:request /mx:operation /mx:WebService mx:TextArea text={myIDSP.RunScript.result} width=521 height=188/ /mx:Application Here is a tested SOAP Message that works with the SOAP Debugger in XMLSpy: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; SOAP-ENV:Body m:RunScript xmlns:m=http://ns.mysite.com/myApp/soap/; runScriptParameters scriptTextString/scriptText scriptLanguageString/scriptLanguage scriptFileString/scriptFile scriptArgs nameString/name valueString/value /scriptArgs /runScriptParameters /m:RunScript /SOAP-ENV:Body /SOAP-ENV:Envelope Everything works fine the scriptText, scriptLanguage and scriptFile values get passed along. But the scriptArgs are not being passed to the endpoint. Is this a bug in FLEX 2? I have tried to trace this down in the FLEX Debugger and It looks as if the MXML code is doing what it suppost to do but the values are not being passed. Any help would be appreciated, Rich -- 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/