Log in

View Full Version : Error in calling webservice ffrom pocket pc 2003


bs_ali
06-08-2005, 05:56 PM
Hi EveryOne,

Can anybody help me. I m developing the Pocket Pc application that calls the web service at local host.
For test i m using Pocket pc 2003 emulator.
i recieve following error..........

..........................


SoapHttClientProtocol::doInvoke+0x23f

Unable to connect to the remote server

SoaphttpClientProtocol::doInvoke+0x23f
SoapHttpClientProtocol::Invoke+0x9
Service1::HelloWorld+0x12
Form1::Form1_Load+0xc
Form::OnLoad+0x15
Form::_SetVisibleNotify+0x1d
Control::set_Visible+0x1f
Application::Run+0x7
Form1::Main+0xd

Ok to terminate


.........................



I hv tried my best to connect but it doesnot work.
I hv also changed the client terminal setting (naming server my localhost).
also i hv tried by doing following

___________________________


To configure Pocket PC 2002 or Pocket PC 2000 with no proxy server

Click Start on the emulator, click Settings, click the Connections tab, and then click Network Adapters.
Under Adapters installed, click DC21X4 Ethernet Driver, and then click Properties.
Click Use specific IP address, and then enter 192.168.0.2 in the IP address box, and 255.255.255.0 in Subnet mask box.


To install the Microsoft Loopback Adapter in Microsoft Windows 2000

In Windows Control Panel, double-click Add/Remove Hardware, and then click Next.
Click Add/Troubleshoot a device, and then click Next.
In the Devices list, click Add a new device, and then click Next.
Select No, I want to select the hardware from a list, and then click Next.
In the Hardware types list, click Network adapters, and then click Next.
In the Manufacturers list, click Microsoft.
In the Network Adapter list, click Microsoft Loopback Adapter, and then click Next.
Click Next, and then click Finish


_____________________________________

also i tried to access a simple asp.net page through IE of ppc emulator
but i gives error
Cannot find desired page

_)__________________

Plz help me and also tell me the best book for .NEt compact frame work that also includes part of
ADO.NET

thx in advance

Peter Foot
06-09-2005, 08:59 AM
the warning bells are ringing when you mention "localhost" - since the emulator is a separate virtual machine, localhost will refer to the emulator itself. You'll need to specify the IP address of the host machine itself to reach your webservice.

Peter

Kowalski
06-09-2005, 09:35 AM
open solution explorer ta3b, locate web reference and click on the entry.
on the properties tab you'll see 3 entries.
folder name, url behavior and web reference url.
change the web reference url and instead of localhost, write your ip address.