Hi Cindy,
The SOAP.connect() function should return a JavaScript object that is a proxy for the webservice and so should have a method called getAllServiceNames (if that is an operation defined by the webservice).
I assume if you paste the WDSL address into a browser you see the WSDL definition.
The error you are getting suggests you are getting as far as the line "var result = service.getAllServiceNames();". Seems strange that you are getting past the line "if(service.getAllServiceNames == "undefined")".Maybe you could try a console.println(service.getAllServiceNames.toSource()) at this point and seeing what it actually is.
You could also try setting SOAP.wireDump to true which will add some debugging information
Are you seeing any of the 'Yellow Message Bar' messages in Reader (just under the toolbar). If your form has been generated from a different domain than the website you can get some cross domain issues. There is a log file under Acrobat's Preferences ... Security (Enhanced) ... "Cross domain log file" (you may have to restart Acrobat before the "View" button is enabled.
Regards
Bruce