Question
WebService bug
I am trying to execute the following code:
var wsdlURI = " http://queue.amazonaws.com/doc/2006-04-01/QueueService.wsdl";
sqsService = new WebService(wsdlURI);
// If the WSDL fails to load the onFault event is fired.
sqsService.onFault = function(fault){
trace("Impossible to load sqs webservice: " + fault.faultstring);
}
sqsService.onLoad = function(wsdl){
trace("loaded wsdl:" +wsdl);
}
And get the following trace:
WebServices Loaded successfully.
Sending error message: /opt/macromedia/fms/scriptlib/webservices/XMLSchema.asc: line 81: ReferenceError: document is not defined
Failed to execute method (XML.onData).
I don't know if this is due to a malformed WSDL or if it's an FMS bug.
Any ideas?
Thanks,
Mark
var wsdlURI = " http://queue.amazonaws.com/doc/2006-04-01/QueueService.wsdl";
sqsService = new WebService(wsdlURI);
// If the WSDL fails to load the onFault event is fired.
sqsService.onFault = function(fault){
trace("Impossible to load sqs webservice: " + fault.faultstring);
}
sqsService.onLoad = function(wsdl){
trace("loaded wsdl:" +wsdl);
}
And get the following trace:
WebServices Loaded successfully.
Sending error message: /opt/macromedia/fms/scriptlib/webservices/XMLSchema.asc: line 81: ReferenceError: document is not defined
Failed to execute method (XML.onData).
I don't know if this is due to a malformed WSDL or if it's an FMS bug.
Any ideas?
Thanks,
Mark
