The ExtraView Web Service module is packaged as a war file. The configuration file is held inside of this war file, and must be edited for your environment. If you do not have the download, ExtraView Support will give you the location where the file resides. Download this before starting the installation. The following instructions utilize Apache Tomcat as the application server and Apache as your web server. If you are using different servers, it is assumed you have sufficient knowledge to modify the instructions yourself. To install the Web Service:
# (REQUIRED) The URL for the ExtraView API
API_URI=http://yourserver.yourdomain.com/evj/ExtraView/ev_api.action
# (OPTIONAL) The ExtraView user account and password used for PING only
EV_WS_USER=admin
EV_WS_PASSWORD=password
# (OPTIONAL) Used for setting up full RAMPART secure message access to the web service SECURE_ID=service
SECURE_PASSWORD=apache
# (OPTIONAL) The internal expected delimiter (must match the users behavior setting)
DELIMITER=:
JkMount /evj-WS/services/* tomcat1
JkMount /evj-WS/wsdl/* tomcat1
Alternatively, if you are using an ev.conf or extraview.conf file, you add these mounts into that file. Make sure you save the file after editing
http://SERVER_NAME/evj-WS/services/EVSystemService/getPing
A successful response will look similar to:
<ns:getPingResponse>
<ns:return>
Reply: status=SUCCESS: EV-EXTRAVIEW ALIVE, WS-EV-PROPERTIES-OK, EV-REV-UNKNOWN-OK time=94ms </ns:return>
</ns:getPingResponse>
http://yourserver.yourdomain.com/evj-WS/services/EVSystemService?wsdl http://yourserver.yourdomain.com/evj-WS/services/EVUserService?wsdl http://yourserver.yourdomain.com/evj-WS/services/EVItemService?wsdl http://yourserver.yourdomain.com/evj-WS/services/EVQueryService?wsdl
It is possible to run out of server memory when inserting a large number of images via web services. It is recommended that you provide this setting in the configuration file to increase the WSDL package size:
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
Within your Apache Tomcat configuration, you should set the maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can be altered by setting the following attribute to a value less than or equal to 0. If not specified, the attribute is set to 2097152 (2 megabytes).
<Connector port="8082" protocol="HTTP/1.1" URIEncoding="UTF-8"
connectionTimeout="20000" maxPostSize="209715200"
redirectPort="8442" maxParameterCount="1000000" />