NullReferenceException when trying to access a Webservice

I

ital1

Hi

I have an C# application that works well when it tries to access a
remote java webservice from a desktop computer via LAN.

When running this same C# code on an emulator (VS2003) I have a
NullReferenceException.

I've verified the connection and it is ok. I can also reach the http
server that handles the webservice and it is ok too.

When running this same C# code on a VS 2005 emulator (C# code + Compact
Framework .NET beta 2), the same error stills show.

I've update the Compact Framework to CF1.0SP3 but the error is still
the same. I verified that the SP3 components were well installed on the
PDA and they are...

I really can't understand why it works on a desktop computer but not on
Emulators (VS2003+CF1, VS2005+CF2) + Connectivity ok.

It does not work also on a real device (PPC2003) connected through
ActiveSync 8 and that can reach the server via HTTP also.

There is no firewall, no proxy, but direct connections through switch.

Thank you.
 
A

Alex Yakhnin

How are you accessing the web service?
Did you create a proxy?
Is it a default port (80) or something else?
 

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