Neville,
I'm sorry that you feel I have been unhelpful, that was never my intention.
Since I did not notice a response post from you for my last post to you I
assumed everything was working for you. Just so you know, I am committed to
helping you figure out this problem. Since I don't want to publish my real
contact info, you (or anyone) can contact me directly through
http://weblogs.asp.net/tom_krueger/contact.aspx after which I will give you
my real email address and phone number.
Dominik, the other gentleman in this news thread had contacted me directly
and we have been trying to figure this out. He provided me a sample
application that called a Web Service which was not working for him. It
worked fine for me through the PPC 2002 Emulator, PPC 2003 Emulator, and on
a HP 4150 device (PPC). My last correspondence with him was asking him what
device / emulator he was using and also asking him to try it from a Windows
Forms applications.
Going back a bit, Neville, in your posts you mentioned that you had two web
servers. When you were calling one, it worked, and when you were calling
another it did not. This tells me that it is a server configuration issue.
From the information I have for your situation I would like to hear your
response to my last post to you. Here is what I wrote:
----------------------------------------------
Sorry that didn't work out for you.
Let me restate the situation:
You have two or more servers that host a web service.
You are calling the web service from Pocket PC (.NET Compact Framework)
You are getting a WebException from only one of the servers.
If this is the correct situation it sounds to me like you have a security
issue or some other server configuration issue on the server. I would
definitely get one of the admins to look into the security with you.
If you still believe it to be a problem with the .NET Compact Framework,
please let me know so we can get it taken care of.
----------------------------------------------
Please notice the situation that I restated, if there is anything different
about your situation, my response could very likely be different. In
addition to my response above, please be sure to try connecting to the web
services on both servers through a Windows Forms application to verify if it
is working that way. I know that in a previous post you mentioned that you
tried this, however, I want to make sure you are testing both your servers
from Windows Forms and not just the one that works.
I didn't want to make too many assumptions or jump to conclusions before
understanding the entire problem, however, I am thinking that (from the
information I have) it is possible this is an authentication issue. I could
see possibility that the Windows Forms application authenticates properly
but the Pocket PC application does not.
In comparing Dominik's problem with your problem there may or may not be any
correlation. As far as I know he is only using One web server and having a
problem where you are using Two web servers and getting the problem on Only
One of them. Again, you both could have the same issue, or totally
different ones. In Dominik's situation I get successful results with his
sample code testing against the same web service, so that tells me he is
either using a device I have not tried or there is some configuration on his
device that is incorrect. So once again, your issues could be totally
unrelated or they could be the same.
I am going to test the following Web Services now. In a way I hope that
they fail for me so I can begin fixing the problem.
http://alpha.kahsystems.com/testservice/service1.asmx?HelloWorld
http://www.pocket-forms.com/testservice/service1.asmx?HelloWorld
Committed to helping you solve this problem,
Tom
--
Tom Krueger
Microsoft Corporation
Program Manager
http://weblogs.asp.net/tom_krueger
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm