Thanks for the suggestion.  I tried:

// variation five
ws.sendStrings("One","Two","Three");

// variation six
ws.sendStrings(new Array("One","Two","Three"));

Both of the above result in the exact same empty SOAP message being 
generated.  Any other ideas?  Given the number of variations that I 
have tried, I'm beginning to wonder if this is a bug?

Thanks for the help.

--Kaleb

--- In [email protected], "Renaun Erickson" <[EMAIL PROTECTED]> 
wrote:
>
> Try:
> ws.sendStrings("One","Two","Three");
> 
> Which should make the call with 3 distinct parameters.
> 
> Renaun
> 
> --- In [email protected], "kaleb_pederson" <kibab@> 
wrote:
> >
> > I'm using a webservice that requires that an array of strings be 
> > passed to one function.  Each method that I have tried to send 
array 
> > parameters fails.  By fails, I mean the request is successfully 
sent 
> > to the server but the parameter list is empty and thus the 
response 
> > isn't valid for the request that I'm attempting to make.
> > 
> > Here are the variations that I have tried:
> > 
> >        ws = new mx.rpc.soap.mxml.WebService();
> >        
> > 
ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
> >         // waits for loadWSDL to finish
> > 
> >         // variation one
> >         var op:Object = ws.getOperation("sendStrings");
> >         op.arguments = new Array("One","Two","Three");
> >         op.send();
> > 
> >         // variation two
> >         ws.sendStrings.arguments = new 
Array("One","Two","Three");
> >         ws.sendStrings.send();
> > 
> >         // variation three
> >         ws.sendStrings.send(new Array("One","Two","Three"));
> > 
> >         // variation four
> >         ws.sendStrings.send("One","Two","Three");
> > 
> > The request that's made looks like the following (less 
formatting):
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> > <SOAP-ENV:Envelope
> >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >         
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> >         xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > <SOAP-ENV:Body>
> > <ns1:sendStrings 
> > xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/"; />
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> > 
> > The response that comes back looks like the following:
> > 
> > <?xml version="1.0" ?>
> > <soapenv:Envelope
> >         
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> >         xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> >         
> > xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
> > <soapenv:Header 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
> > </soapenv:Header>
> > <soapenv:Body>
> > <ns1:sendStringsResponse></ns1:sendStringsResponse>
> > </soapenv:Body>
> > </soapenv:Envelope>
> > 
> > The XSD shows the following input specification:
> > 
> > <xs:complexType name="sendStrings">
> >  <xs:sequence>
> >  <xs:element name="arg0" type="xs:string" maxOccurs="unbounded" 
> > minOccurs="0"/>
> >  </xs:sequence>
> > </xs:complexType>
> > 
> > I also tried using MXML without any success.  See the following 
for 
> > details:
> > 
> >
> 
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452
> > 
> > Any thoughts?  Am I missing something obvious?  I can give you 
more 
> > information, including the complete WSDL, so please let me know 
if 
> > there is anything else that would be useful.
> > 
> > Thanks.
> > 
> > --Kaleb
> >
>






--
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