macromedia flash flash remoting:
I've been working on an interface to a .net-coded web service to support an
application I'm working on. Up until this morning, everything was working
fine, I could call a service defined by the WSDL from the web service and get
the expected results.
This morning, after working for an hour or two, suddenly things stopped
working. Calls to defined services from the WSDL suddenly began generating
faults, giving the following errors:
faultCode->WSDL.MultiplePorts
faultString->There are multiple possible ports in the WSDL file; please
specify a service name and port name!
The code I am using to get the web service and make the call is posted here.
Let me know if anything seems wrong.
(and sorry for the ridiculous formatting and that stupid emoticon. I didn't
put it there, it should be a capital P. Also, there shouldn't be a > in front
of the URL for the WSDL file, but it seems to be showing up in preview, nice
interface here!).
import mx.services.*;
_global.dwService = new
WebService("
http://www.digitalwell.washington.edu/wsapi/frontendapi.asmx?wsdl");
dwResultObj = _global.dwService.EnumPublicOnly(123, 3,"Folder", 79, 19,
"Folder:CollectionID;Folder:ParentCollectionID;Folder:Name", "Folder","");
dwResultObj.onResult = function (result) {
//examine the bits and pieces returned by the SOAP call
for (val in result) {
trace(val+": "+result[val]);
}
}
dwResultObj.onFault = function (fault) {
// see what errors get generated, if any
trace(fault.faultcode+'->'+fault.faultstring);
}