Bad http connection (400) from Simple Native Iphone App to test .net Web Service

Posted by leo on Stack Overflow See other posts from Stack Overflow or by leo
Published on 2009-12-10T01:54:55Z Indexed on 2010/04/13 2:02 UTC
Read the original article Hit count: 426

Filed under:
|
|
|

Dear all,

I have written a simple hello world .net web service which will accept 2 parameters and return the parameters as a string. The web service is hosted by IIS on a windows xp pc.

I am able to access the web service using safari on the iphone simulator, successfully tested the operation using HTTP POST by clicking the "invoke" button.

However, when I use the native app on the iphone simulator, I keep getting a bad http connection error 400 on the IIS log. I have tested my native app with http://viium.com/WebService/HelloWorld.asmx and it works.

I have already added

Does anyone know what is wrong? Is it some settings that have not configured correctly?

Thank you very much in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about web-services