I'm trying to send SOAP requests with WebService.
WebService.loadWSDL seems to load the configuration stuff. I know I can use getOperation, then Send to send things, but the callbacks from the AsyncToken never seem to get called.
Am I doing things right? I don't want to do this with the UI XML; I want to do it in ActionScript.
I'm not sure Send is what I really want to do, and I'm not sure what the parameters are for a remote call.
Say I have
Code:
<SomeOperation xmlns="http://foo.com/file">
<Parameter1>foo</Parameter1>
<Parameter2>bar</Parameter2>
</SomeOperation >
the xmlns and SomeOperation part should have been parsed with loadWSDL (I think). I'm not sure how to send the parameters. I tried making XML objects with Parameter1 as the root, but I didn't get a response.
Pointers, examples, and anything else would be appreciated.
Thank you!