Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Accessing WebServices from PDA (MS pocket PC 4.2)
s4004567
#1 Posted : Sunday, July 22, 2007 10:55:59 PM(UTC)
Groups: Member
Joined: 7/22/2007(UTC)
Posts: 3

hi teams

I tried to access webServices which hosting by Cassini (e.g. CassiniConfigurationService.GetApplicationUrl(xxxx) ) from my PDA application (web services client) on Hp ipag (windows pocket pc 4.2 and .net framework v1.1.4322), it always give me a exception (on PDA): "System.Net.WebException:Unable to read data from the transport connection". however when hosting on IIS the same web services can be access from my PDA.

any suggestions?

kevin
Ultidev Team
#2 Posted : Monday, July 23, 2007 9:40:01 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Kevin,

This does not sound familiar. We are using standard .NET TCP/IP stack and cannot think of anything that could specifically be incompatible with PDA TCP/IP implementation. What happens if you point PDA's browser to Cassini Explorer app running on UltiDev Cassini, like http://machinename:7756/ ? Do you get the same problem? If you do then it would rule out PDA side as a culprit.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
s4004567
#3 Posted : Monday, July 23, 2007 3:07:53 PM(UTC)
Groups: Member
Joined: 7/22/2007(UTC)
Posts: 3

the website e.g. http://localhost:7765/XXXX.asmx doesn't work @ my PDA, do you think that the OS version (i'm currently using Ms PocketPC 4.2) can make any difference, since the website works on my other device which is running Windows Mobile 5.0

thanx
Ultidev Team
#4 Posted : Monday, July 23, 2007 3:42:53 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Kevin,

Could you please confirm that you were using an address that includes actual machine name, and not localhost? Localhost is a hostname for the loopback IP address of 127.0.0.1, which eventually points to the device itself, and not the PC where UltiDev Cassini is hosted.

Assuming you used actual hostname of the machine running Cassini and your web server, we are very surprised to hear that PocketPC 4.2 seems to be failing to connect to the TCP/IP on another Windows. From what you describe PPC 5.0 seems to make a difference, but we never heard about 4.2 having issues with TCP/IP connectivity. Frankly, we are at loss as to which part of the system to blame: Cassini, PC or PPC.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
s4004567
#5 Posted : Monday, July 23, 2007 6:06:39 PM(UTC)
Groups: Member
Joined: 7/22/2007(UTC)
Posts: 3

sorry that i didnt make it clear,

I've a WebServices hosting by Cassini running @ 192.168.xxx.xxx (my desktop ip), and trying to call web methods from my PDAs (one is 4.2, other one is 5.0). but only the one running WM5.0 works.

I've also tried to open "http://my_ip_address:7756/CassiniConfigurationService.asmx" on both PDA, again, only the one running 5.0 returns a webpage.

any thoughs?
thanx

ps. both of PDAs works fine if the WebServices is hosting by IIS. :(
Ultidev Team
#6 Posted : Monday, July 23, 2007 6:53:08 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Kevin,

Unfortunately, you are the first who brings this issue to our attention. Are you running Cassini for ASP.NET 2.0 or for ASP.NET 1.1? We'll try to find out what causes it, but if we end up having to make the code change, it will probably take until next major Cassini release.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.