Ssrs report web service to save report as pdf throws error Soap exception unhandeled by user code

I am creating a C# web application to save  an SSRS report as a pdf file on my local machine.
I added the ReportService web reference as RS2005 and ReportExecution2005 web reference as RE2005.
http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx?WSDL
http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx?WSDL
I created the following function SaveReport that is called on button click. My report can be accessed on the report server with the following url:
http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter
On the Report Manager home page the report link appears as "SAMPLE LETTER".
It is deployed in the DataMgmt folder on the Report Manager.
It uses a data source called "DS Letter" with option "Credentials stored securely in the report server"
My application gets compiled, but I get the following run time error:
Error: Soap exception unhandeled by user code. The item '/DataMgmt/Sample Letter' cannot be found. ---> Microsoft.ReportingService
s.Diagnostics.Utilities.ItemNotFoundException: The item '/DataMgmt/Sample Letter' cannot be found.
Please check my code and let me know what I can do to run this successfully. Once this is done, I would like to get help with passing a parameter (memberID) to the generate report for that member, through this application.
Thank You in advance for your help.
public static void SaveReport()
RS2005.ReportingService2005 rs;
RE2005.ReportExecutionService rsExec;
// Create a new proxy to the web service
rs = new RS2005.ReportingService2005();
rsExec = new RE2005.ReportExecutionService();
// Authenticate to the Web service using Windows credentials
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Url = "http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx";
rsExec.Url = "http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx";
string historyID = null;
string deviceInfo = null;
string format = "pdf";
Byte[] results;
string encoding = String.Empty;
string mimeType = String.Empty;
string extension = String.Empty;
RE2005.Warning[] warnings = null;
string[] streamIDs = null;
string fileName = @"c:\temp\samplerHAPeport.pdf";
string _reportName = @"/DataMgmt/Sample HAP Letter";
string _historyID = null;
bool _forRendering = false;
RS2005.ParameterValue[] _values = null;
RS2005.DataSourceCredentials[] _credentials = null;
RS2005.ReportParameter[] _parameters = null;
try
_parameters = rs.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials);
RE2005.ExecutionInfo ei = rsExec.LoadReport(_reportName, historyID);
RE2005.ParameterValue[] parameters = new RE2005.ParameterValue[1];
if (_parameters.Length > 0)
//parameters[0] = new RE2005.ParameterValue();
//parameters[0].Label = "";
//parameters[0].Name = "";
//parameters[0].Value = "";
rsExec.SetExecutionParameters(parameters, "en-us");
results = rsExec.Render(format, deviceInfo,
out extension, out encoding,
out mimeType, out warnings, out streamIDs);
using (FileStream stream = File.OpenWrite(fileName))
stream.Write(results, 0, results.Length);
catch (Exception ex)
throw ex;
protected void BtnGenReport_Click(object sender, EventArgs e)
SaveReport();

Hello Devster,
Thank you to post your question on TechNet forum.
After reviewing the whole post, I have a question to you. You can access the report via the link, http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter.
From the URL, I can see that the report is located at: /Data Mgmt/Sample Letter, instead of /DataMgmt/Sample Letter. In addition, I found that the target report is "/DataMgmt/Sample HAP Letter" instead of "/DataMgmt/Sample Letter" as the error described. I
am not sure whether you post out the correct code segment.
Please check the above things on your side, and hope it is helpful to you.
Regards,
Edward
Edward Zhu
TechNet Community Support

