DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 3 Jul 2007 16:13:12 -0500,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    Jay Balapa


Pocket PC - Unable to read data from the transport connection   
Hello,

We have a Pocket PC client application which just connects to our 
webservice. When a client connects his Pocket PC through his WIFI he gets 
the following-  Unable to read data from the transport connection .

I have the same setup and am unable to reproduce this problem. This method 
just tests the webmethod with a helloworld returned.

Any help is greatly appreciated.

-Jay Balapa

Sample Code -

try

                  {

                Cursor.Current = Cursors.WaitCursor;



                        PocketInspector.localhost.PocketService mySrv=new 
PocketInspector.localhost.PocketService();

                        mySrv.Url="http://"+DatabaseGateway.ServerNameString+"/pocketservice.asmx";





                 string myString=mySrv.TestWebService();

                 MessageBox.Show(myString);

                Cursor.Current = Cursors.Default;



                  }

 catch(WebException err)

{

   MessageBox.Show("This program is expected to throw WebException on 
successful run."+

                              "\n\nException Message :" + err.Message);

                        if(err.Status == WebExceptionStatus.ProtocolError)

                        {

                              MessageBox.Show("Status Code : {0}", 
((HttpWebResponse)err.Response).StatusCode.ToString());

                              MessageBox.Show("Status Description : {0}", 
((HttpWebResponse)err.Response).StatusDescription);

                        }

                  }
Date:Tue, 3 Jul 2007 16:13:12 -0500   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us