473,396 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Pocket Application accessing a Webservice on a STANDALONE desktop

Hi, everyone.

That's my environment:
- I have a pocket pc (iPAQ h4350) application developed with
VSNET2003/C# that has a SQL Server CE Database, running. That's working
fine. Obs: the pocket is NOT supposed to have a wireless conection
available.
- I have an access database on a standalone desktop running Windows XP,
i.e., there is NO guaranteed network connection available.
- I've developed a webservice with VSNET2003/C# too to do some data
synchronizing. That's a bunch of webmethods that receive a table name and
returns a dataset to pocket, OR receive a dataset and insert its records
into the corresponding table at the access database. They are running at my
desktop over an IIS 5.0 server, with .Net Framework 1.1 already installed.

Well, here's the problem: ok, when I have a internet connection
available on my desktop, the activesync (3.7.1 OR 3.8, whatever) enables the
pass through feature when the device is placed in the cradle, and from my
application or even from the pocket Internet Explorer i CAN reach my
webservice, or any other page/web application that my IIS provides. But, if
there is no network connection available on the desktop, activesync
teorically just does not provides the pass through, EVEN IF the "address"
requested is the desktop host's name. Or localhost, or 127.0.0.1, or
anyother name I can even define, e.g., at hosts or lmhosts file
(system32\drivers\etc\).

Am I nuts? Or there is a way to make this work?
I just wanted the damn pocket, or the activesync, to be able to resolve
a local address for the pocket when he is connected to my desktop, which IS
in fact acting as a web server.

If that's an enforced rule of activesync - it WILL NOT receive and "pass
through" the request from pocket, even if that's a local address on a
desktop's web server -, is that right?? It should enable pass through
anyway, I think!! After all, I of course am able to open an Internet
Explorer instance on my desktop, and call my webservice normally. And works
when I'm still testing on my PPC emulator.

Please! Need some light here!

Thanks in advance.
Daniel.

--
Fudiotes, desencatum.
Vita brevis.
Nov 23 '05 #1
3 3138
Hi
this is only applied in PPC Emulator. But if you can't found problem, try
connection with loopback adaptor.
Configuring a loopback adapter under Windows 2000
Like any network adapter, installing a loopback adapter is only half of the
process. You also need to configure your new adapter. Perform the following
steps to configure the loopback adapter:

1.. On the Start menu, click Settings, point to Network and Dial-up
Connections, and then click Local Area Connection. The Local Area Connection
Status dialog displays.
2.. Click Properties. The Local Area Connection Properties window
displays.
Note Check to make sure that you are working with the right connection.
The Connection Using field of this dialog should read "Microsoft Loopback
Adapter".
3.. Select Internet Protocol (TCP/IP), and then click Properties. The
Internet Protocol window displays.
4.. Configure the IP address properties.
5.. Click OK to close the Internet Protocol window.
6.. Click OK to close the Local Area Connection Properties window.
7.. Click Close to close the Local Area Connection Status window.
http://www.codeproject.com/netcf/net..._Desktop_Setup
----------------------------
GuyV

"Daniel Liberman" <daniel@no_sp_am.bestway.com.br> wrote in message
news:uH*************@tk2msftngp13.phx.gbl...
Hi, everyone.

That's my environment:
- I have a pocket pc (iPAQ h4350) application developed with
VSNET2003/C# that has a SQL Server CE Database, running. That's working
fine. Obs: the pocket is NOT supposed to have a wireless conection
available.
- I have an access database on a standalone desktop running Windows XP, i.e., there is NO guaranteed network connection available.
- I've developed a webservice with VSNET2003/C# too to do some data
synchronizing. That's a bunch of webmethods that receive a table name and
returns a dataset to pocket, OR receive a dataset and insert its records
into the corresponding table at the access database. They are running at my desktop over an IIS 5.0 server, with .Net Framework 1.1 already installed.

Well, here's the problem: ok, when I have a internet connection
available on my desktop, the activesync (3.7.1 OR 3.8, whatever) enables the pass through feature when the device is placed in the cradle, and from my
application or even from the pocket Internet Explorer i CAN reach my
webservice, or any other page/web application that my IIS provides. But, if there is no network connection available on the desktop, activesync
teorically just does not provides the pass through, EVEN IF the "address"
requested is the desktop host's name. Or localhost, or 127.0.0.1, or
anyother name I can even define, e.g., at hosts or lmhosts file
(system32\drivers\etc\).

Am I nuts? Or there is a way to make this work?
I just wanted the damn pocket, or the activesync, to be able to resolve a local address for the pocket when he is connected to my desktop, which IS in fact acting as a web server.

