Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Calling webservices from a Pocket PC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arne - 26 Nov 2004 17:09 GMT
I am able to connect from a console test application to a webservice on my
local machine.
I am unable to connect to the same webservice from a Pocket PC 2003 emulator.
What can I do?
Dan Rogers - 29 Nov 2004 21:21 GMT
Are you using the compact framework to develop your application?  You
should be able to call a web service using the proxy classes that are part
of the framework.  The code you use in a console app would not be the same
as that which you use on a pocket PC.

Hope this helps,

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Calling webservices from a Pocket PC
>thread-index: AcTT2qHCncDjpJuZSu6fftwy8+xTOg==
[quoted text clipped - 16 lines]
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA
03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26823
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
>I am able to connect from a console test application to a webservice on my
>local machine.
>I am unable to connect to the same webservice from a Pocket PC 2003 emulator.
>What can I do?
Arne - 29 Nov 2004 23:03 GMT
,Dan,
Yes I have figured out how to call a web services from a Pocket PC.
Originally I was trying to call the webservice from localhost which doesn not
work. I have to call the webservice by the name of the computer or by IP
address, which does work.
I am using the compact framework. I had also change some attributes in the
proxy code.
Arne.

> Are you using the compact framework to develop your application?  You
> should be able to call a web service using the proxy classes that are part
[quoted text clipped - 37 lines]
> emulator.
> >What can I do?
Dan Rogers - 30 Nov 2004 00:54 GMT
Hi Arne,

Yes, localhost won't work (that is a network shortcut that is useful for
testing/developing on a single machine, but it requires a loop-back entry
(127.0.0.0) in your hosts file AND a local web server for it to work.  Glad
you got it figured out.

Dan Rogers
Microsoft Corporation

--------------------
>Thread-Topic: Calling webservices from a Pocket PC
>thread-index: AcTWZ5Qa2P7jYR9JQ42Chyj8IEDF8Q==
>X-WBNR-Posting-Host: 65.112.197.229
>From: "=?Utf-8?B?QXJuZQ==?=" <Arne@discussions.microsoft.com>
>References:  <558B8F14-FB65-4956-9EB5-7A2383C034DB@microsoft.com>
<8iGepll1EHA.3436@cpmsftngxa10.phx.gbl>
>Subject: RE: Calling webservices from a Pocket PC
>Date: Mon, 29 Nov 2004 15:03:02 -0800
[quoted text clipped - 12 lines]
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26879
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 37 lines]
>> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>> >Path:

cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA
>> 03.phx.gbl
>> >Xref: cpmsftngxa10.phx.gbl
[quoted text clipped - 6 lines]
>> emulator.
>> >What can I do?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.