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.

Similar Messages

  • 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
     

  • 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.

  • PI Error calling Microsoft WCF Web Service hosted on IIS

    Hi All,
    I am trying to call a Microsoft WCF web service in PI  (also tried soapUI) but keep getting certificate error.
    I have tested the same service with Microsoft WcfTestClient and everything works..
    WCF Service Setup
    Service URL: https://hostname/servicename.svc
    Security Mode: TransportWithMessageCredential
    PI Setup 1 (Should be correct setup)
    Communication Channel
    Adapter Type: SOAP
    Uses Configure Certificate Authentification
    Uses Security Profile = Web Service Security
    Receiver Agreement
    Uses Security Procedure (Request) = Sign
    Uses Set Timestamp
    Uses Set Expiry Date = 7200
    Error: Unable to resolve the '#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025' URI in the signature to compute the digest.
    In the SOAP message the references match
    <ds:Reference URI="#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
    <SOAP:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
    Tried the following setups as well
    PI Setup 2
    Communication Channel
    Uses Security Profile = Web Service Security
    Receiver Agreement
    Uses Security Procedure (Request) = Sign
    Uses Set Timestamp
    Uses Set Expiry Date = 7200
    Error: The security protocol cannot verify the incoming message.
    PI Setup 3
    Communication Channel
    Uses Configure Certificate Authentification
    Error: Security processor was unable to find a security header in the message. This might be because the message is an unsecured fault or because there is a binding mismatch between the communicating parties.   This can occur if the service is configured for security and the client is not using security.
    Any help would be greatly appreciated
    Edited by: Christian Vilhelm Henriksen on Jan 26, 2012 10:13 AM

    Found the following on Microsoft which looks similar to my problem.
    http://download.microsoft.com/download/a/2/8/a2807f78-c861-4b66-9b31-9205c3f22252/dotnet35sp1readme.htm
    What it says in short
    To resolve this issue:
    Do not sign the To header.
    How do i do this in PI?

  • Can't install Microsoft Exchange Web Services Managed API 2.0 - message says it is already installed but it is not.

    I tried to install the Microsoft Exchange Web Services Managed API 2.0 but I got a message saying it was already installed and that I should un-install it.  However it does not appear in the control panel un-install a program list.  I am using
    VS2013 on windows 8.  What can I do to get it to work?
    Mike VE

    Hello,
    Thank you for your sharing.
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • 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

  • Crystal Reports Web Services

    I am brand new to Crystal Reports.  I am actually only using a demo version to see if it can do what i want it to.  I have a web based database software that i am using.  The reporting functionality with this software is very limited.  I wanted to "connect" to the data and generate my own reports in Crystal.  The software company obviously does not want to help because then they won't get our money for creating custom reports.  I am not really sure what I am doing.  I get the the part where i entered service, port etc and don't know what to do from there.

    Hi Katie,
    Have a look this [Web Services|https://boc.sdn.sap.com/webservices]
    Hope that helps!!
    Regards,
    Shweta

  • 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

  • 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!

  • Accessing Microsoft Exchange Web Services: 401 Unauthorized

    Hi experts,
    I try to access a Microsoft Exchange Webservice. Therefore I created a Web Service Client in the Developer Studio and a servlet to access the the Web Service and display the data. I modified the .wsdl file as described in several blogs before I created the WS Client. My code to do the authentication is:
    URL wsdlURL = new URL("http://<host>:<port>/ExchangeWsClient/wsdl/Services.wsdl");
                ExchangeServicePortType port = exchangeAuthenticator.getExchangeServicePort("username", "password123", "domain", wsdlURL);
    But when I try to access the servlet I get the following exception:
    Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Invalid Response code (401). Server <https://<host>/EWS/exchange.asmx> returned message <Unauthorized>.
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.handleSOAPResponseMessage(SOAPTransportBinding.java:579)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1085)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:779)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:746)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:167)
    The error then happens in the following line, when the web service tries to fetch the data:
    port.findItem(request, exchangeEnvironmentSettings.getMailboxCulture(),
    exchangeEnvironmentSettings.getRequestServerVersion(), findItemResult,
    exchangeEnvironmentSettings.getServerVersionInfoHolder());
    When I login to https://<host>/EWS/exchange.asmx I can login succesfully with the given credentials in the coding. Do you have any ideas what the problem may be?

    Hi experts,
    I try to access a Microsoft Exchange Webservice. Therefore I created a Web Service Client in the Developer Studio and a servlet to access the the Web Service and display the data. I modified the .wsdl file as described in several blogs before I created the WS Client. My code to do the authentication is:
    URL wsdlURL = new URL("http://<host>:<port>/ExchangeWsClient/wsdl/Services.wsdl");
                ExchangeServicePortType port = exchangeAuthenticator.getExchangeServicePort("username", "password123", "domain", wsdlURL);
    But when I try to access the servlet I get the following exception:
    Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Invalid Response code (401). Server <https://<host>/EWS/exchange.asmx> returned message <Unauthorized>.
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.handleSOAPResponseMessage(SOAPTransportBinding.java:579)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1085)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:779)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:746)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:167)
    The error then happens in the following line, when the web service tries to fetch the data:
    port.findItem(request, exchangeEnvironmentSettings.getMailboxCulture(),
    exchangeEnvironmentSettings.getRequestServerVersion(), findItemResult,
    exchangeEnvironmentSettings.getServerVersionInfoHolder());
    When I login to https://<host>/EWS/exchange.asmx I can login succesfully with the given credentials in the coding. Do you have any ideas what the problem may be?

  • "An error occurred while trying to load some required components. Please ensure that the following prerequisites components are installed: Microsoft Web Developer Tools Microsoft Exchange Web Service."

    Did a LOT of troubleshooting, but not finding suitable solution, still getting same error i referred all below links but not working for me.
    "http://blogs.msdn.com/b/how24/..."
    "http://social.msdn.microsoft.com/Forums/..."
    "http://stackoverflow.com/questions/.."
    "http://tomvangaever.be/blogv2/2013/06/..."
    I am using "Microsoft Visual Studio Professional 2012".
    Can anyone please tell, How can I achieve????
    sharad patil

    Hi,
    Sorry for my delay.
    It seems that this issue was more related with Visual Studio, I suggest you move to Visual Studio Development Forum, the forum link is:http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio
    , may be you'll get solution on that forum.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Urgent: System.OutOfMemoryException in SQL Reporting Services 2005 Web Service

    Hi All,
    On a production server box with 8GB of RAM, we are running a windows service which retrieves image format bytes of a particular report which results in pages ranging from 10 to 300 using Reporting Services 2005 Web Service.
    Problem is when image bytes are being retrieved by using Render method for a report with more than around 30-40 pages,
    Report Web Service throws an exception of type System.OutOfMemoryException. This does not happen with reports with smaller pages. Please note that we are retrieving high DPI image and we have no option but to do so.
    Since the production server has 8 GB of RAM and we have even enabled the 3GB switch in boot.ini of Windows Server 2003, This problem still exists.
    I have already read the contents of the article http://support.microsoft.com/kb/909678 but as i mentioned even the large physical memory does not seem to help and shortening the report is not an option.
    Also note that large number of records is also not a problem as our application works fine when we generate excel files instead of images.
    Follwing is the detailed exception that we receive.
    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
       at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
       at System.Text.StringBuilder.set_Capacity(Int32 value)
       at System.Xml.BufferBuilder.ToString()
       at System.Xml.XmlTextReaderImpl.ParseText()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlTextReader.Read()
       at System.Xml.XmlTextReaderImpl.InitReadElementContentAsBinary()
       at System.Xml.XmlTextReaderImpl.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
       at System.Xml.XmlTextReader.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
       at System.Xml.Serialization.XmlSerializationReader.ReadByteArray(Boolean isBase64)
       at System.Xml.Serialization.XmlSerializationReader.ToByteArrayBase64(Boolean isNull)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportExecutionService.Read34_RenderResponse()
       at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer25.Deserialize(XmlSerializationReader reader)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
       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 ReportExecution2005.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)

    Hi Hameer,
    This error might be caused by the memory limit.  There are two settings that will affect the memory configuration.
    When you render a report through the Reporting Services Web service, the Reporting Services Web service obtains the "MemoryLimit" setting from the Machine.config file. 
    A scheduled report is rendered by the Report Server Windows service. The Report Server Windows service obtains the "MemoryLimit" setting from the RSReportServer.config file.
    These values represent a percentage of physical memory. You can adjust them to change the memory limit.
    If there are any more questions, please let me know.
    Thanks.

  • Transport Webi Reports and Web services as the backend of dashboards from BO Production to BO Development system

    Hello Experts,
    I am working on SAP BO 4.1. I have made several dashboards on top of web services ie;Web Service Method. I have 2 systems in BO ie; Development and Production Systems.The BW production system is connected to BO Development and Production both.
    The Webi reports are made on top of BI BEx Query. From the webi reports, BI Web Services are made on top of which the dashboards are made further.
    The Webi Reports, Web Services and the Dashboards everything is made directly in BO Production.
    My question is, Can I transport the Webi Reports and the Web Services from BO Production to BO Development?
    And If yes, will it have any other impact on webi reports, web services or dashboards?
    Thanks & Regards,
    Alfred Thomas

    Hi Gill,
    As per your reply,with the promotion managament i have make the web services again manually in Dev system...Right?
    Is there any way possible that i can transport the webservices and the webi reports usind Query AS A Web Service Designer. And if yes, through this QAAWS will the WSDL or the URL required for the web services in the connection button in dashboards will automatically updated or changed as per the Development System?
    But i am not able to enable the "Deploy to Other servers Option" in QAAWS.
    Can you please help?
    Regards,
    Alfred thomas

Maybe you are looking for