[flexcoders] Re: WebService call with more than one argument in call

2008-06-30 Thread dsb1971
Thank you for your hint. Your syntax led me to:

myService.myOperation.arguments = { param0 { parm1: value1, parm2: 
value2 } };

which is running like a charm. 
I misinterpreted the WSDL-Document defining the input-argument-
structure.

Daniel Schlichtholz

--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

 You want:
 
 myService.myOperation.arguments = { parm1: value1, parm2: value2 };
 myService.myOperation.send();
 
 -Josh
 
 On Mon, Jun 30, 2008 at 5:39 PM, dsb1971 [EMAIL PROTECTED]
 wrote:
 
  Hello group,
 
  I am new to Flex and try to play around with WebServcies. 
Everything
  is ok when I only have one paramter as an argument for the 
service.
  But when I try to use more than one parameter to hand over to the
  service-operation, the value of the first argument overwrites the
  second argument. I do call the Service in this way:
 
  webService.myoperation('D','990');
 
  I did some traffic-sniffing using fiddler and the sent request 
looks
  like this:
 
  SOAP-ENV:Envelope xmlns:SOAP-
  ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xs=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   SOAP-ENV:Body
 ns0:myoperation xmlns:ns0=http://sv.wsbeans.iseries/xsd;
   ns0:param0
 ns0:_IARTNRD/ns0:_IARTNR
 ns0:_IFIRMAD/ns0:_IFIRMA
   /ns0:param0
 /ns0:myoperation
   /SOAP-ENV:Body
  /SOAP-ENV:Envelope
  Whereas it should look like this:
  ...
 ns0:_IARTNRD/ns0:_IARTNR
 ns0:_IFIRMA990/ns0:_IFIRMA
  ...
  Am I doing something wrong or is this a bug in Flex when dealing 
with
  more than one parameter in the service call? I couldn't find an
  example where a webservice uses more than one argument but my 
call is
  just the way it is described in the manual. Does anybody have a 
link
  to a working example that uses webservices with more than one
  argument?
 
  Btw.: up to now I do use the trial version of Flex Builder 3 - 
maybe
  this is a limitation of the trial version?
 
  Thanks in advance for any hint,
 
  Daniel Schlichtholz
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups
  Links
 
 
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for 
thee.
 
 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]





[flexcoders] Re: WebService Call

2006-07-30 Thread richmcgillicuddy
I'll try that and let you know what the results are.


Rich

--- In flexcoders@yahoogroups.com, Franck de Bruijn
[EMAIL PROTECTED] wrote:

 Have you tried to access the wsdl and call the webservice operation from
 another webservice client than Flex?
 
  
 
 The tool I always use is: http://www.soapui.org/jnlp/1.5/soapui.jnlp
(this
 is a webstart link; if you click it, and you have Java installed on your
 machine it should start automatically).
 
  
 
 Cheers,
 
 Franck
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of richmcgillicuddy
 Sent: Friday, July 28, 2006 9:43 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: WebService Call
 
  
 
 Yes,
 
 I see the definition but with most XML parse errors (not just flex),
 the error messages are difficult to track down. It is telling me that
 it cannot add the node . I'll get the exact error message and post
 it later tonight. I'd prefer to use a WebService rather than an Service.
 
 Rich
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 slangeberg slangeberg@ wrote:
 
  So when you point your browser to: http://localhost:
 http://localhost:9126/SOAP 9126/SOAP
  you are seeing the WSDL definition?
  
  Scott
  
  
  On 7/28/06, richmcgillicuddy rich@ wrote:
  
   Thanks for the pointers, they are really helpful. I have my own app
   server and can tell that the flex application calls it, tries to
   retrieve the wsdl file and then in flex it tells me that there is an
   XML parsing error in the wsdl file. It this point, I am leaning
   towards using simple XML since I can generate that if needed. Other
   than download and testing SOAP wsdl validators and making sure it is
   standard, i think the only other option is the straight XML.
  
   Rich
  
  
   --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com
 flexcoders%40yahoogroups.com,
   slangeberg slangeberg@ wrote:
   
Yeah,
   
Try something more like (I'm not sure what your 'FlexData'
 object was
supposed to refer to... ):
   
mx:..sometag onComplete=wsTest.getData()
   
mx:WebService
id=wsTest
wsdl=http://localhost: http://localhost:9126/SOAP 9126/SOAP
fault={trace(-1);}
result={trace(1);}/
   
/mx:...sometag
   
   
On 7/26/06, richmcgillicuddy rich@ wrote:

 I have a simple web service calling a SOAP web service on my
local
 machine. The call looks like:

 mx:WebService id=wsTest
 wsdl=http://localhost: http://localhost:9126/SOAP 9126/SOAP
 load=wsTest.FlexData.getData()
 fault=trace(-1); /

 It seems to hang waiting for localhost and if I let it wait long
 enough, it will give me the following error:

 ReferenceError: Error #1069: Property getData not found on
 mx.rpc.soap.mxml.Operation and there is no default value.
 at Step2/__wsTest_load()
 ...

 On the Web Server side, I am looking for client connects from
 flash
 and do not seem to get even the client connect. Any ideas?

 Is there anything that looks odd with the WebService statement?

 Rich



   
   
   
--
   
: : ) Scott
   
  
   
  
  
  
  
  -- 
  
  : : ) Scott
 







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





RE: [flexcoders] Re: WebService Call

2006-07-30 Thread Franck de Bruijn












You can also post the WSDL here (if it is not
to big), otherwise send it to me by mail: franck (dot) de (dot) bruijn (at) zonnet
(dot) nl and Ill have a look.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Sunday, July 30, 2006 9:15
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call











I'll try that and let you know what the results are.

Rich

--- In [EMAIL PROTECTED]ups.com,
Franck de Bruijn
franck.de.bruijn@... wrote:

 Have you tried to access the wsdl and call the webservice operation from
 another webservice client than Flex?
 
 
 
 The tool I always use is: http://www.soapui.org/jnlp/1.5/soapui.jnlp
(this
 is a webstart link; if you click it, and you have Java installed on your
 machine it should start automatically).
 
 
 
 Cheers,
 
 Franck
 
 
 
 _ 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of richmcgillicuddy
 Sent: Friday, July 28, 2006 9:43 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: WebService Call
 
 
 
 Yes,
 
 I see the definition but with most XML parse errors (not just flex),
 the error messages are difficult to track down. It is telling me that
 it cannot add the node . I'll get the exact error message and
post
 it later tonight. I'd prefer to use a WebService rather than an Service.
 
 Rich
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 slangeberg slangeberg@ wrote:
 
  So when you point your browser to: http://localhost:
 http://localhost:9126/SOAP
9126/SOAP
  you are seeing the WSDL definition?
  
  Scott
  
  
  On 7/28/06, richmcgillicuddy rich@ wrote:
  
   Thanks for the pointers, they are really helpful. I have my own
app
   server and can tell that the flex application calls it, tries to
   retrieve the wsdl file and then in flex it tells me that there
is an
   XML parsing error in the wsdl file. It this point, I am leaning
   towards using simple XML since I can generate that if needed.
Other
   than download and testing SOAP wsdl validators and making sure
it is
   standard, i think the only other option is the straight XML.
  
   Rich
  
  
   --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com
 flexcoders%40yahoogroups.com,
   slangeberg slangeberg@ wrote:
   
Yeah,
   
Try something more like (I'm not sure what your 'FlexData'
 object was
supposed to refer to... ):
   
mx:..sometag >wsTest.getData()
   
mx:WebService
id=wsTest
wsdl=http://localhost:
http://localhost:9126/SOAP
9126/SOAP
fault={trace(-1);}
result={trace(1);}/
   
/mx:...sometag
   
   
On 7/26/06, richmcgillicuddy rich@ wrote:

 I have a simple web service calling a SOAP web service
on my
local
 machine. The call looks like:

 mx:WebService id=wsTest
 wsdl=http://localhost:
http://localhost:9126/SOAP
9126/SOAP
 load=wsTest.FlexData.getData()
 fault=trace(-1); /

 It seems to hang waiting for localhost and if I let it
wait long
 enough, it will give me the following error:

 ReferenceError: Error #1069: Property getData not
found on
 mx.rpc.soap.mxml.Operation and there is no
default value.
 at Step2/__wsTest_load()
 ...

 On the Web Server side, I am looking for client
connects from
 flash
 and do not seem to get even the client connect. Any
ideas?

 Is there anything that looks odd with the WebService
statement?

 Rich



   
   
   
--
   
: : ) Scott
   
  
   
  
  
  
  
  -- 
  
  : : ) Scott
 







__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] Re: WebService Call

2006-07-29 Thread Franck de Bruijn












Have you tried to access the wsdl and call
the webservice operation from another webservice client than Flex?



