How do you copy a file into SharePoint using a WebService?

后端 未结 10 1506
执念已碎
执念已碎 2020-12-10 06:45

I am writting a winforms c# 2.0 application that needs to put an XML file into a document library on SharePoint.

I want to use a WebService instead of using the ob

10条回答
  •  盖世英雄少女心
    2020-12-10 07:22

    I'm not sure if it will solve your problem but, when you reference the webservice, don't use the [site] part of the URL.

    Try instead: http://[server]/_vti_bin/[webservice].

    I'm not an expert in SP but I'm pretty sure the webservices belongs to the main server, not to an especific site.

    Hope it helps.

提交回复
热议问题