Video Screencast Help

Using the Web Service Caller Generator with SharePoint

Created: 20 May 2013 | 5 comments

I currently use Symantec Workflow Solution 7.1 SP2 and have been trying to use the Web Service Caller generator with SharePoint's web services without success (ex. "Lists.asmx"). I get the same result with SharePoint Services 3.0, SharePoint Foundation 2010 and SharePoint Foundation 2013. I can get through all the generator's steps, but on the last screen of the wizard, most of the methods I need to use are not enabled. When I check the box next to one of them, enter the parameters it prompts for and click "Test", I get the error message below. Most of the methods I need to use start with "System.Xml.XmlNode" (ex. "GetList"), but it appears only the ones starting with "System.String" allow me to finish the wizard (ex. "DeleteList").

Below are some more details about the web service and some screenshots of my problem:

SharePoint Web service: http://[]/_vti_bin/Lists.asmx

I also tried adding "?wsdl" to the end of the web service address with the same result.

Methods I Need: "GetList", "GetListAndView", "GetListItems

Related Images Below:



Operating Systems:

Comments 5 CommentsJump to latest comment

TGiles's picture

Unfortunately the generator is not designed to function with the XmlNode data type. Any web service that uses this specific data type for input or output the generator won't build against it.

Aryanos's picture

Hi TGiles,

Is this something that Symantec is working on fixing for the XmlNode data type or is there nothing that can be done for it?

I like my beats fast and my bass down low

reecardo's picture

There's no way to work around it using the generator. The generator blocks methods with XmlNode and Dataset inputs/outputs for some reason (I'm assuming because they do not play well with the Property Editors of components)

To get around it, you'd have to do something custom in a handcoded component (the Run method would need to convert the XmlNode output - or a property of the output - into something the Property Editor can handle).

loekee's picture

If I can't get the web service caller generator to do this, is there a way I can respond to a SharePoint list event? (ex. ItemAdded, ItemUpdated). Our service desk tickets are stored in SharePoint lists and we don't use Process Manager, though I'd be willing to use some features of it if necessary.

The scenario below describes what I am trying to achieve with workflow and SharePoint, but I'm not sure which type of project(s) to use and how it will be triggered automatically --> no user interaction is required.

1. Monitor a SharePoint list every x minutes for tickets that match a criteria, such as [Status] = "Approved"

2. For each SharePoint list item returned, take some kind of action such as adding an AD user to an AD group and/or sending an email.

3. As each action completes, update the SharePoint list item with the outcome/result ("Completed" or "Error Occurred")

If you have any suggestions or examples, that would be great.

Thank you for the feedback.


kmccann's picture

I have not worked much with Sharepoint integration but I assume that the included Sharepoint component does not provide you with the output you require?