Sharepoint 2010 - Document Upload via Web Service (Exception) -
i using "copy" web service attempt upload document sp2010 website. however, when execute "copyintoitems" method, receive webexception (details below). i'm following general approach suggested in post: simplest way upload document sharepoint using web services.
any suggestions?
system.net.webexception unhandled message="the request failed error message:\r\n--\r\n<html><head><title>object moved</title></head><body>\r\n<h2>object moved <a href=\"%2f_login%2fdefault.aspx%3freturnurl%3d%252fsites%252fnn%252f_vti_bin%252fcopy.asmx\">here</a>.</h2>\r\n</body></html>\r\n\r\n--." source="system.web.services" stacktrace: @ system.web.services.protocols.soaphttpclientprotocol.readresponse(soapclientmessage message, webresponse response, stream responsestream, boolean asynccall) @ system.web.services.protocols.soaphttpclientprotocol.invoke(string methodname, object[] parameters)
you might referring incorrect asmx url, check here http://www.landofsharepoint.com/2009/08/error-when-trying-to-reference-custom.html
also, authentication of site ? ntlm or fba ?
Comments
Post a Comment