Reporting Services and XML Datasource

Querying a XML Datasource

Query:

«/span>Query>

    «/span>SoapAction> http://ns.tld/MethodName</SoapAction>

    «/span>Method
Namespace=" http://ns.tld/"
Name="

MethodName" />

    «/span>ElementPath
IgnoreNamespaces="True">*</ElementPath>

</Query>

Passing Parameters

You only have to define your parameters in the parameter tab of your dataset. They are passed automatically to the Webservice Method. If you want to define your parameter yourself and not use a Reporting Services Parameter, just type

«/span>Query>

    «/span>SoapAction> http://ns.tld/MethodName</SoapAction>

    «/span>Method
Namespace=" http://ns.tld/"
Name=" MethodName">

        «/span>Parameter
Name="ParamName">

            «/span>DefaultValue>ParamValue</DefaultValue>

        </Parameter>

    </Method>

    «/span>ElementPath
IgnoreNamespaces="True">*</ElementPath>

</Query>