Hi,
I'm trying to create a datadriven subscription for a report using ReportingService2010 webservice. The Sql Server is 2012 version.
I have done it pretty much like in this example : https://technet.microsoft.com/en-us/library/reportservice2010.reportingservice2010.createdatadrivensubscription(v=sql.105).aspx
But when I'm calling
results = rs.PrepareQuery(delivery, dataSetDefinition, out changed, out paramNames);
it gives the error message " "The input XML does not conform to the schema..."
This is propably due to wrong namespace in the dataobjects like in datasource (see below)
/// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
According to this : http://stackoverflow.com/questions/5462425/how-to-use-reportingservice2010
the namespace should be : xmlns="http://schemas.microsoft.com/sqlserver/reporting/2006/03/reportdatasource
instead of http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer
for this to work. How do I go about to fix this!?
Kind regards, Wilson