You are on page 1of 7

Configuring the BPC XMLA web service, version 10 for Windows authentication on Microsoft Windows Server 2008

Document version: 1.0

Summary
The OLAP connections of SAP BusinessObjects BI platform (BOE) 4.0 SP02 (or lower SP version) do not support Windows authentication of type BPC XMLA service, version 10. It supports CMS authentication of type BPC XMLA service. This guide explains how to enable the BPC XMLA web service for Windows authentication type for the OLAP connections of BOE 4.0 SP02. To enable it, you need to create a virtual directory for Internet Information Services (IIS). This guide also explains the process of setting up the BPC XMLA web service when using Microsoft Windows Server 2008 or 2008 R2. The processes are done in the BPC .NET (application) server.

A. Creating the physical directory XMLA


1. 2. Create a directory named XMLA under %PC_MS%\Websrvr Create a directory named bin under %PC_MS%\Websrvr\XMLA\

B. Copying files
1. Copy the following files to %PC_MS%\Websrvr\XMLA\ %PC_MS%\Websrvr\Web\BPC\App\XMLA\XmlaWebService.asmx %PC_MS%\Websrvr\Web\BPC\crossdomain.xml %PC_MS%\Websrvr\Web\BPC\DatasetSchema.xml %PC_MS%\Websrvr\Web\BPC\DataSources.xml Copy the following files to %PC_MS%\Websrvr\XMLA\bin %PC_MS%\Websrvr\Web\BPC\bin\BPC.ManagedIso.dll %PC_MS%\Websrvr\Web\BPC\bin\BPCXmlaWebService.dll %PC_MS%\Websrvr\Web\BPC\bin\Simba.Olap.Common.dll %PC_MS%\Websrvr\Web\BPC\bin\Simba.Olap.dll %PC_MS%\Websrvr\Web\BPC\bin\Simba.Xmla.dll

2.

C. Setting up an application
1. 2. 3. Open the Internet Information Services (IIS) Manager. To do that, open the Windows Start menu and choose Control Panel Administrative Tools . In the Internet Information Services (IIS) Manager, expand the Sites node, and then select your Web site node. Open the context menu for your Web site and choose Add Application (See Figure 1).

Figure 1 4. Enter the required attributes as follows (See Figure 2): a. In the Alias field, enter XMLA; b. In the Application pool field select SAP_BPC; c. In the Physical path field, enter %PC_MS%\Websrvr\XMLA.

Figure 2 5. Click the node of the virtual directory XMLA. In the right-hand side pane select Authentication. (See Figure 3) Enable only Anonymous Authentication. (See Figure 4)

Figure 3

Figure 4

D. Creating the Web.config file and editing the security context of the file
1. 2. Create an empty file named Web.config in the directory %PC_MS%\Websrvr\XMLA\ The full path would be %PC_MS%\Websrvr\XMLA\web.config Add the following code in the web.config file:

<?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="AdminUser" value="User ID of BPC Admin" /> <add key="AdminUserPW" value="Password of BPC Admin " /> <add key="User" value="UserID of BPC User" /> <add key="UserPW" value=" Password of BPC User" /> </appSettings>

</configuration>
3. Set the security information (user ID and password) in the section you added in the previous step. (for example, MyDomain\UserID ) Enter the user ID/password of your BPC Admin. This account information was used while installing BPC. Enter the user ID/password of your BPC User. NOTE: The security context will be encrypted in step G. Encrypt the Configuration Sections of Web.config.

E. Configure the XMLA Provider


1. 2. The XMLA Provider requires the following configuration settings: Go to the Planning and Consolidation .NET server, %PC_MS%\Websrvr\XMLA and open the DataSources.xml file. In this file, update the server name to be the same as the Planning and Consolidation server name in the same node: <URL>http://<servername:port>/XMLA/XmlaWebService.asmx</URL> <DataSourceInfo>Data Source = http://<servername:port></DataSourceInfo> Save the file DataSources.xml

3.

F. Confirm the BPC XMLA service at OLAP Connection of CMC


1. 2. 3. Log on to the Central Management Console (CMC). Go to the page OLAP Connections and create a New connection. For provider select SAP BusinessObjects Planning and Consolidation 7.5 (See Figure 5)

Figure 5

4.

Enter the URL of the BPC XMLA web service (See Figure 6) http(s)://%BPCServer:port%/XMLA/XmlaWebService.asmx

Figure 6 5. Choose the Connect button. Enter your user name and password for the BPC connection, and confirm if all available BPC environments and models are shown in Cube Browser correctly. Save your connection.

6.

G. [Optional] Encrypt the Configuration Sections of Web.config


You can use the Aspnet_regiis.exe tool to encrypt sensitive data which was entered Web.config file in step D.3. in the

For more information, see How To: Encrypt Configuration Sections in ASP.NET 2.0 Using DPAPI (http://msdn.microsoft.com/en-us/library/ff647398.aspx) 1. To encrypt the security section, run the following command from in the Windows Command prompt: aspnet_regiis.exe -pe "appSettings" -app "/XMLA" prov "DataProtectionConfigurationProvider" NOTE: You can find the aspnet_regiis.exe file in the following location: C:\Windows\Microsoft.NET\Framework64\v4.0.xxxxx\. The full command string would be: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" -pe "appSettings" -app "/XMLA" -prov "DataProtectionConfigurationProvider"

You might also like