skip to main content

Programming Guides : Web Services with isCOBOL : Installing and testing client code : The Long Story:

The Long Story:
Start by installing a suitable container, such as Apache Tomcat. Any J2EE server will do. To install isCOBOL for Axis2 on the server, place the Axis2.war file in the server's webapps directory. The server will then expand the distribution into its proper structure, seen in the earlier section.
isCOBOL for Axis2 services come bundled as *.aar files, which contain all of the pieces necessary to define the service, such as the necessary classes and libraries and the services.xml file that defines the service's behavior. You can install the service using the Web administration application, but to make things simple for now, copy the *.aar file into the isCOBOL for Axis2 services directory. For example, to install the UserFunctions service distributed as one of the isCOBOL for Axis2 samples, copy the file “samples/userguide/server/UserFunctions.aar” to the directory “<J2EE_HOME>/webapps/axis2/WEB-INF/services”. Note that the UserFunctions.aar file was built using the ant command from “samples/userguide”.
Your client can come in any number of forms, from a collection of files to a single *.jar file. The important thing is to ensure that all the appropriate classes are on the classpath. In addition to the classes that pertain to the actual client, you must also add the isCOBOL for Axis2 jar files into the CLASSPATH. Normally you will do adding the *.jar files in the lib directory to your CLASSPATH.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left