Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
mikadig #1
Unable to connect to endpoint..
I am developing an user interface for mobile devices using Macromedia Flash 8
pro and a .NET webservice. My objective is to make a search through the search
engine provided in the webservice (so i have to establish a WSDL connection
between flash and the webservice and then to pass the input values from the
flash user interface to the webservice, and then retrieve from this one the
results and send them back to the flash user interface).
Now the problem is that i cannot establish any connection between flash and
the webservice for the research method i need (it says "unable to connect to
endpoint: [url]http://-serve[/url] address-"). I didnt find on the internet any
satisfactory help or good code example.
Have you ever developed something like that, so you can give me some
suggestions?
:sad;
fscommand("FullScreen", true);
import mx.services.*;
import mx.data.components.WebServiceConnector;
var fault = function (stat) {
if (stat.code == "WebServiceFault"){
trace(stat.data.faultcode);
trace(stat.data.faultstring);
//trace(stat.data.detail);
}
};
var wsConn:WebServiceConnector = new WebServiceConnector();
wsConn.addEventListener("status", fault);
wsConn.WSDLURL = "http://193.204.184.42/eTer/eTer.asmx?wsdl";
wsConn.multipleSimultaneousAllowed = true;
wsConn.operation = "ricerca_base";
wsConn.params = [""];
wsConn.trigger();
mikadig Guest
-
Unable to connect to FMS from outside of the US
I'm having a really strange problem. We set up our FMS a couple of weeks ago, and are able to stream videos. However, the person that is directing... -
Help me: Unable to connect to FMS
Hello Guys I have an audio recorder . It is working fine on localhost but it is unable to connect to the remote FMS . i have tried... -
"Unable to connect to endpoint" web service error
I am receiving a "Unable to connect to endpoint" error when I try to access a web service with setting useProxy="false". The web service is on thh... -
Unable to connect to SQL 2K via VS.NET
Hi all, As the subject says I'm having trouble connecting to SQL Server 2K via Visual Studio.NET 2002 (VB). It tells me that SQL Server does not... -
Unable to connect
Hello, I have problems with connecting to SQL Server from ESQL/C application. Error message is: SQL Server Message 19703: Unable to connect: SQL... -
supriyaakg #2
Re: Unable to connect to endpoint..
Hi,
Instead of WebConnector class, you could use the WebService Class. Below is a sample code, however, I am unable to pass complex data, but simple data works.
import mx.services.*;
import mx.remoting.*;
import mx.rpc.*;
import mx.data.*;
var myWebServiceObject:WebService = new WebService("http://test.com/mobile_servicesSOAP?wsdl");
myWebServiceObject.onLoad = function()
{
trace("Success call for WSDL");
var MyPendingCallObject:PendingCall = myWebServiceObject.myMethodName();
MyPendingCallObject.onResult = function(result)
{
trace("----" + MyPendingCallObject.response);//output data
}
MyPendingCallObject.onFault = function(fault)
{
trace("Fault = " + fault.faultcode);
trace("Fault = " + fault.faultstring);
}
}
myWebServiceObject.onFault = function(fault)
{
trace("Oops!!!" + fault);
}
Junior Member
- Join Date
- Mar 2011
- Location
- Bhopal
- Posts
- 1



Reply With Quote

