Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
GetParameterPickList throwing soap server error.
Migrateduser
<p>Hi,</p><p> </p><p>I am using IDAPI to get the parameter selection list of a parameter in a cascading parameter group. Below is my code:</p><div> ParameterValue[] l_paramValue = new ParameterValue[1];</div><div> l_paramValue[0] = new ParameterValue(); </div><div> string value = "7";</div><div> l_paramValue[0].Value = value;</div><div> ObjectIdentifier objId = new ObjectIdentifier( );</div><div> string fileName = "/Public/BIRT and BIRT Studio Examples/Application Compliance.rptdesign";</div><div> string fileType = "rptdesign";</div><div> objId.Name = fileName;</div><div> objId.Type = fileType;</div><div> GetParameterPickList l_paramSelList = new GetParameterPickList(); </div><div> l_paramSelList.Object = objId;</div><div> l_paramSelList.CascadingGroupName = "CascadeGp1";</div><div> l_paramSelList.ParameterName = "LocationID";</div><div> l_paramSelList.PrecedingParameterValues = l_paramValue;</div><div> GetParameterPickListResponse l_paramPkList = <strong>[color=#ff0000;]l_proxy.getParameterPickList(l_paramSelList);[/color]</strong></div><div> </div><div>My code is in C#.</div><div> </div><div>When i run this code i get a soap server error with below details:</div><div><div>System.Web.Services.Protocols.SoapException was unhandled by user code</div><div> Message=Soap Server error.</div><div> Source=System.Web.Services</div><div> Actor=""</div><div> Lang=""</div><div> Node=""</div><div> Role=""</div><div> StackTrace:</div><div> at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)</div><div> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)</div><div> at WebApplication1.ind10150.ActuateAPI.getParameterPickList(GetParameterPickList GetParameterPickList1) in E:WORKTestAppBIRTBirtIntFcWebApplication1Web Referencesind10150Reference.cs:line 2157</div><div> at WebApplication1._Default.LinkButton1_Click1(Object sender, EventArgs e) in E:WORKTestAppBIRTBirtIntFcWebApplication1Default.aspx.cs:line 179</div><div> at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)</div><div> at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)</div><div> at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)</div><div> at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)</div><div> at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)</div><div> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</div><div> InnerException: </div><div> </div><div> </div><div>A watch on the above highlighted code shows the below error:</div><div>Cannot call 'WebApplication1.ind10150.ActuateAPI.getParameterPickList(WebApplication1.ind10150.GetParameterPickList)' because it is a web method.</div><div> </div><div>Any idea on the cause and fix for this?</div><div> </div><div>Avinash</div></div><p> </p>
Find more posts tagged with
Comments
There are no comments yet