Similar Messages

  • SOAP Messaging Using Crystal Reports Web Services To Return Report in PDF or Excel Format

    All,
    I am trying to use SOAP messaging to fetch a Crystal Report through a Managed repository and getting back either a PDF or Excel file. For some reason, any reference to web services on this site I cannot access. Like thread, "Using Web Services on the Crystal Report Server XI to return reports".  Can anyone point in a direction to Web Service Calls API documentation or does this not exist ?????? I would hope this product has this capability.
    Thanks In Advance,
    Tom

    XI Release 2 Service Pack 2 introduced the Business Process BI Web Services, that allow you to retrieve reports using SOAP messaging.
    It's documented here:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf
    Sincerely,
    Ted Ueda

  • Office 365 - Reporting web service - CsConference* report TotalConferences value clarification

    Site Map: Office development > Office 365 > Reporting web service > Reference > Lync reports > CsConference*
    report<o:p></o:p>
    In Office 365, Lync Conferences
    Report.
    Field - "TotalConferences" is the number of conferences of all types
    in the reporting period. The sum of other conference type (IM, Audio/video, App
    Sharing, Web, dial-in) count doesn't equal/match the Total Conference count.<o:p></o:p>
    In the attached screen shot for a reporting period.
    IM Conference Count : 197
    Audio/video Conference Count : 67
    Application sharing Conference Count : 68
    Web Conference Count : 10
    Dail-in Conference Count : 5
    The sum of the above conference type is 347. In the report
    "Total Conference" count is displaying it as 268.<o:p></o:p>
    why is the difference?
    <v:shape
    alt="http://social.technet.microsoft.com/Forums/getfile/533351" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:284.25pt;height:300.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
    src="file:///c:\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>

    That document is pretty old last modified March 2013 so I would say it's out of date. The reporting services are still pretty new in the current release I believe 7 days is limit for the Rest Endpoint and the Get-MessageTrace cmdlet (which is what
    the more recent documentation around message tracking say) there is no REST endpoint for Start-HistoricalSearch you can see all the current endpoints by looking at the Metadata via
    https://reports.office365.com/ecp/reportingwebservice/reporting.svc/$metadata
    These services are evolving so new features and reports are added which is explained in
    http://msdn.microsoft.com/EN-US/library/office/jj984346(v=office.15).aspx . But there is no public information on Timeframes and what reports and features are going to be added in future updates (that I know of). If you need data older then
    7 days then Automating the HistoricalSearch cmdlets would be the way to do it for now.
    Cheers
    Glen
     

  • Financial Reporting Web service Out of Memory (11.1.2.2.300)

    Financial Reporting web services runs out of memory. The JVM settings are currently set to 2048. The OS is windows 2008 64 bit.
    We have made the the following settings but it still does not help. The service would stay up for about 5 to 6 hours and then would go out of memory. We also see that there is a continuous activity in Financial reporting logs even when there are no users using the system.
    - Navigate to the following Windows Registry key on the server hosting the Financial Reporting web application component:
    HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\FinancialReporting0\HyS9FRReports
    - Export the above mentioned Windows Registry key for backup purposes,
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionY
    Value:-XXtlasize:min=4k,preferred=64k
    With Y being equal to (current value of JVMOptionCount) + 1
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionZ
    Value:-XXlargeObjectLimit:4k
    With Z being equal to (current value of JVMOptionCount) + 2
    - Increase the value of the JVMOptionCount parameter by 2
    - Restart the Financial Reporting web application component for the changes to be taken into account.
    [2013-06-10T05:33:38.950-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(549)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13182 ms.
    [2013-06-10T05:34:18.404-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(550)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 26365 ms.
    [2013-06-10T05:34:45.424-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(551)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25340] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13760 ms.
    [2013-06-10T05:59:50.634-04:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.core] [tid: Thread-67] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25338] [SRC_CLASS: com.hyperion.reporting.connection.CleanConMgrThread] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: run] [[
    java.lang.OutOfMemoryError

    Financial Reporting web services runs out of memory. The JVM settings are currently set to 2048. The OS is windows 2008 64 bit.
    We have made the the following settings but it still does not help. The service would stay up for about 5 to 6 hours and then would go out of memory. We also see that there is a continuous activity in Financial reporting logs even when there are no users using the system.
    - Navigate to the following Windows Registry key on the server hosting the Financial Reporting web application component:
    HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\FinancialReporting0\HyS9FRReports
    - Export the above mentioned Windows Registry key for backup purposes,
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionY
    Value:-XXtlasize:min=4k,preferred=64k
    With Y being equal to (current value of JVMOptionCount) + 1
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionZ
    Value:-XXlargeObjectLimit:4k
    With Z being equal to (current value of JVMOptionCount) + 2
    - Increase the value of the JVMOptionCount parameter by 2
    - Restart the Financial Reporting web application component for the changes to be taken into account.
    [2013-06-10T05:33:38.950-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(549)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13182 ms.
    [2013-06-10T05:34:18.404-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(550)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 26365 ms.
    [2013-06-10T05:34:45.424-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(551)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25340] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13760 ms.
    [2013-06-10T05:59:50.634-04:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.core] [tid: Thread-67] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25338] [SRC_CLASS: com.hyperion.reporting.connection.CleanConMgrThread] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: run] [[
    java.lang.OutOfMemoryError

  • 12002 The Reporting Web Service is not working.

    Hi :)
    I have WSUS on Windows Server 2012 std. with Internal Database. Today I've installed 7 updates from patch tuesday and after restart I've got
    error 12002 The Reporting Web Service is not working
    I can see now that updatet clients can not report their status anymore :(
    What's up ? Any suggestion ?
    Best regards
    Nenad

    Hi,
    I would start by verifying that the /ReportingWebService resource is properly configured in IIS.
    Correct configurations can be found in the WSUS Technical Reference Guide: IIS
    Settings for WSUS 3.0 SP2 Web Services.
    Also,Under ReportingWebService
    Made sure all were set to disabled except for Anonymous Authentication
    Anonymous Authentication Enabled
    ASP .NET Impersonation Disabled
    Basic Authentication Disabled
    Forms Authentication Disabled
    Windows Authentication Disabled
    Regards,
    Clarence
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Consuming a Web service from Crystal reports 2008 - Error

    Hi,
    I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
    "Invalid Argument Provided"
    Details: Cannot support ArrayType input parameters.
    Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
    Thanks,
    Jaya
    Edited by: jayakvr on Feb 17, 2011 10:47 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM

    This issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
    Thanks,
    Jaya

  • Microsoft Reporting Web Service

    I am trying to call the new Microsoft Reporting web service from
    weblogic 8.1sp2. I've run the clientgen utility against the microsoft
    reporting server's wsdl.
    Using the generated stup classes, I keep getting an error about a
    snapshotID parameter, which is not a parameter passed in the stub API.
    I've attached the wsdl, java program and the soap xml with the error in
    it.
    Any help would be greatly appreciated.
    Thanks,
    Eddie
    [ReportingService.wsdl]
    import java.io.*;
    import weblogic.webservice.context.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.holders.*;
    public class TestClient1
    public static void main(String args[])
    FileOutputStream out_stream= null;
    PrintWriter writer = null;
    try
    //out_stream =
    // new FileOutputStream("C:/mystuff/JavaProjects8.1/java/Test/webservices/MSReportService/StackDump");
    //writer = new PrintWriter(out_stream);
    ReportingService_Impl rpt_srv_impl =
    new ReportingService_Impl();
    ReportingServiceSoap rpt_srv =
    //rpt_srv_impl.getReportingServiceSoap();
    rpt_srv_impl.getReportingServiceSoap("user", "password");
    String reportPath = "/Chapter04/Invoice-Batch Number Report";
    //String reportPath = "/Chapter04/Customer-Invoice Report";
    //The rendering format for the report.
    String format = "HTML4.0";
    // The devInfo string tells the report viewer how to display with the report.
    String devInfo =
    "<DeviceInfo>" +
    "<Toolbar>False</Toolbar>" +
    "<Parameters>False</Parameters>" +
    "<DocMap>True</DocMap>" +
    "<Zoom>100</Zoom>" +
    "</DeviceInfo>";
    // Create an array of the values for the report parameters
    ParameterValue parameters[] = new ParameterValue[2];
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("StartDate");
    paramValue.setValue("01/01/2001");
    parameters[0] = paramValue;
    paramValue = new ParameterValue();
    paramValue.setName("EndDate");
    paramValue.setValue("01/06/2005");
    parameters[1] = paramValue;
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("snapshotID");
    paramValue.setValue("1/7/2005 10:38:21 AM");
    parameters[0] = paramValue;
    // Create variables for the remainder of the parameters
    String historyID = null;
    DataSourceCredentials credentials[] = null;
    String showHideToggle = null;
    String encoding;
    String mimeType;
    Warning warnings[] = null;
    ParameterValue reportHistoryParameters[] = null;
    String streamIDs[] = null;
    SessionHeader sh = new SessionHeader();
    SessionHeaderHolder shh = new SessionHeaderHolder();
    sh.setIsNewExecution(true);
    shh.setValue(sh);
    ServerInfoHeaderHolder server_info_hd_hldr = new ServerInfoHeaderHolder();
    Render param = new Render(reportPath, format, historyID, devInfo, parameters,
    credentials, showHideToggle); //, encoding, mimeType,
    //reportHistoryParameters, warnings, streamIDs);
    //ServerInfoHeader server_info_header = new ServerInfoHeaderHolder(;
    RenderResponse response = rpt_srv.Render(param, shh, server_info_hd_hldr);
    byte report[] = response.getResult();
    System.out.println(report);
    catch (Exception e)
    e.printStackTrace();
    //if (writer != null)
    // e.printStackTrace(writer);
    --------------------Configuration: MSQLReportService - j2sdk1.4.1_07 WebService - <Default>--------------------
    Command : "C:\j2sdk1.4.1_07\bin\java.exe" -Dweblogic.webservice.verbose=true -classpath "C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService;C:\mystuff\JavaProjects8.1\lib\CR121728_81sp2.jar;C:\mystuff\JavaProjects8.1\lib\CR120224_81sp1.jar;C:\mystuff\JavaProjects8.1\lib\weblogic.jar;C:\mystuff\JavaProjects8.1\lib\webservices.jar;C:\mystuff\JavaProjects8.1\lib\webserviceclient+ssl.jar;C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\weblogicbuild;C:\j2sdk1.4.1_07\jre\lib\rt.jar;C:\j2sdk1.4.1_07\lib\dt.jar;C:\j2sdk1.4.1_07\lib\tools.jar;C:\j2sdk1.4.1_07\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1_07\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_07\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1_07\jre\lib\ext\sunjce_provider.jar" TestClient1
    Directory : C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService
    <!-------------------- REQUEST ---------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Headers :
    SOAPAction: ["http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render"]
    Content-Type: [text/xml]
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header><n2:SessionHeader xmlns:n2="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n2:IsNewExecution>true</n2:IsNewExecution></n2:SessionHeader></env:Header><env:Body><n1:Render xmlns:n1="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n1:Report>/Chapter04/Invoice-Batch Number Report</n1:Report><n1:Format>HTML4.0</n1:Format><n1:HistoryID xsi:nil="true"/><n1:DeviceInfo><DeviceInfo><Toolbar>False</Toolbar><Parameters>False</Parameters><DocMap>True</DocMap><Zoom>100</Zoom></DeviceInfo></n1:DeviceInfo><n1:Parameters xsi:type="n1:ArrayOfParameterValue"><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>StartDate</n1:Name><n1:Value>01/01/2001</n1:Value></n1:ParameterValue><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>EndDate</n1:Name><n1:Value>01/06/2005</n1:Value></n1:ParameterValue></n1:Parameters><n1:Credentials xsi:nil="true"/><n1:ShowHideToggle xsi:nil="true"/></n1:Render></env:Body></env:Envelope>
    <!-------------------- END REQUEST ------------>
    <!-------------------- RESPONSE --------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Response Code :500
    Headers :
    Date=Thu, 13 Jan 2005 21:59:37 GMT
    Server=Microsoft-IIS/6.0
    X-Powered-By=ASP.NET
    X-AspNet-Version=1.1.4322
    Cache-Control=private
    Content-Type=text/xml; charset=utf-8
    Content-Length=2882
    Envelope :
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.</faultstring>
    <faultactor>http://wteadapadr01/ReportServer/ReportService.asmx</faultactor>
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message msrs:ErrorCode="rsParameterTypeMismatch" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices" />
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    <!-------------------- END RESPONSE ----------->
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    Detail:
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message xmlns:msrs="http://www.microsoft.com/sql/reportingservices"
    msrs:ErrorCode="rsParameterTypeMismatch"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices">
    </Warnings>
    </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1266)
    at TestClient1.main(TestClient1.java:97)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1261)
    ... 1 more
    Process completed.

    This is a little late, I know. but I just spent the day
    struggling with this very issue. Hopefully this can help someone
    else in the future. Here's my solution...
    on MX:Operation -- result="fillXML()"
    then
    private function fillXML(): void {
    var x:XML = new
    XML(wsProps.GetDatasetData.lastResult.toString());
    ...do what you need with your xml...
    I use an XMLList node of the result as the source property
    for an XMLListCollection bound to a datagrid. Let me know if you
    need more help to get it working. It works like a charm now that I
    figured that out. I don't know if it's a slimy hack, or not, but it
    gets the job done.

  • Crystal Report + Web Services Security Help!

    Hello all,
    I am trying to design a Crystal Report (using CR XI 2 and/or CR 2008) and using a web service as a data source.  I've developed the web service in .NET and have control over the IIS directory it is hosted on.  I've set the authentication for the folder with "Anonymous Access" turned off and Integrated Windows Authentication.
    I'd like Crystal to pass the current user id (NT Id) over to the web service when the report is created.  My web service will take the user id and return only the data that the user is allowed to view (security is all in the web service).
    The problem I am having is after setting up my connection in Crystal Designer, when I click preview, I am getting an unauthorized (401) error. 
    It seems that CR isn't passing any type of user credentials to IIS.  Does anyone know if there is a way to do this so I can test this in the designer?
    Thanks!

    Nope, nothing yet.  The problem seems to be that Crystal doesn't currently allow SSO or the SSO credentials to be passed through to IIS.  Therefore, IIS never gets any security tokens for validation.  Maybe you can do this with an SDK?  I don't know.
    The only half solutions I can think of are:
    1.  Allowing "Anonymous Access" authentication to your web service on IIS.  The downside is that the user token doesn't get passed through, so if you are looking to use the current user security context, you're outta luck.  You'll get the impersonated IIS account instead.
    2.  Hosting your crystal report file behind IIS in your vritual directory.  I think this works since by the time you get to the report, it has already been authenticated via IIS.  However, you don't get the luxury of the BOE servers.
    So sadly, no answer yet.  I've decided to just code everything into my stored procedures as I am short on time.  It seems odd that CR doesn't seem to support this yet, but who knows what the future holds
    If you find anything out, please let me know.  Thanks!

  • Office 365 Reporting Web Service Message Trace - It says it can get the past 30 days but i can only get the past 7 days

    It says Message Trace data is stored for 90 days here: http://technet.microsoft.com/library/jj723162(v=exchg.150).aspx
    When running the MessageTrace report using the Office 365 Reporting Web Service it only returns the past
    7 days, even though it says up to 30 days here: http://msdn.microsoft.com/en-us/library/office/jj984335(v=office.15).aspx.
    PowerShell’s "Get-MessageTrace" cmdlet only returns the past 7 days as well. PowerShell also has
    an alternative cmdlet called "Start-HistoricalSearch" which returns the MessageTrace results between 7 and 90 days old.
    Is it supposed to return 30 days, or is the documentation wrong, or is their an alternative report (like
    PowerShell) to get MessageTrace results for over 7 days using the Office 365 Reporting Web Service?
    Note: I'm aware that the results are returned in batches of 2000 MessageTrace results.

    That document is pretty old last modified March 2013 so I would say it's out of date. The reporting services are still pretty new in the current release I believe 7 days is limit for the Rest Endpoint and the Get-MessageTrace cmdlet (which is what
    the more recent documentation around message tracking say) there is no REST endpoint for Start-HistoricalSearch you can see all the current endpoints by looking at the Metadata via
    https://reports.office365.com/ecp/reportingwebservice/reporting.svc/$metadata
    These services are evolving so new features and reports are added which is explained in
    http://msdn.microsoft.com/EN-US/library/office/jj984346(v=office.15).aspx . But there is no public information on Timeframes and what reports and features are going to be added in future updates (that I know of). If you need data older then
    7 days then Automating the HistoricalSearch cmdlets would be the way to do it for now.
    Cheers
    Glen
     

  • Difference between Web Service URL and Report Manager URL

    What is the difference between Web Service URL and Report Manager URL in Reporting Service configuration manager in SQl Server 2008 Reporting Setrvices

    Another way to put it is the Web Service URL is just that, its used for services that are connecting to issue API calls.  The Report Manager URL is the nice GUI that users should use.  If you click the links, you should see the difference.  I
    am sure you have likely done that, but functionally one is for programmatic purposes and the other to be the front end graphical user interface.
    Sometimes pictures help as well...
    http://bretstateham.com/reporting-services-architecture-diagram%E2%80%A6/

  • Testing web service results in no response, but HTTP Error 500

    Hi All,
    I've already solved my problem, but I wanted to share my results. It took two days of pain, so you could imagine how wonderful I felt when it was solved. :)
    Problem: I am exposing PL/SQL procedures as web services, using JDeveloper 10.1.3. I noticed that when I expose procedures that return complex types (like records), it caused all of the web service calls to die silently. I couldn't see any other errors except Apache's HTTP 500 error. But when I ran the web service locally using JDeveloper's OC4J engine, I didn't receive any errors. Everything worked. I looked at the opmn/logs/* dir, and still no signs of the real error. So I set out to learn where I could view more logs, and I eventually found the error inside $ORACLE_HOME/j2ee/MyConatiner/log/MyContainer*/oc4j/log.xml, after I increased the verbosity.
    Solution: I found the "NoClassFound" error after I fiddled with j2ee-logging.xml. The funny part is, the error did not show up in the ERROR or INTERNAL_ERROR module types. Some of the wrapper Java classes that were generated to deal with complex types (records) and even arrays, were not being included in the EAR/WAR file for deployment! That's why when I ran the web service locally using JDeveloper, there were no errors (since the classes were present). Now, before I deploy I always check what is being deployed... :)
    Here's what I learned through the process. Hope it's helpful!
    keywords: http 500 error empty test response reply web service deploy complex data types arrays logs pl/sql procedures functions
    Debugging
    There are several places where logging occurs on Oracle Application Server 10.1.3.
    This is not a complete list, but it covers the main areas. Let's assume our OC4J
    container is called MyContainer:
    OPMN
        * tail -f $ORACLE_HOME/opmn/logs/*MyContainer*
        * To adjust the verbosity, use the Enterprise Manager web interface: click on
          the container, then on the Administration -> Logger Configuration. Now you can
          set the logging level for different components.
    Apache
        * tail -f $ORACLE_HOME/Apache/Apache/logs/*log
        * The file names depend on the ErrorLog? and CustomLog? directives in
           httpd.conf. You can adjust the verbosity by changing the LogLevel
           Apache directive.
    J2EE
        * tail -f $ORACLE_HOME/j2ee/MyContainer/log/MyContainer*/oc4j/log.xml
        * You can adjust the verbosity by editing
           $ORACLE_HOME/j2ee/MyContainer/config/j2ee-logging.xml. Look for the
           <logger> element, and set its 'level' attribute to 'TRACE:32' for the most
           information.
        * From experience, these logs are the best. :-)
    Oracle
        * tail -f $ORACLE_HOME/Apache/Apache/logs/oracle/log.xml
        * To enable and configure this logging system, add the following to your httpd.conf:
          OraLogMode oracle
          OraLogSeverity TRACE:32
          OraLogDir ORACLE_HOME/Apache/Apache/logs/oracle
        * More info: http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b25211/servlog.htm

    Thanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
    Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
    -Eric

  • How to make a PDF form call Web service and return a static pdf for user to print?

    Hi all,
    Can anyone help me regarding the feasibility of using PDF forms for my following case?
    I would like to create a Dynamic pdf form. User only have the Acrobat reader. they can enter some information. Then have a submit button. when user click the submit button, it can call the web service with data. then Web service returns a Static PDF document based on data and the user can print it out. (and maybe save as separate pdf file)
    1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
    2. As I understand I need to have Live Cycle Designer to create a pdf  and make it Reader Enabled. So user can user reader to call webservice? am I correct?
    3. What minimum reader that user need to have? PDF reader 7 or above?
    4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
    5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
    Thanks a lot

    We have done a similar approach in the past and yes, it can be doable.
    1. Is that possible to implement? Because I know PDF can call web service, but dont know how it handle when the webservice returns another static PDF document. could it able to handle the responds and open up in another acrobat reader?
    Srini: We have developed a Servlet to talk to Webservice. Based on the Webservice response, the Servlet, prepares the Byte stream and sends it to Webbrowser to display as a PDF. The PDF data was submitted to Servlet in XML format.
    But if you do not want to use the above approach, then you have to use the Workbench Process.
    Submit the PDF data to a Workbench process and the inside process, execute Webservice Service with the data. Once the response is received, prepare the data XML and render a PDF with it.
    To do this, you need LiveCycle Server and Reader Extensions server component.
    2. As I understand I need to have Live Cycle Designer to create a pdf  and make it Reader Enabled. So user can user reader to call webservice? am I correct?
    Srini: If you want to use the Servlet, you can Reader extend the PDF with Acrobat.. But if you want to submit the data directly to Webservice, then you need Reader Extensions server component.
    3. What minimum reader that user need to have? PDF reader 7 or above?
    Srini: Not sure but Reader 8 and above should work.
    4. I have a webservice serve the same purpose for web. But if I want the same web services can serve both web and PDF form. So, whatever client (PDF or Web)make the web service call, server returns the PDF document to client. Is that possible ? Do I need to make any changes on web service?
    Srini: If you use the Servlet approach, then you can re-use the same webservice. But if you want to submit directly to the same webservice, you may need to change it to suit your data XML.
    5. Do I need to get any other Adobe server product? (other than Live Cycle Designer )
    Srini: If you use the Servlet approach, you do not need any server component but other approach, you need Livecycle Server and Reader Extensions server component.
    Thanks
    Srini

  • Sync Web Service - BPM with 2 sync proxy calls error.

    Hi.
    Have a sync web service going into a BPM.
    In the BPM there ar 2 sync calls towards a system making a credit check.
    The answer is responded to the web service.
    In our QA system the solution works perfect.
    I transported the solution to production and when I test the web service call towards I get the following error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Does anybody have an idea why I get the error.
    When I check my config everything looks the same.
    Looks like we never send the first sync call to the proxy when I check in SXMB_MONI and the BPM gets terminated.
    We have just migrated the solution from XI 3.0 to PI 7.11.
    BR
    Kalle

    Hi.
    How will that help if we do not send the message.
    When I check the graphics in SXMB_MONI the error occours befor we send the first message with proxy.
    Also extend ASYNC timeout?
    We are using sync communication.
    BR
    Kalle

  • HP Web Services keeps returning a no internet connection error. HP1025nw

    I am trying to setup the eprint service to work on my printer.  When I try to enable web-service on my printer, it returns an error message saying, there is no internet connection.
    I have updated the firmware as specified thru eprnt support, and still the same error.

    Hi @wokst2,
    Welcome to the HP Support Forums. I see that you are getting a connection error message when trying to enable the web services on your Laserjet CP1025nw printer.
    Please set a static IP and manual DNS servers for the printer. The steps can be found in the Printer Does Not Maintain Wireless Connection document. For the DNS servers please use 8.8.8.8 for the Manual DNS Sever and 8.8.4.4 for the Alternate Preferred DNS Server. These are Google’s DNS servers.
    Please let me know how it goes.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Calling a Web Service in Oracle Report Developer 10g?

    Hello,
    Does Oracle Report Developer 10g supports Web Services (calls) or XML files as a Data Source?
    If yes. From what version?
    Thanks.

    ok, so you have at least 2 solutions:
    1. you get the data into a loop through your Java array.
    2. you use the EXEC_SQL package function to create a dynamic SQL cursor
       Select ... from the_table where code in ('c1', ..., 'cn')Francois

Maybe you are looking for

  • BAPI for Timesheet Approval

    Hi, Does anybody know approval / rejection BAPI for timesheets in HR ? Thanks. Moderator message - Cross post locked Edited by: Rob Burbank on Jun 4, 2009 5:16 PM

  • Universe as data source for Crystal Reports

    Are there any issues in using a Universe as the data source for a crystal reports?  We are using Business Objects Enterprise XI R2 and Crystal Reports XI R2. Thanks in advance for your response, Garet Wicker

  • Image to fit any width

    Hi, I'm putting a flash site together with a stage size of 800 x 600px but I have a background image that I want to use in the same Flash file, the size = 1350x800px  (jpg) that I want to stretch/compress to whatever screen resolution the viewer has.

  • New Folder does not appear on menu--how do I create new folders?

    I have a macbook pro with ox version 10.7.2, and Firefox 7. I cannot create new folders because the option does not appear on menus. Is something missing here?

  • Win32reg_addremoveprograms issue

    I currently have SCCM installed and am trying to use WQL queries with SCCM using the win32reg_addremoveprograms class. My issue is, when I test using a powershell query, the 32 and 64 bit queries both return 64 bit applications and no 32 bit applicat