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>
>                  <scriptLanguage>javascript</scriptLanguage>
>                  <scriptFile>/myFilePath/myFileName</scriptFile>
>                  <scriptArgs>
>                      <name>output</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>
>                  <scriptText>String</scriptText>
>                  <scriptLanguage>String</scriptLanguage>
>                  <scriptFile>String</scriptFile>
>                  <scriptArgs>
>                      <name>String</name>
>                      <value>String</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/
 


Reply via email to