How to use sql report server web service (SSRS) in flex/actionscript
Hi,
I am trying to create a web page, that displays a report from my company's report server. I manage to import the ReportExecutionServiceService, but can't figure out how to get the report. anyone know where i can find good documentation of SSRS's WSDL (not on MSDN it didn't do much good)? or better does anyone know what steps are needed (what fields to use / initialize etc.)?
Hi Sanjay
First you create a report using the data source in Crystal Reports DesignerStand Alone Application and then save it to repository.
This is the easiest way to do it.
You can refer to Crystal Reports User guide and also BOXI Admin guide for the version you are using.
You can download the above from help.sap.com
Hope this helps!!
Regards
Sourashree
Similar Messages
-
SQL 2012 R2 - SSRS with the Report Server Web Service URL, can't access
Hello:
I am installing Dynamics CRM 2013. When I am on RS Configuration manager; I am running into the SSRS (SQL 2012 on Server 2012)SQL issue, can't access the
http://servername/:80/ReportsServer or
http://servername/:Reports web pages
The database server has SSRS native mode installed, it is using a domain account for the service credentials. This account also has permission to log on a service in the GPO
Account is a domain admin and is a local administrator
SQL server is 2012 R2 on Windows Server 2012. User base is less than 60 people and they have SharePoint 13 on the same SQL server. Server more than enough resources.
Any assistance would be appreciated.
Thanks..DanHi DCas1,
According to your description, you could not access
http://servername/:80/ReportsServer or http://servername/:Reports web pages from Reporting Services configuration manager, SSRS in configured in native mode and the account you used is a local administrator.
In Reporting Services, URLs are used to access the Report Server Web service and Report Manager. Before we can use either application, we need to configure at least one URL each for the Web service and Report Manager. If we are using the Reporting Services
Configuration tool to create or modify the URLs, we can accept the default values for a URL or specify custom values. When we create a report server URL, we must specify the following parts: Host name, port and Virtual directory. In order to improve the efficiency
of troubleshooting, I need to ask several questions:
Since the default URL is http://<computername>/reportserver, did you type the URLs manually? or the URLs configured in Reporting Services configuration manager are
http://servername/:80/ReportServer and
http://servername/:Reports?
Could you provide detailed information of error log(default location: %programfiles%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles)?
For more information about Configuring a URL, please refer to the following documents:
http://msdn.microsoft.com/en-us/library/ms159261(v=sql.110).aspx
http://msdn.microsoft.com/en-us/library/bb630447(v=sql.110).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
Help me! How to use it as a web service from third party application?
After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
TKS!Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
:D
John -
Hello,
We are using Sharepoint 2010 and SQL Server reporting services 2008 R2. We have the sharepoint site bound to port 443 using a certificate. We also have the same certificate bound in the reporting services configuration manager's
web service URL tab. In CA should we put the SSL URL or the non SSL URL? Right now in CA it has the then non SSL URL,
http://fakehostname/ReportServer_REPORTSERVICE. We have some sporadic issues and I am wondering if setting this to our SSL URL will help. Please let me know
if you have any questions.
Thanks,
SeanHi,
Regarding this issue, it should be no issue for setting (https) according :
https://msdn.microsoft.com/en-us/library/bb630447.aspx
https://msdn.microsoft.com/en-us/library/bb677369.aspx
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0ada85b1-e2d2-44a8-8443-74eca74f5745/ssrs-cannot-connect-to-https-sharepoint-2010-401-unauthorized
I notice you mentioned that you have some sporadic issues, what are these issue? If there are errors, please post the detailed information about the errors.
What is the mode type of SQL Server Reporting Service, native mode or SharePoint mode?
The screenshot of the web service URL:
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to deploy a report with web service datasource
Hi Guys,
I have a RPT file(report) which is using some web service call to get data source and Information.
I am not able to deploy it properly as It gives " Error in file testReport Unknown Database Connector Error " while click at preview at server Central management Console.
Please tell me some way to resolve the issue.
I am not sure If I need to configure something at C:\Business Objects\common\3.5\java\CRConfig.xml for web service.
Actually, We are using web service call from report it self and probably there are some steps missed by me for deployment.
Sincerely,
Sanjay Patel
Edited by: Adlyd Joseph on Mar 19, 2009 6:57 AMHi Sanjay
First you create a report using the data source in Crystal Reports DesignerStand Alone Application and then save it to repository.
This is the easiest way to do it.
You can refer to Crystal Reports User guide and also BOXI Admin guide for the version you are using.
You can download the above from help.sap.com
Hope this helps!!
Regards
Sourashree -
Prompting for UserName and Password when I click Report Server Web Service URLs in ssrs 2008 R2
Hi All,
I am using SQL Server Reporting services 2008 R2 . When I tried to open report server webservice URL in SSRS 2008 R2 It is prompting username and password. I tried to resolve the issue by deleting the <!--
<RSWindowsNegotiate/> --> line in rsreportserver.config but still I am getting the same prompt
and i tried by putting the server URL in trusted sites in IE also still no luck. I referred the below link 'http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx'
I am getting the same error.
Can anyone help me out to resolve this issue easily.
Thanks
DathyHi Dathy,
Generally, this is a very common issue in Reporting Services 2008 R2, the blog you post is a good blog that summary the common solutions. If it doesn’t help, could you please try the following:
Open Internet Explorer, go to Tools and click on Internet Options.
Under the Security tab, click on Trusted sites and click the Sites button and Add Report Manager/Report Server URL to the trusted sites.
Then click Custom Level, and check the option Automatic logon with current user name and password.
Repeat step 3 and step 4 for Local Intranet.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to design crystal report with web service data source?
I want to design and run a Crystal Report 2008 against my ADO.NET DataSet from web service method.
I choose New Report, for Data I choose XML, then "Use Web Data Source" hit next, then choose "HTTP WSDL URL" I enter http://localhost/RDWS/Service.asmx?wsdl, hit Next, I leave HTTP username and HTTP password blank. Then I see the Services, Ports and Methods screen. Services: Service, Ports: ServiceSoap, Methods: CustomerOrdersDataSet
When I click Finish, I get Logon Failed, Details, Schema file is invalid. error:Element Schema@htttp://www.w3.or/2001XMLSchemal not found.
How can I get this to work?The native XML driver is incompatible with ADO.NET DataSet XML. The specific issue is that the driver cannot handle the recursive definition on "Schema" that the .NET DataSet XML uses.
The workaround is to create a .NET class that Web References, invoke the Web Service method for the DataSet, then returns it.
Use the ADO.NET (XML) driver in Crystal Report to consume the .NET data source.
Note - when you deploy your report, ensure you deploy the DLL for the .NET class you've created.
Sincerely,
Ted Ueda -
I've tried to create a subscription by Web Service api calling the method CreateSubscription and I've an error:
> The value of parameter 'ExtensionSettings' is not valid. --->
> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
> The value of parameter 'ExtensionSettings' is not valid.
Below is my code:
ReportingService2010 m_RptManager = new ReportingService2010(); m_RptManager.Url = "<path>/ReportService2010.asmx"; m_RptManager.Credentials = GetCredential(); string filename = Path.GetFileName(m_FileName); string path = Path.GetDirectoryName(m_FileName); ParameterValue[] extensionParams = new ParameterValue[7]; for (int i = 0; i < extensionParams.Length; i++) extensionParams[i] = new ParameterValue(); extensionParams[0].Name = "FILENAME"; extensionParams[0].Value = filename; extensionParams[1].Name = "FILEEXTN"; extensionParams[1].Value = "False"; extensionParams[2].Name = "PATH"; extensionParams[2].Value = path; extensionParams[3].Name = "RENDER_FORMAT"; extensionParams[3].Value = m_Format; extensionParams[4].Name = "WRITEMODE"; extensionParams[4].Value = "Overwrite"; extensionParams[5].Name = "USERNAME"; extensionParams[5].Value = m_UserName; extensionParams[6].Name = "PASSWORD"; extensionParams[6].Value = m_Password; ExtensionSettings extensionSettings = new ExtensionSettings(); extensionSettings.Extension = "Report Server FileShare"; extensionSettings.ParameterValues = extensionParams; MinuteRecurrence pattern = new MinuteRecurrence(); pattern.MinutesInterval = 1; ScheduleDefinition schedule = new ScheduleDefinition(); schedule.StartDateTime = DateTime.Now; schedule.EndDateSpecified = false; schedule.Item = pattern; XmlSerializer serializer = new XmlSerializer(typeof(ScheduleDefinition)); string dateMatch; using (StringWriter sw = new StringWriter()) { serializer.Serialize(sw, schedule); dateMatch = sw.ToString(); } string reportPath = "MyReport"; string eventType = "TimedSubscription"; string description = "description"; m_RptManager.CreateSubscription(reportPath, extensionSettings, description, eventType, matchData, GetReportParameters(reportPath));
Where have I wrong?Thank for reply, I checked my parameter and I seem that (maybe) is ok below is my parameters, do you see anything of wrong?
<?xml version="1.0" encoding="utf-16"?>
<ExtensionSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Extension xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer">Report Server FileShare</Extension>
<ParameterValues xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer">
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">FILENAME</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">pippo.xls</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">FILEEXTN</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">False</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">PATH</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">\\10.4.44.253\D$\Data Applications\DBP\Output\DOMAIN\User\14</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">RENDER_FORMAT</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">EXCEL</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">WRITEMODE</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">Overwrite</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">USERNAME</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">domain\user</Value>
</ParameterValue>
<ParameterValue>
<Name xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">PASSWORD</Name>
<Value xmlns="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">xxxxxx</Value>
</ParameterValue>
</ParameterValues>
</ExtensionSettings>
-
How to use Crystal Report Server with Crystal Reports for Eclipse
Hi,
is it possible to use Crystal Reports for Eclipse with the Crystal Report Server
like i can do it in Crystal Reports.
For Example open a Report file directly from the server edit and save there.
Thanks
ThomasYes, you can use the CR Server product in your Eclipse project. However, you will need to use the RAS SDK in your project instead of the CR4E SDK.
For more information about the RAS SDK, visit the DevLibrary.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
-MJ -
How to use (greater than) in web services call
Hello, I am trying to query a set of assets where the external unique ID is greater than 400,000. My existing code looks like
qryIn.ListOfAsset(0).ExternalSystemId = ">'400000'"
However, using this will return any asset record starting with a 5 or above as far as I can tell, I assume b/c it is comparing string data due to the single quotes infering data of type text (string). Is it possible to use comparison operators with numeric data correctly?
I posed this question to support and received the below answer:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <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> <AssetWS_AssetQueryPage_Input xmlns="urn:crmondemand/ws/asset/"> <ListOfAsset xmlns="urn:/crmondemand/xml/asset"> <Asset> <AssetId /> <PurchaseDate/> <OwnerAccountId /> <ExternalSystemId>> '400000'</ExternalSystemId> </Asset> </ListOfAsset> </AssetWS_AssetQueryPage_Input> </soap:Body> </soap:Envelope>
Basically, instructing me to use >. I'm doing coding in .NET visual studio and not using the XML as above. However, I did try the following:
qryIn.ListOfAsset(0).ExternalSystemId = ">'400000'" which returned an error in the compiler.
Any help would be appreciated. Thanks.Thanks for the reply. I would assume "external system id" is an integer, but, I will test on a custom field that I now is of type integer.
Could you take your same code and use a non-zero value for the operand? For example, could you try
objAccQryParam.ListOfAccount[0].CustomInteger0 = ">= '10'"; and let me know if that returns values that are greater than or equal to 10. Using a two digit number is important. Assuming you have data greater than 10.
Thanks! -
How to publish Report Viewer reports as Web Services
I have some reports templates (.rdlc) having only business objects as data sources (no direct SQL connection). They are working well with Windows Report Viewer. Now I am think to make the reports available via web services to multiple apps. Is there
a way to do that? Any sample?
Thanks,
JasonHello,
SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. In order to meet your requirement, you
can try to converting an .rdlc file to an .rdl file
and then deploy the report to report server.
If you want to rendering the report in your application, you can try to use the ReportViewer controls in remote processing mode.
Reference:
Adding and Configuring the ReportViewer Controls
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Issue while Calling Rights Management LifeCycle Server web service to apply policies to a pdf
Hi,
I am trying to apply a policy to a pdf using MTOM LifeCycle server web service API. Currently the server is using the https protocol. I followed the below links for this.
Adobe LiveCycle * Applying Policies to PDF Documents
Adobe LiveCycle * Quick Start (MTOM): Applying a policy to a PDF document using the web service API
I changed the IP address in the URL while adding the reference and creating the endpoint. But I am receiving the below error message.
The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via.
can someone please help.
Thanks,
NikhilBelow is the c# code and config files.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using ConsoleApplication1.ServiceReference1;
namespace ConsoleApplication1
class Program
static void Main(string[] args)
try
//Create a RightsManagementServiceClient object
RightsManagementServiceClient rmClient = new RightsManagementServiceClient();
rmClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("https://IPAddressofSite/soap/services/RightsManagementService?blob=mtom");
//Enable BASIC HTTP authentication
BasicHttpBinding b = (BasicHttpBinding)rmClient.Endpoint.Binding;
b.MessageEncoding = WSMessageEncoding.Mtom;
rmClient.ClientCredentials.UserName.UserName = "********";
rmClient.ClientCredentials.UserName.Password = "*********";
b.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic;
//b.Security.Mode = BasicHttpSecurityMode.TransportCredentialOnly;
b.Security.Mode = BasicHttpSecurityMode.Transport;
//Create a BLOB that represents the PDF document
//to which a policy is applied
BLOB inDoc = new BLOB();
//Reference the PDF document to which a policy is applied
string inputFileName = @"P:\PDF\TextToPDf.pdf";
FileStream fs = new FileStream(inputFileName, FileMode.Open);
//Get the length of the file stream
int len = (int)fs.Length;
byte[] ByteArray = new byte[len];
//Populate the byte array with the contents of the FileStream object
fs.Read(ByteArray, 0, len);
inDoc.MTOM = ByteArray;
//Prepare output parameters
string PolicyID;
string DocumentID;
string MimeType;
SetCertificatePolicy();
//Apply a policy to a PDF document named Loan.pdf
BLOB outDoc = rmClient.protectDocument(
inDoc,
"TextToPDf.pdf",
"Test Policy Set",
"Test Policy 1",
null,
null,
ConsoleApplication1.ServiceReference1.RMLocale.en,
out PolicyID,
out DocumentID,
out MimeType);
//Populate a byte array with the contents of the BLOB
byte[] outByteArray = outDoc.MTOM;
//Create a new file containing the policy-protected PDF document
string FILE_NAME = @"P:\PDF\PolicyProtectedLoanDoc.pdf";
FileStream fs2 = new FileStream(FILE_NAME, FileMode.OpenOrCreate);
BinaryWriter w = new BinaryWriter(fs2);
w.Write(outByteArray);
w.Close();
fs2.Close();
catch (Exception ee)
Console.WriteLine(ee.Message);
Console.ReadKey();
/// <summary>
/// Sets the cert policy.
/// </summary>
public static void SetCertificatePolicy()
ServicePointManager.ServerCertificateValidationCallback += RemoteCertificateValidate;
/// <summary>
/// Remotes the certificate validate.
/// </summary>
private static bool RemoteCertificateValidate(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors error)
// trust any certificate!!!
System.Console.WriteLine("Warning, trust any certificate");
return true;
web.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="RightsManagementServiceSoapBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="AXIS" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="RightsManagementServiceSoapBinding1" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://IPAddressofSite/soap/services/RightsManagementService"
binding="basicHttpBinding" bindingConfiguration="RightsManagementServiceSoapBinding"
contract="ServiceReference1.RightsManagementService" name="RightsManagementService" />
</client>
</system.serviceModel>
</configuration> -
How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000
Post Author: ltkin
CA Forum: WebIntelligence Reporting
Hi,
How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
Regards,Hi ltkin,
Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
Please let me know if the above information helps.
Regards,
Pavan -
How to install report server as service in windows
OS : windows XP
oracle 10G isuite
Every time I am restarting my machine I have to start the report server using command rwserver server=repserver10G start in command prompt.
How to install the the report server as service in windows? so that it can be started automatically with machine restart.You can create one batch file for this command and keep in startup scripts.
-Ammad -
How to deploy and debug java web service in eclipes or using any other soft
Hai,
can any one tell me how to deploy and debug java web service in eclipes or using any other software.
i have used tomcat web server and jdk1.4.0 to develop web service.
we have used web service to interact with MS outlook .
bye
sudhakar.mHi Sudhakar,
If you are used to working with ant then you can very well use eclipse to deploy your web service.
You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
I am not sure about debugging a web service yet.
Hope this helps
Aviroop
The truth is out there? Does anyone know the URL?
Maybe you are looking for
-
Finder crashes when I try to open my external USB HDD
Hello all. I have been experiencing issues with my external USB HDD (WD Passport) and my Macbook Pro (Summer 2012) for some time. It looks that the HDD shows up on the desktop when I connect it but when I try to open the My Passport icon on the deskt
-
Why does my track volume on selected track suddenly spike?
Why does my track volume, on the SELECTED TRACK, suddenly spike to max as if I had volume automation set. It never did this before a few weeks ago. Very frustrating. It happens during playback and loop recording. It started around the same time I sta
-
Error message R8281 after creating generic datasource
Hi Guys, I created a datasource, and when i go to RSA6 and run a check it gives me an error message: R8281 . Does anyone know how i can rectify this? Thanks
-
Why does iCal keep changing to colour of one of my calendars?
For some reason, every time I open my iCal the colour of my "work" calendar is changed from Green to pink(one of the create your own colours). I keep changing it back to green and it keeps going back to pink. I am incredibly frustrated. Any suggestio
-
Lenovo s8-50LC Wifi Freezing Error
This is to request you all that I have Lenovo S8-50LC tablet but a strange problem I am facing its wifi searching capacity is poor and if its not there it stops recognising the wifi singals. then need to restart everytime to re activate the same.. Pl