If that's an enforced rule of activesync - it WILL NOT receive and "pass through" the request from pocket, even if that's a local address on a
desktop's web server -, is that right?? It should enable pass through
anyway, I think!! After all, I of course am able to open an Internet
Explorer instance on my desktop, and call my webservice normally. And works when I'm still testing on my PPC emulator.

Please! Need some light here!

Thanks in advance.
Daniel.

--
Fudiotes, desencatum.
Vita brevis.

Nov 23 '05 #2
I am not sure I understand the question, but be aware of that the localhost,
127.0.0.1, might be different from the PocketPC's point of view. I think it
is safer to use the 'name' of the host instead. Or use the command
ipconfig/all to figure out the ip-address of the PC host.

"guyv" wrote:
Hi
this is only applied in PPC Emulator. But if you can't found problem, try
connection with loopback adaptor.
Configuring a loopback adapter under Windows 2000
Like any network adapter, installing a loopback adapter is only half of the
process. You also need to configure your new adapter. Perform the following
steps to configure the loopback adapter:

1.. On the Start menu, click Settings, point to Network and Dial-up
Connections, and then click Local Area Connection. The Local Area Connection
Status dialog displays.
2.. Click Properties. The Local Area Connection Properties window
displays.
Note Check to make sure that you are working with the right connection.
The Connection Using field of this dialog should read "Microsoft Loopback
Adapter".
3.. Select Internet Protocol (TCP/IP), and then click Properties. The
Internet Protocol window displays.
4.. Configure the IP address properties.
5.. Click OK to close the Internet Protocol window.
6.. Click OK to close the Local Area Connection Properties window.
7.. Click Close to close the Local Area Connection Status window.
http://www.codeproject.com/netcf/net..._Desktop_Setup
----------------------------
GuyV

"Daniel Liberman" <daniel@no_sp_am.bestway.com.br> wrote in message
news:uH*************@tk2msftngp13.phx.gbl...
Hi, everyone.

That's my environment:
- I have a pocket pc (iPAQ h4350) application developed with
VSNET2003/C# that has a SQL Server CE Database, running. That's working
fine. Obs: the pocket is NOT supposed to have a wireless conection
available.
- I have an access database on a standalone desktop running Windows

XP,
i.e., there is NO guaranteed network connection available.
- I've developed a webservice with VSNET2003/C# too to do some data
synchronizing. That's a bunch of webmethods that receive a table name and
returns a dataset to pocket, OR receive a dataset and insert its records
into the corresponding table at the access database. They are running at

my
desktop over an IIS 5.0 server, with .Net Framework 1.1 already installed.

Well, here's the problem: ok, when I have a internet connection
available on my desktop, the activesync (3.7.1 OR 3.8, whatever) enables

the
pass through feature when the device is placed in the cradle, and from my
application or even from the pocket Internet Explorer i CAN reach my
webservice, or any other page/web application that my IIS provides. But,

if
there is no network connection available on the desktop, activesync
teorically just does not provides the pass through, EVEN IF the "address"
requested is the desktop host's name. Or localhost, or 127.0.0.1, or
anyother name I can even define, e.g., at hosts or lmhosts file
(system32\drivers\etc\).

Am I nuts? Or there is a way to make this work?
I just wanted the damn pocket, or the activesync, to be able to

resolve
a local address for the pocket when he is connected to my desktop, which

IS
in fact acting as a web server.

If that's an enforced rule of activesync - it WILL NOT receive and

"pass
through" the request from pocket, even if that's a local address on a
desktop's web server -, is that right?? It should enable pass through
anyway, I think!! After all, I of course am able to open an Internet
Explorer instance on my desktop, and call my webservice normally. And

works
when I'm still testing on my PPC emulator.

Please! Need some light here!

Thanks in advance.
Daniel.

--
Fudiotes, desencatum.
Vita brevis.


Nov 23 '05 #3
I am not sure I understand the question, but be aware of that the localhost,
127.0.0.1, might be different from the PocketPC's point of view. I think it
is safer to use the 'name' of the host instead. Or use the command
ipconfig/all to figure out the ip-address of the PC host.

"guyv" wrote:
Hi
this is only applied in PPC Emulator. But if you can't found problem, try
connection with loopback adaptor.
Configuring a loopback adapter under Windows 2000
Like any network adapter, installing a loopback adapter is only half of the
process. You also need to configure your new adapter. Perform the following
steps to configure the loopback adapter:

