Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to write a windows form app that allows me to update a Sharepoint List. Every example I've seen says that once add a web reference to the list using http://server_name/_vti_bin/Lists.asmx you can use that reference to create web service instance, a method of which is List so a declaration should look like

Dim listService As New sp.Lists()

or

Dim listService as sp.Lists = New sp.Lists()

 

However, when I create the reference, Lists is not a method under the namespace sp which is what I called my web service reference. when I type "sp." Lists doesn't appear in the intelli type drop down as an option. I get all sorts of other things like ListsSoapClient and GetListRequest, but not Lists. What am I doing wrong?

Posted
Nevermind, I figured it out. When you click on Add Service Reference you can't select the reference from there, you click on the advanced button in the lower left corner which takes you to the Web Service dialog.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...