KNOWN ISSUE: A ''System.Web.Services.Protocols.SoapException'' error is produced when reports are called from inside Workflow that have ''%'' as a default parameter

Article:TECH47669  |  Created: 2009-12-14  |  Updated: 2009-12-14  |  Article URL http://www.symantec.com/docs/TECH47669
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution

Issue



After creating a Workflow integration component which calls a report from the Symantec Management Platform server, when running the application produced, an error similar to the following occurs:

Error Details

Error Message:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occured executing the report 'Count of Users with Admin Rights'. Value given for parameter "Domain:" is invalid: "STRIPES". at Altiris.ASDK.NS.ReportManagementLib.RunReportWithParameters(Guid reportItemGuid, String nameValuePairs) at Altiris.ASDK.NS.Web.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs) --- End of inner exception stack trace ---

Message Stack:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Symantec.Workflow.Core.ReportMgmtWS7.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs)
at Logicbase.Components.Generated7.Reporting.CountofUserswithAdminRights.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Error Details

Error Message:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occured executing the report 'Count of Users with Admin Rights'. Value given for parameter "Domain:" is invalid: "STRIPES". at Altiris.ASDK.NS.ReportManagementLib.RunReportWithParameters(Guid reportItemGuid, String nameValuePairs) at Altiris.ASDK.NS.Web.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs) --- End of inner exception stack trace ---

Message Stack:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Symantec.Workflow.Core.ReportMgmtWS7.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs)
at Logicbase.Components.Generated7.Reporting.CountofUserswithAdminRights.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Error Details

Error Message:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occured executing the report 'Count of Users with Admin Rights'. Value given for parameter "Domain:" is invalid: "STRIPES". at Altiris.ASDK.NS.ReportManagementLib.RunReportWithParameters(Guid reportItemGuid, String nameValuePairs) at Altiris.ASDK.NS.Web.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs) --- End of inner exception stack trace ---

Message Stack:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Symantec.Workflow.Core.ReportMgmtWS7.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs)
at Logicbase.Components.Generated7.Reporting.CountofUserswithAdminRights.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Error Message:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occured executing the report 'XXXXXXXXXXXXXXX'. Value given for parameter "Domain:" is invalid: "XXXXXX". at Altiris.ASDK.NS.ReportManagementLib.RunReportWithParameters(Guid reportItemGuid, String nameValuePairs) at Altiris.ASDK.NS.Web.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs) --- End of inner exception stack trace ---

Message Stack:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Symantec.Workflow.Core.ReportMgmtWS7.ReportManagementService.RunReportWithParameters(String reportItemGuid, String nameValuePairs)
at Logicbase.Components.Generated7.Reporting.CountofUserswithAdminRights.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)


Environment



ASDK 2.0, WorkFlow 7.0

Cause



There is a problem with the Altiris.ASDK.NS.Web.ReportManagementService.RunReportWithParameters web service.  It is not passing through the % sign as the correct parameter type.

Solution



This has been logged as a defect.  There is a potential workaround that has been devised.

Changing the Value Provider for your parameter to use a Basic Parameter Value Edit Control will allow Workflow to use a '%'.  This will change the behavior of the report slightly, however the workflow will no longer break.

Please refer to this screenshot:


Supplemental Materials

SourceDEFECT
ValueETK 1928866
DescriptionLogged in Etrack (Symantec) database

Legacy ID



50621


Article URL http://www.symantec.com/docs/TECH47669


Terms of use for this information are found in Legal Notices