1.. On the Start menu, click Settings, point to Network and Dial-up
Connections, and then click Local Area Connection. The Local Area Connection
Status dialog displays.
2.. Click Properties. The Local Area Connection Properties window
displays.
Note Check to make sure that you are working with the right connection.
The Connection Using field of this dialog should read "Microsoft Loopback
Adapter".
3.. Select Internet Protocol (TCP/IP), and then click Properties. The
Internet Protocol window displays.
4.. Configure the IP address properties.
5.. Click OK to close the Internet Protocol window.
6.. Click OK to close the Local Area Connection Properties window.
7.. Click Close to close the Local Area Connection Status window.
http://www.codeproject.com/netcf/net..._Desktop_Setup
----------------------------
GuyV

"Daniel Liberman" <daniel@no_sp_am.bestway.com.br> wrote in message
news:uH*************@tk2msftngp13.phx.gbl...
Hi, everyone.

That's my environment:
- I have a pocket pc (iPAQ h4350) application developed with
VSNET2003/C# that has a SQL Server CE Database, running. That's working
fine. Obs: the pocket is NOT supposed to have a wireless conection
available.
- I have an access database on a standalone desktop running Windows

XP,
i.e., there is NO guaranteed network connection available.
- I've developed a webservice with VSNET2003/C# too to do some data
synchronizing. That's a bunch of webmethods that receive a table name and
returns a dataset to pocket, OR receive a dataset and insert its records
into the corresponding table at the access database. They are running at

my
desktop over an IIS 5.0 server, with .Net Framework 1.1 already installed.

Well, here's the problem: ok, when I have a internet connection
available on my desktop, the activesync (3.7.1 OR 3.8, whatever) enables

the
pass through feature when the device is placed in the cradle, and from my
application or even from the pocket Internet Explorer i CAN reach my
webservice, or any other page/web application that my IIS provides. But,

if
there is no network connection available on the desktop, activesync
teorically just does not provides the pass through, EVEN IF the "address"
requested is the desktop host's name. Or localhost, or 127.0.0.1, or
anyother name I can even define, e.g., at hosts or lmhosts file
(system32\drivers\etc\).

Am I nuts? Or there is a way to make this work?
I just wanted the damn pocket, or the activesync, to be able to

resolve
a local address for the pocket when he is connected to my desktop, which

IS
in fact acting as a web server.

If that's an enforced rule of activesync - it WILL NOT receive and

"pass
through" the request from pocket, even if that's a local address on a
desktop's web server -, is that right?? It should enable pass through
anyway, I think!! After all, I of course am able to open an Internet
Explorer instance on my desktop, and call my webservice normally. And

works
when I'm still testing on my PPC emulator.

Please! Need some light here!

Thanks in advance.
Daniel.

--
Fudiotes, desencatum.
Vita brevis.


Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dsnyder | last post by:
This HTML has a bit of Javascript at the end that puts the initial focus on the userID field. It works great on Windows2000 running IE6, but the initial focus never goes to the userID field on...
4
by: Joseph M. Newcomer | last post by:
I have a brand-new CE 2003-based device (ViewSonic V36). Now I want to port a C# app I've writte to the pocket PC> I searched a bit in the MSDN and couldn't come up with what I need to do to...
5
by: Oliver Huppert | last post by:
Hi all, can someone tell me what I need to develop applications for PPC2003 with C#? I have read several meanings about this topic. Do I need Visual Studio .NET or is Visual C# .NET Standard...
8
by: Krishnan Margabandhu | last post by:
I'm writing a Pocket PC app that will run when a device is first powered on. I want this program to get some data from the user and invoke a CAB file to install a software on the device. How do I...
1
by: M O J O | last post by:
Hi, I've developed a Windows VB.Net CRM application for my company. I need my own CRM application to be able to replicate it's calendar with my Pocket PC 2003 Outlook calendar. Understand...
3
by: AAA | last post by:
Hi, how could I deploy all my CF, SQLCE and my applicaiton .CAB file to pocket pc... I am now only able to run the msi setup file and install my application to my pocket pc, but I need to intall...
0
by: mrajsenkumar | last post by:
Hi I am creating application in pocket pc 2003SE. I want retrive pocket pc contacts into my application. i am working in vs2005. i am new in pocket pc. so anybody help me. how to map outlook...
7
by: Jay Balapa | last post by:
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...
5
by: Terry Metcalfe | last post by:
I have an Asus A696 pocket PC. I have written a small test program in VB6 called "Pocket PC" and compiled it just as I would normally do to run on my desk top. It runs on my desk top perfectly...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.