Because I want to do it programmatically ...

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Stephen 
Russell
Sent: 04 May 2016 12:35
To: [email protected]
Subject: Re: SQL Server Reporting Services Web Service

Why not use Reporting Services UI ?

There you can create the folder and then identify WHO can do WHAT with it.

On Wed, May 4, 2016 at 4:19 AM, Paul Newton <[email protected]>
wrote:

> Hi all
>
> I am trying (initially) to create a new folder in SQL Server Reporting 
> Services.  This is what I have tried so far:
>
> LOCAL loReportingService2010Soap AS "XML Web Service"
> LOCAL loWSHandler
> loWSHandler =
> NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.v
> cx")
> loReportingService2010Soap =
> loWSHandler.SetupClient("C:\Deploy\ReportService2010.wsdl",
> "ReportingService2010", "ReportingService2010Soap")
> loReportingService2010Soap.CreateFolder("Test","/",null)
>
> I am getting the following error message
>
> Error: 1429 - OLE IDispatch exception code 0 from Client:Client:Type 
> conversion failure for element Properties HRESULT = 0x80020005: Type 
> mismatch. - Client:Unspecified client error. HRESULT = 0x80020005: 
> Type mismatch.
>
> The syntax for calling CreateFolder is
>
> Public Sub CreateFolder( _
>    ByVal Folder As String, _
>    ByVal Parent As String, _
>    ByVal Properties() As [Namespace].Property _
> )
>
> In VB or, in C#
>
> public void CreateFolder(
>    string Folder,
>    string Parent,
>    [Namespace].Property[] Properties
> )
>
> But I cannot work out what to send as the Properties parameter from VFP.
> Any suggestions would be much appreciated
>
> Paul Newton
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to