Hi Community.....

"The request failed with the error message:<head><title>Document Moved</title></head>\n<body><h1>Object Moved</h1>This document may be found <a HREF=\"http://moss:25031/sites/Transformers/default.aspx\">here</a></body>"

I get this error whenever i trying to use my WebServices via Proxy Class.
I have created a Custom WebService, It builds fine. Then i created a .disco and .wsdl file by using disco command.
because this service is for sharepoint so thats why i did some changes in .wsdl file. for confirmation i check the url in browser it shows me my wsdl file data. then i create Proxy class by using WSDL command with url/myTest.asmx?WSDL. i get myTest.cs proxy class. Now i am using this proxy class in windows application, when i try to use any method of my Webservices it show me error..
my code in WinApp is

myTest test = new myTest(url);
            test.PreAuthenticate = true;
            test.Url = url;
            testCredentials = CredentialCache.DefaultCredentials;

   string st = test.GetAllData(configEN);

last line shows me error.
"The request failed with the error message:<head><title>Document Moved</title></head>\n<body><h1>Object Moved</h1>This document may be found <a HREF=\"http://moss:25031/sites/Transformers/default.aspx\">here</a></body>"

configEN is nothing but a string type variable which is used in WebServices WebMethod.

Hi,

Did you ever get an answer to this? I'm experiencing the same when trying to create a new document library.

Cheers,
Kia

This article has been dead for over six months. Start a new discussion instead.