R
Roland Riess
Hi all,
as an absolute beginner with all web matters I'm sure there are still
many things that I do net understand yet - so please point me to the
right direction whereever you feel that I'm wrong.
I developped a web service (VS 2003, ASP.NET1.1, IIS 5.0 on Windows
2000) that does some database sync actions and which is called trough a
WLAN connection from a pocket pc (VS 2003, C#). On my development pc
everything is ok so far, I can connect and address the service which
returns what it is expected to.
My problem starts when I leave my development pc and install the web
service on the target server (a machine with a different IP address,
which should be standard for a web service): the proxy class of the
consuming application (and I think this is nothing special for a pocket
pc), which is created by adding the web reference to the targeted
service was compiled with the IP of my development computer where the
service was hosted during development - so it does not find the service
on the target server. So I have to recompile the proxy class (say: the
whole consuming app with the new IP) in order to be able to address the
server. But can it be possible that I have to know the target IP address
at compile time of my app? And furthermore that would mean that I would
have to compile one particular application for each customer, as each of
them runs the web service to be consumed on its own server with its own IP!?
Where is the point where I am going wrong or don't know how do do things
the way they are expected? Any help is appreciated!
Oh, by the way: what files (and settings?) do I have to add to my web
service setup project for that the service will run on the target
machine? I'm still a little lost with all that.
Thanks in advance.
Regards,
Roland
as an absolute beginner with all web matters I'm sure there are still
many things that I do net understand yet - so please point me to the
right direction whereever you feel that I'm wrong.
I developped a web service (VS 2003, ASP.NET1.1, IIS 5.0 on Windows
2000) that does some database sync actions and which is called trough a
WLAN connection from a pocket pc (VS 2003, C#). On my development pc
everything is ok so far, I can connect and address the service which
returns what it is expected to.
My problem starts when I leave my development pc and install the web
service on the target server (a machine with a different IP address,
which should be standard for a web service): the proxy class of the
consuming application (and I think this is nothing special for a pocket
pc), which is created by adding the web reference to the targeted
service was compiled with the IP of my development computer where the
service was hosted during development - so it does not find the service
on the target server. So I have to recompile the proxy class (say: the
whole consuming app with the new IP) in order to be able to address the
server. But can it be possible that I have to know the target IP address
at compile time of my app? And furthermore that would mean that I would
have to compile one particular application for each customer, as each of
them runs the web service to be consumed on its own server with its own IP!?
Where is the point where I am going wrong or don't know how do do things
the way they are expected? Any help is appreciated!
Oh, by the way: what files (and settings?) do I have to add to my web
service setup project for that the service will run on the target
machine? I'm still a little lost with all that.
Thanks in advance.
Regards,
Roland