VS2005 CF Emulator Web Service HTTP Listener

G

Guest

Trying to create a web service of a dev machine not using the web server and
have an emulator app consume the web service.
ie Create it in the web service on the file system and when it runs it runs
as HTTP Listener, using a non standard port.

Problem is that only the localhost can connect to the web service. When I
run a CF app (all though the add web reference finds it) the app fails
because the dev machine refuses the connection.
_______________________________________________________________
| PS Got the emulator networking running thanks to the blog at
|
| http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx |
| Thanks Akhune
|
|This needs to be formally in the documentation, and up front in your face! |
|_____________________________________________________________|

Tried:
Making the web service port fixed.
Tried making the web service authentication *, none
Tried changing the URL from localhost to the IP address of the dev machine
(and dev machine's name), in the smartdevice apps web reference .... VS
through a wobbly at that.
Tried setting anonymous access etc in Menu-Website-ASP.NET Config
Nothing worked

In the dev machine's browser. I could access the web service only if I used
localhost in the url, even after lowering security.

Only by creating the web site on the real web server on teh dev machine
could the emulator app access the web service and the browser "view" the web
service with the url using the dev machine IP address or name.

Is there a way to allow emaultor apps to access http listener web services
on the dev machine? O rdo you need to use a real web server with
emulator-web service app development?

--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318
 
G

Guest

Thanks for that. I'll try that.
The situation is that set up our lab this year with VS2005 but removed IIS
because of Cassini/HTTP Listener, because it gets around the admin debugging
issue with IIS.
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318
 

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