.NET Web サービスに Web メソッドへの複雑なパラメーターがあり、 SOAP を使用して Report Builder 2.0でその Web メソッドにクエリを実行したいと考えています。soapUIを使用すると、その Web メソッドに対する次の SOAP リクエストを取得できます。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:qcr="MyNamespace">
<soapenv:Header/>
<soapenv:Body>
<qcr:MyWebMethod>
<qcr:MyComplexParameter><!--Represents a serializable class-->
<qcr:Action>?</qcr:Action><!--string-->
<qcr:ActionSortAscending>?</qcr:ActionSortAscending><!--Boolean-->
<qcr:ActionSortOrder>?</qcr:ActionSortOrder><!--int-->
</qcr:MyComplexParameter>
</qcr:MyWebMethod>
</soapenv:Body>
</soapenv:Envelope>
以前に使用した Report Builder 2 のクエリは、文字列、整数、またはその他の単純な型をパラメーターとして受け取る Web メソッドのみでした。この SOAP 要求に対してReport Builder 2 クエリを作成するにはどうすればよいですか?
単純なパラメーターを使用した Web メソッドの Report Builder 2 クエリの例:
<Query>
<Method Name="MyWebMethod" Namespace="MyNamespace">
<Parameters>
<Parameter Name="MyStringParameter"><DefaultValue>foo</DefaultValue></Parameter>
<Parameter Name="MyNumericParameter"><DefaultValue>3</DefaultValue></Parameter>
</Parameters>
</Method>
<ElementPath IgnoreNamespaces="true">MyWebMethodResponse {}/MyWebMethodResult {}/Result</ElementPath>
</Query>