RE: Calling webservices from a Pocket PC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Arne (Arne_at_discussions.microsoft.com)
Date: 11/29/04


Date: Mon, 29 Nov 2004 15:03:02 -0800


,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.

"Dan Rogers" wrote:

> 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==
> >X-WBNR-Posting-Host: 64.210.64.95
> >From: "=?Utf-8?B?QXJuZQ==?=" <Arne@discussions.microsoft.com>
> >Subject: Calling webservices from a Pocket PC
> >Date: Fri, 26 Nov 2004 09:09:04 -0800
> >Lines: 5
> >Message-ID: <558B8F14-FB65-4956-9EB5-7A2383C034DB@microsoft.com>
> >MIME-Version: 1.0
> >Content-Type: text/plain;
> > charset="Utf-8"
> >Content-Transfer-Encoding: 7bit
> >X-Newsreader: Microsoft CDO for Windows 2000
> >Content-Class: urn:content-classes:message
> >Importance: normal
> >Priority: normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> >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?
> >
> >
>
>



Relevant Pages

  • Re: publishing Hello World to local IIS
    ... "Decorate" means to beautify to me and I was at a loss as to how that worked with web services. ... The "WebMethodAttribute" I mentioned is used to indicate that a certain class method of the webservice class should be exposed as "webmethod". ... Public Function HelloWorld() As String ... Public Class Service1 ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: use SOAP header for asp.net session state
    ... We are creating web services for our customer to get data in and out of the system. ... HttpWebRequest class to send/receive webservice request/response SOAP ... cookie returned from server-side ASP.NET webservice. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Dynamic binding in webservices
    ... My code uses web services to transfer some secure data over SSL. ... webservice which is triggered by an asp page. ... Then to work wiht the XML ... > you can use the classes from the System.Xml namespace. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Dynamic binding in webservices
    ... > My code uses web services to transfer some secure data over SSL. ... > webservice which is triggered by an asp page. ... Then to work wiht the XML ... >> you can use the classes from the System.Xml namespace (like ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Webservice works on the browser but not from C# app
    ... Dan ... Webservice works on the browser but not from C# app ... > A first chance exception of type 'System.Net.Sockets.SocketException' ...
    (microsoft.public.dotnet.framework.webservices)