Prev | Current Page 138 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

First, change directory to the EJB
samples directory.
cd ch04\AxisSoapBindEjb\ejb
Binding??”The Conventional Way
[ 92 ]
Now, set the environment variables for the build console as per the Weblogic
documentation and then use the ant script provided along with the Weblogic server
bundle. For that, do the following:
%wl.home%\samples\domains\examples\setExamplesEnv.bat
%wl.home%\server\bin\ant
Assuming that you are using the Weblogic 8.x version, the above steps should have
built the EJB by now. If you use a different version of the EJB server, or if you use a
different vendor's EJB server, refer to the documentations there to make changes to
the build exercise.
We can even test whether our EJB deployment went fine by executing a test client, like:
cd ch04\AxisSoapBindEjb\ejb
%wl.home%\server\bin\ant run
Bind EJB to SOAP
We will use the Apache SOAP implementation for this demonstration. From the
Apache SOAP distribution, copy the soap.war file and deploy that to the webapps
folder of your favorite web server (Apache Tomcat). You also need to copy the
following files and make them available in the lib folder of your web server:
%wl.


Pages:
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150