The tool I always use is: http://www.soapui.org/jnlp/1.5/soapui.jnlp
(this is a webstart link; if you click it, and you have Java installed on your
machine it should start automatically).



Cheers,

Franck











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of richmcgillicuddy
Sent: Friday, July 28, 2006 9:43
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call











Yes,

I see the definition but with most XML parse errors (not just flex),
the error messages are difficult to track down. It is telling me that
it cannot add the node . I'll get the exact error message and post
it later tonight. I'd prefer to use a WebService rather than an Service.

Rich

--- In [EMAIL PROTECTED]ups.com,
slangeberg slangeberg@... wrote:

 So when you point your browser to: http://localhost:9126/SOAP
 you are seeing the WSDL definition?
 
 Scott
 
 
 On 7/28/06, richmcgillicuddy [EMAIL PROTECTED] wrote:
 
  Thanks for the pointers, they are really helpful. I have my own app
  server and can tell that the flex application calls it, tries to
  retrieve the wsdl file and then in flex it tells me that there is an
  XML parsing error in the wsdl file. It this point, I am leaning
  towards using simple XML since I can generate that if needed. Other
  than download and testing SOAP wsdl validators and making sure it is
  standard, i think the only other option is the straight XML.
 
  Rich
 
 
  --- In [EMAIL PROTECTED]ups.com
flexcoders%40yahoogroups.com,
  slangeberg slangeberg@ wrote:
  
   Yeah,
  
   Try something more like (I'm not sure what your 'FlexData'
object was
   supposed to refer to... ):
  
   mx:..sometag >wsTest.getData()
  
   mx:WebService
   id=wsTest
   wsdl=http://localhost:9126/SOAP
   fault={trace(-1);}
   result={trace(1);}/
  
   /mx:...sometag
  
  
   On 7/26/06, richmcgillicuddy rich@ wrote:
   
I have a simple web service calling a SOAP web service on
my local
machine. The call looks like:
   
mx:WebService id=wsTest
wsdl=http://localhost:9126/SOAP
load=wsTest.FlexData.getData()
fault=trace(-1); /
   
It seems to hang waiting for localhost and if I let it wait
long
enough, it will give me the following error:
   
ReferenceError: Error #1069: Property getData not found on
mx.rpc.soap.mxml.Operation and there is no default
value.
at Step2/__wsTest_load()
...
   
On the Web Server side, I am looking for client connects
from
flash
and do not seem to get even the client connect. Any ideas?
   
Is there anything that looks odd with the WebService
statement?
   
Rich
   
   
   
  
  
  
   --
  
   : : ) Scott
  
 
  
 
 
 
 
 -- 
 
 : : ) Scott







__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






[flexcoders] Re: WebService Call

2006-07-28 Thread richmcgillicuddy
Thanks for the pointers, they are really helpful. I have my own app
server and can tell that the flex application calls it, tries to
retrieve the wsdl file and then in flex it tells me that there is an
XML parsing error in the wsdl file. It this point, I am leaning
towards using simple XML since I can generate that if needed. Other
than download and testing SOAP wsdl validators and making sure it is
standard, i think the only other option is the straight XML.


Rich

--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

 Yeah,
 
 Try something more like (I'm not sure what your 'FlexData' object was
 supposed to refer to... ):
 
 mx:..sometag onComplete=wsTest.getData()
 
mx:WebService
   id=wsTest
   wsdl=http://localhost:9126/SOAP;
   fault={trace(-1);}
   result={trace(1);}/
 
 /mx:...sometag
 
 
 On 7/26/06, richmcgillicuddy [EMAIL PROTECTED] wrote:
 
 I have a simple web service calling a SOAP web service on my local
  machine. The call looks like:
 
  mx:WebService id=wsTest
  wsdl=http://localhost:9126/SOAP;
  load=wsTest.FlexData.getData()
  fault=trace(-1); /
 
  It seems to hang waiting for localhost and if I let it wait long
  enough, it will give me the following error:
 
  ReferenceError: Error #1069: Property getData not found on
  mx.rpc.soap.mxml.Operation and there is no default value.
  at Step2/__wsTest_load()
  ...
 
  On the Web Server side, I am looking for client connects from flash
  and do not seem to get even the client connect. Any ideas?
 
  Is there anything that looks odd with the WebService statement?
 
  Rich
 
  
 
 
 
 
 -- 
 
 : : ) Scott








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





