Connecting to a webservice through grps

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top