J
Jon Vaughan
I have the following code :
Which is being called from a C# Smart device project form and is being
displayed via the vs.net 2003 ppc emulator. Tthe problem that im getting is
that when it tries to call the web service I get the error "Unable to
connect to the remote server", which is caught by the exception over the
soap exception.
I read that this could be a firewall thing , so i dropped the firewall,
which made no difference.
I have tested this code on a vb.net form and it works first time.
public bool DoLogin()
{
bool blnLoginSucessful;
DataSet dsLogin;
blnLoginSucessful = false;
CustomerEngine.Customer objWebservice;
string strError;
strError = "OK";
objWebservice = new CustomerEngine.Customer();
try
{
dsLogin = objWebservice.PinNumberLogin(PinNumber,strError);
blnLoginSucessful = true;
Which is being called from a C# Smart device project form and is being
displayed via the vs.net 2003 ppc emulator. Tthe problem that im getting is
that when it tries to call the web service I get the error "Unable to
connect to the remote server", which is caught by the exception over the
soap exception.
I read that this could be a firewall thing , so i dropped the firewall,
which made no difference.
I have tested this code on a vb.net form and it works first time.
public bool DoLogin()
{
bool blnLoginSucessful;
DataSet dsLogin;
blnLoginSucessful = false;
CustomerEngine.Customer objWebservice;
string strError;
strError = "OK";
objWebservice = new CustomerEngine.Customer();
try
{
dsLogin = objWebservice.PinNumberLogin(PinNumber,strError);
blnLoginSucessful = true;