locked
How Create SharePoint Task RRS feed

  • Question

  • Hello All  ,

          I need to Create task in sharepoint but i dont have Sharepoint work environment . I need to create a console App to Create a task in sharepoint locations .

    i found a way link using share Point web services i can Access create but i dont know how to porcess it 

    can any one please help me out 

    thank's

     

    Tuesday, September 17, 2013 5:43 AM

Answers

All replies

  • Hello All , I have use the code shown below Add REf : http://test/Sharepoint1010/Lists/Tasks/_vti_bin/Lists.asmx using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; namespace ConsoleApplication20130912 { class Program { static void Main(string[] args) { D.Lists listService = new D.Lists(); listService.Credentials = CredentialCache.DefaultNetworkCredentials; System.Xml.XmlNode ndListItems = listService.GetListCollection(); } } } Error : Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section. can any one help me out
    Tuesday, September 17, 2013 6:05 AM
  • Hello,

    Try to set URL parameter as well. Follow the below link and change the value as per your setting

    http://www.sharepointdynamics.net/2008/01/how-to-add-a-new-list-item-to-sharepoint-using-the-list-item-web-service/

    Hope it could help


    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Patrick_Liang Tuesday, September 24, 2013 3:46 PM
    Tuesday, September 17, 2013 9:10 AM