Hi Robert
I've never been able to call a web service that takes parameters programmatically. There are people who've told me that it is possible, but I've never had much success.
My suggeestions are:
1. Drag and drop your wsdl root node from the data view into your form. This will create a visual way to invoke your web service, including both input and output parameters. Verify that this all works.
2. Create a button that does something like this:
WebServiceInputField.rawValue = "some value";
WebServiceSubmitButton1.execEvent("click");
3. Make all the fields you created in step 1 invisible.
This is known as the "Two button submit trick", and is very useful for invoking a web service (or another submit button) from within script.
You can find the same trick in Adobe's own Process Management fields.
Howard
http://www.avoka.com