Can`t retrieve SharePoint GetListItems from the BizTalk 2006 orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Can`t retrieve SharePoint GetListItems from the BizTalk 2006 orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #17376

       

      My orchestration consist a part of shapes to retrieve list from SharePoint portal by GetListItems web service method.

      Construct shape have the following code to prepare request to the web service:

      GetListItemsReqMsg.listName = "{…GUID…}";

      GetListItemsReqMsg.listView = "{…GUID…}";

      GetListItemsReqMsg.rowFilter = "";

      GetListItemsReqMsg.query = new System.Xml.XmlDocument();

      GetListItemsReqMsg.query.LoadXml ("<Query/>");

      GetListItemsReqMsg.viewFields = new System.Xml.XmlDocument();

      GetListItemsReqMsg.viewFields.LoadXml ("<ViewFields/>");

      GetListItemsReqMsg.queryOptions = new System.Xml.XmlDocument();

      GetListItemsReqMsg.queryOptions.LoadXml ("<QueryOptions/>");

       

      When i started my orchestration SoapException occurred with the message "Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.".

      Where is an error at my Construct shape code????????

    • #17457

      the  problem was incorrect path to Lists web service, cause SPS has default Lists.asmx (http://localhost/_vtibin/List.asmx) and non default (http://localhost/sites/{SiteName}/_vtibin/List.asmx)

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.