This is the seventh and final post in a series demonstrating programmatic access to Metapedia Terms through the web services API available in SAP Information Steward. See Creating a Custom Interface to SAP Information Steward’s Metapedia using Web Services for an introduction. In our last post, Metapedia Custom Interface – Incorporating the Web Service Interface Classes, we created a simple web application that logs into a BusinessObjects environment and displays a Metapedia Term. That's great, but it's only running on our workstation so we want to deploy it to a Tomcat server so others can use it, too. Mine is going to the same server that hosts SAP Information Steward, but theoretically I could send it to any compatible Tomcat server.
Generate a WAR file
Eclipse makes it easy:
- Right-click on MetapediaQuery in the Project Explorer and select Export->WAR file
- Enter the Destination as C:\MetapediaWS\MetapediaQuery.war
- Click Finish
- You should find MetapediaQuery.war in your C:\MetapediaWS folder
Copy the WAR file onto the target server
- Open a remote session onto the server
- Copy the MetapediaQuery.war onto the server
- Place it in <BusinessObjects>\Tomcat6\webapps where <BusinessObjects> is the root folder where SAP BusinessObjects is installed
You can check the path to various executables in the SAP Business Intelligence Start Menu folder to get an idea of where SAP BI is installed, if it’s not obvious.
- Note that it is not necessary to stop or restart Tomcat
Within a few seconds you should observe that Tomcat has extracted the WAR contents into a folder in the same directory: Now from any location capable of HTTP communication with your server, you should be able to exercise the new web application. For example, the URL in my environment is:
What makes the SAP Information Steward API most elegant - that it's implemented as web services - also makes it a little harder to integrate, but it's doable. If you've followed this series, then you have a place to begin for constructing an even more robust solution.