RE: [flexcoders] Re: WebService Call

2006-07-28 Thread Franck de Bruijn












The error you get means that the WSDL was
not loaded/parsed correctly.



Are you sure that http://localhost:9126/SOAP returns a
WSDL document?



And are you sure that you serve your application from localhost. I
mean, if you run the application locally through FlexBuilder for example,
highly likely this will not work. You first have to deploy your flex app on the
same host you want to run your webservice on.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Friday, July 28, 2006 3:41
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call











Thanks for the pointers, they are really helpful. I
have my own app
server and can tell that the flex application calls it, tries to
retrieve the wsdl file and then in flex it tells me that there is an
XML parsing error in the wsdl file. It this point, I am leaning
towards using simple XML since I can generate that if needed. Other
than download and testing SOAP wsdl validators and making sure it is
standard, i think the only other option is the straight XML.

Rich

--- In [EMAIL PROTECTED]ups.com,
slangeberg slangeberg@... wrote:

 Yeah,
 
 Try something more like (I'm not sure what your 'FlexData' object was
 supposed to refer to... ):
 
 mx:..sometag >wsTest.getData()
 
 mx:WebService
 id=wsTest
 wsdl=http://localhost:9126/SOAP
 fault={trace(-1);}
 result={trace(1);}/
 
 /mx:...sometag
 
 
 On 7/26/06, richmcgillicuddy [EMAIL PROTECTED] wrote:
 
  I have a simple web service calling a SOAP web service on my local
  machine. The call looks like:
 
  mx:WebService id=wsTest
  wsdl=http://localhost:9126/SOAP
  load=wsTest.FlexData.getData()
  fault=trace(-1); /
 
  It seems to hang waiting for localhost and if I let it wait long
  enough, it will give me the following error:
 
  ReferenceError: Error #1069: Property getData not found on
  mx.rpc.soap.mxml.Operation and there is no default value.
  at Step2/__wsTest_load()
  ...
 
  On the Web Server side, I am looking for client connects from flash
  and do not seem to get even the client connect. Any ideas?
 
  Is there anything that looks odd with the WebService statement?
 
  Rich
 
  
 
 
 
 
 -- 
 
 : : ) Scott







__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






Re: [flexcoders] Re: WebService Call

2006-07-28 Thread slangeberg



So when you point your browser to: http://localhost:9126/SOAP
you are seeing the WSDL definition?

Scott
On 7/28/06, richmcgillicuddy [EMAIL PROTECTED] wrote:






Thanks for the pointers, they are really helpful. I have my own appserver and can tell that the flex application calls it, tries toretrieve the wsdl file and then in flex it tells me that there is anXML parsing error in the wsdl file. It this point, I am leaning
towards using simple XML since I can generate that if needed. Otherthan download and testing SOAP wsdl validators and making sure it isstandard, i think the only other option is the straight XML.Rich

--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:
 Yeah,  Try something more like (I'm not sure what your 'FlexData' object was supposed to refer to... ):  mx:..sometag 
  mx:WebService id=wsTest wsdl=http://localhost:9126/SOAP
 fault={trace(-1);} result={trace(1);}/  /mx:...sometag  
 On 7/26/06, richmcgillicuddy [EMAIL PROTECTED] wrote:   I have a simple web service calling a SOAP web service on my local  machine. The call looks like: 
  mx:WebService id=wsTest  wsdl=http://localhost:9126/SOAP
  load=wsTest.FlexData.getData()  fault=trace(-1); /   It seems to hang waiting for localhost and if I let it wait long  enough, it will give me the following error:
   ReferenceError: Error #1069: Property getData not found on  mx.rpc.soap.mxml.Operation and there is no default value.  at Step2/__wsTest_load()  ... 
  On the Web Server side, I am looking for client connects from flash  and do not seem to get even the client connect. Any ideas?   Is there anything that looks odd with the WebService statement?
   Rich   
 --   : : ) Scott
 -- : : ) Scott 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: WebService Call

2006-07-28 Thread richmcgillicuddy
Yes,

I see the definition but with most XML parse errors (not just flex),
the error messages are difficult to track down. It is telling me that
it cannot add the node . I'll get the exact error message and post
it later tonight. I'd prefer to use a WebService rather than an Service.


Rich

--- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

 So when you point your browser to: http://localhost:9126/SOAP
 you are seeing the WSDL definition?
 
 Scott
 
 
 On 7/28/06, richmcgillicuddy [EMAIL PROTECTED] wrote:
 
 Thanks for the pointers, they are really helpful. I have my own app
  server and can tell that the flex application calls it, tries to
  retrieve the wsdl file and then in flex it tells me that there is an
  XML parsing error in the wsdl file. It this point, I am leaning
  towards using simple XML since I can generate that if needed. Other
  than download and testing SOAP wsdl validators and making sure it is
  standard, i think the only other option is the straight XML.
 
  Rich
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  slangeberg slangeberg@ wrote:
  
   Yeah,
  
   Try something more like (I'm not sure what your 'FlexData'
object was
   supposed to refer to... ):
  
   mx:..sometag onComplete=wsTest.getData()
  
   mx:WebService
   id=wsTest
   wsdl=http://localhost:9126/SOAP;
   fault={trace(-1);}
   result={trace(1);}/
  
   /mx:...sometag
  
  
   On 7/26/06, richmcgillicuddy rich@ wrote:
   
I have a simple web service calling a SOAP web service on my local
machine. The call looks like:
   
mx:WebService id=wsTest
wsdl=http://localhost:9126/SOAP;
load=wsTest.FlexData.getData()
fault=trace(-1); /
   
It seems to hang waiting for localhost and if I let it wait long
enough, it will give me the following error:
   
ReferenceError: Error #1069: Property getData not found on
mx.rpc.soap.mxml.Operation and there is no default value.
at Step2/__wsTest_load()
...
   
On the Web Server side, I am looking for client connects from
flash
and do not seem to get even the client connect. Any ideas?
   
Is there anything that looks odd with the WebService statement?
   
Rich
   
   
   
  
  
  
   --
  
   : : ) Scott
  
 
  
 
 
 
 
 -- 
 
 : : ) Scott








--
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: WebService Call

2006-07-27 Thread richmcgillicuddy
getData() is the operation. It takes no arguments and returns an array
of data. After further investigation I think it is a wsdl file problem.


Rich

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 Don't Webservices require an operation?
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of richmcgillicuddy
 Sent: Wednesday, July 26, 2006 7:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] WebService Call
 
  
 
 I have a simple web service calling a SOAP web service on my local
 machine. The call looks like:
 
 mx:WebService id=wsTest
 wsdl=http://localhost:9126/SOAP http://localhost:9126/SOAP 
 load=wsTest.FlexData.getData()
 fault=trace(-1); /
 
 It seems to hang waiting for localhost and if I let it wait long
 enough, it will give me the following error:
 
 ReferenceError: Error #1069: Property getData not found on
 mx.rpc.soap.mxml.Operation and there is no default value.
 at Step2/__wsTest_load()
 ...
 
 On the Web Server side, I am looking for client connects from flash
 and do not seem to get even the client connect. Any ideas?
 
 Is there anything that looks odd with the WebService statement?
 
 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/
 




RE: [flexcoders] Re: WebService Call

2006-07-27 Thread Tracy Spratt












Im not really that hot with web
services so bear with me.



I am unfamiliar with invoking an operation
in the load event. Have you tried doing it any other way? In AS? Or
defining an operation tag? The way you are doing it you have no way to be
sure it is getting invoked. Id use AS, and trace or alert to make sure
the op is being invoked



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Thursday, July 27, 2006 5:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call











getData() is the operation. It takes no arguments and
returns an array
of data. After further investigation I think it is a wsdl file problem.

Rich

--- In [EMAIL PROTECTED]ups.com,
Tracy Spratt
[EMAIL PROTECTED] wrote:

 Don't Webservices require an operation?
 
 Tracy
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of richmcgillicuddy
 Sent: Wednesday, July 26, 2006 7:58 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] WebService Call
 
 
 
 I have a simple web service calling a SOAP web service on my local
 machine. The call looks like:
 
 mx:WebService id=wsTest
 wsdl=http://localhost:9126/SOAP
http://localhost:9126/SOAP

 load=wsTest.FlexData.getData()
 fault=trace(-1); /
 
 It seems to hang waiting for localhost and if I let it wait long
 enough, it will give me the following error:
 
 ReferenceError: Error #1069: Property getData not found on
 mx.rpc.soap.mxml.Operation and there is no default value.
 at Step2/__wsTest_load()
 ...
 
 On the Web Server side, I am looking for client connects from flash
 and do not seem to get even the client connect. Any ideas?
 
 Is there anything that looks odd with the WebService statement?
 
 Rich







__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___