T
thomassol
Hi.
I having trouble connecting to a webservice via gprs.
I made a small test app, which can call a webservice that returns X
rows from the database or the datetime from the server.
Everything works, if im connected to the webservice through Activesync
(Bluetooth og usb) but when I use gprs I can only get the Datetime
from the server, not the dataset.
Heres my connect code:
Cursor.Current = Cursors.WaitCursor;
wsStamData.Url = "http://.......";
try
{
SyncWebService.SagDataSet.SagDataTable dtNyeSager =
wsStamData.GetSagerByAntal(antal);
dataGrid1.DataSource = dtNyeSager;
Cursor.Current = Cursors.Default;
return true;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
Cursor.Current = Cursors.Default;
return false;
}
Can anyone tell me what im missing?
Thanks in advance
Thomas Solhøj
I having trouble connecting to a webservice via gprs.
I made a small test app, which can call a webservice that returns X
rows from the database or the datetime from the server.
Everything works, if im connected to the webservice through Activesync
(Bluetooth og usb) but when I use gprs I can only get the Datetime
from the server, not the dataset.
Heres my connect code:
Cursor.Current = Cursors.WaitCursor;
wsStamData.Url = "http://.......";
try
{
SyncWebService.SagDataSet.SagDataTable dtNyeSager =
wsStamData.GetSagerByAntal(antal);
dataGrid1.DataSource = dtNyeSager;
Cursor.Current = Cursors.Default;
return true;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
Cursor.Current = Cursors.Default;
return false;
}
Can anyone tell me what im missing?
Thanks in advance
Thomas Solhøj