Android access the WebService through soap2 met HTTP request failed, HTTP status

    The author use C# on the server to write a Webservice, Then the Android client through soap2 function call webservice, Met HTTP request failed, HTTP status: 302 problem, In the online can not find the answer, And I found that every time I in the browser address input WebService access., The browser is automatically added to the URL.?AspxAutoDetectCookieSupport=1, In the online search about the 302 question is because the resources or URL redirect to another place., That is added to the URL AspxAutoDetectCookieSupport=1 it?. The original WebService URL to add the suffix changed it, and AspxAutoDetectCookieSupport=1 meaning "automatically detect whether to support the cookie, if you want to remove the AspxAutoDetectCookieSupport=1, can be treated as follows in the WebService web.config file:

<sessionStatemode="InProc"cookieless="false"timeout="20"/>

Posted by Frank at November 20, 2013 - 10:34 PM