VERIFIED SOLUTION i
X

How to deploy E2VaultWS web services

UPDATED: September 18, 2017


How do I deploy the E2 Vault Web services?  


See page 244 of the 6.1m0 e2 Vault Customizing Guide:
 
Vault Web Service
Configurating and setting up your Web Service environment
The following information lists the requirements necessary to setup your Vault Web Service
environment. Web service E2VaultWS is cross platform (Windows, Unix (Linux, …).
The C# sample shown here is only for Windows, all others are for all platforms.
Enviroments supported
• OS : Windows XP
• Java: 1.5
• Webservice/Servlet container : Tomcat 6.0.26
• Development IDE : Netbeans IDE 6.8
Files included
• war file package : E2VaultWS.war
• configuration file : E2VaultWS.xml
Installing Web Service
1. Install the war file
To Install the war file package for Apache Tomcat 6.*, you can place the E2VaultWS.war file in
the TOMCAT-DIR/webapps directory.
 
2. Set up the Vault host name and port number
Open TOMCAT-DIR/webapps/E2VaultWS/WEB-INF/web.xml. Add or modify the following
lines:
3. Set up paramters for SSL enabled Vault servers
Open TOMCAT-DIR/webapps/E2VaultWS/WEB-INF/web.xml. Add or modify the following
lines:
<context-param>
<description>the host name of Vault Rendering Engine</description>
<param-name>vaulthostname</param-name>
<param-value>localhost</param-value>
</context-param>
<context-param>
<description>the port number of Vault Rendering Engine</description>
<param-name>vaultport</param-name>
<param-value>6003</param-value>
</context-param>
<context-param>
<description>SSL enable flag</description>
<param-name>sslenabled</param-name>
<param-value>1</param-value>
</context-param>
<context-param>
<description>SSL Keystore Path</description>
<param-name>sslkeystorepath</param-name>
<param-value>C:/demos/SSL/javaclient-keystore.jks</param-value>
</context-param>
<context-param>
<description>SSL Keystore Password</description>
<param-name>sslkeystorepassword</param-name>
<param-value>javaclient</param-value>
</context-param>
<context-param>
<description>SSL Key Password</description>
<param-name>sslkeypassword</param-name>
<param-value>javaclient</param-value>
</context-param>
 
4. Test your installation
1. After installing the files (E2VaultWS.war and E2VaultWS.xml):
i. Start Tomcat and check the log /screen messages to see if there are any errors.
ii. If there aren’t any errors, you can check the E2VaultWS web service api:
2. Open your web browser.
3. Enter: "http://localhost:8080/E2VaultWS" and you will see the following message:
"Hello Web Service World!"
4. Enter: "http://localhost:8080/E2VaultWS/E2VaultWS" and you will see the following
message:

Web Services

EndpointInformation
Service Name:{http://ws.vault.e2.pb.com/}E2VaultWS
Port Name:{http://ws.vault.e2.pb.com/}E2VaultWSPort
Address:http://localhost:8080/E2VaultWS/E2VaultWS
WSDL:http://localhost:8080/E2VaultWS/E2VaultWS?wsdl
Implementation class:com.pb.e2.vault.ws.E2VaultWSImpl

5. Click the "WSDL: http://localhost:8080/E2VaultWS/E2VaultWS?wsdl" link and you will
see the WSDL XML content.
Your Web Serice setup is complete.

Downloads

  • No Downloads