Answered
server-side error including webservice
Hi,
I'm struggling with the webservice functionality on the server-side.
At the top of my main.asc-file I have this line:
load("webservices/WebServices.asc");
That puts the following in my administration console:
"WebServices Loaded successfully."
However, when someone connects to the media server and it tries to initialize and use this webservice using this code:
MyService = new WebService("uri.to.wsdl.file");
I get the following error in the administration console:
Sending error message: C:\Program Files\Adobe\Flash Media Server 3\scriptlib\webservices\XMLSchema.asc: line 110: ReferenceError: document is not defined
Failed to execute method (XML.onData).
I've tried googling it and that gave this result, but the solution suggested here didn't work:
Link to other forum
This is not caused by the webservice itself, since other flash and .Net applications can use it without any problems. Everything also works just fine when I run everything off my local workstation, but as soon as I put the stuff on the server the error message appears (and, yes, I've changed all references to the webservice to be the one on the server instead of the local workstation ;))
What is causing this? Why do I get an error from Adobe's own code?
I'm struggling with the webservice functionality on the server-side.
At the top of my main.asc-file I have this line:
load("webservices/WebServices.asc");
That puts the following in my administration console:
"WebServices Loaded successfully."
However, when someone connects to the media server and it tries to initialize and use this webservice using this code:
MyService = new WebService("uri.to.wsdl.file");
I get the following error in the administration console:
Sending error message: C:\Program Files\Adobe\Flash Media Server 3\scriptlib\webservices\XMLSchema.asc: line 110: ReferenceError: document is not defined
Failed to execute method (XML.onData).
I've tried googling it and that gave this result, but the solution suggested here didn't work:
Link to other forum
This is not caused by the webservice itself, since other flash and .Net applications can use it without any problems. Everything also works just fine when I run everything off my local workstation, but as soon as I put the stuff on the server the error message appears (and, yes, I've changed all references to the webservice to be the one on the server instead of the local workstation ;))
What is causing this? Why do I get an error from Adobe's own code?
