pls look at the links below,hope they will help you.
Let me know if you have any issue.
Shardul Singh Bartwal
You have to mention Web Method name to be called of the web service.
I have created WebService Obj "ws" at flex end
I have web method "CallDummyData" at server side
then syntax would be:
var ws:WebService = new WebService();
If you want to pass parameters to web method then you can pass it using:
-- String --
-- Object --
var objVal:Object = new Object();
objVal.name = "MyName";
If you are getting web method name dynamically then syntax should be:
var _wsGeneralMethod:String = "CallDummyData" // Could be retrieved from server at run time
I guess this would help to resolve you problem. let me know if you need more details.
If this helps you then please mark it as answered.
Thanks for your answers, but they aren't solving my problem.
The programmatic method using webservice class is according to forums not to be used anymore, and I wish to use the built-in facility. My problem being that this fails, as you could check by trying http://datacollection.atim.com/ATIM_DATACOLLECTION/ATIM_DATACOLLECTION_SERVICE.wsdl (if it IS up... which is not always the case, that's why I included that file as TXT in my first message).
I can't figure out why soap.com would work, as well as soapUI... but not flex.
If anybody has some more pointers, I'd be delighted to try again