Presented by developerWorks, your source for great tutorials
ibm.com/developerWorks
C:\ettk\wsag\lib\mailapi.jar
Create a standard
web.xml
file and put it in the
WEB INF
directory
(
C:\tutorials\axisEJB\axisEJBHello\web\WEB INF
).
PUBLIC " //Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web app_2.2.dtd">
Add the Axis Servlet (SOAP transport) and mappings to the
web.xml
file as follows:
AxisServlet
Apache Axis Servlet
org.apache.axis.transport.http.AxisServlet
AxisServlet
/servlet/AxisServlet
AxisServlet
/services/*
The
AxisServlet
is the entry point to the Axis Engine for doing SOAP over HTTP.
Add an EJB reference to the
web.xml
file to the
HelloService
EJB component as
follows:
Hello
Session
rickhightower.axis.ejb.tutorial.HelloHome
rickhightower.axis.ejb.tutorial.Hello
ejbclient.jar#Hello
Service enable EJB SessionBeans with the IBM ETTK
Page 9 of 33
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved