Axis Tests; Axis Tools - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

250
34.2. Embedded Axis Webapp
34.2.1. Constraints
The EJBs exposed as Web Services can have either local or remote interfaces.
The EAR must contain a Webapp including a
34.2.2. Usage
Deploy the application archive (EAR):
Use the AdminClient tool to deploy the webservices (with a
Example:
jclient org.apache.axis.client.AdminClient
-lhttp://localhost:9000/hello/servlet/AxisServlet deploy.wsdd
Be careful to use a good URL to reach the Axis Servlet.
Refer to the
embedded_axis

34.3. Axis Tests

When everything is deployed and running, use the following URL to view the deployed Web Services:
http://yourserver:port/yourwebapp/servlet/AxisServlet
This page will display a link for each Web Service with the
Axis from the Java Interfaces). Use the following URL to access your Web Service (add ?WSDL for
the associated WSDL file):
http://yourserver:port/yourwebapp/services/ Service-name
A client class can now be run against the Web Service. Note that any language (with Web Services
capabilities) can be used for the client (C#, Java, etc.).

34.4. Axis Tools

Use jclient to deploy your Web Services (in the Axis way):
jclient org.apache.axis.client.AdminClient [OPTIONS]
34.4.1. Options
-l
:
the
URL
http://localhost:9000/axis/servlet/AxisServlet)
example (in the
location
of
the
Chapter 34. How to use Axis in JOnAS
with Axis servlet mapping.
web.xml
.wsdd
$JONAS_ROOT/examples
WSDL file
AxisServlet
servlet
file)
directory).
(automatically generated by
WSDD-file
(the
default
location
is:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server

Table of Contents