Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
View Interest List Message Details
<< Back to Search Results

Date: 09/28/2005
From: kellymt@upmc.edu
Subject: RE: [ServletExec] Java Web Services on SE 5.0
Thanks for the references. I read everything you pointed me at and it
was all helpful. 

By your suggestion, I could distribute my web apps as 
C:\myWebapps\webappA
C:\myWebapps\webappB
C:\myWebapps\webappC

I see an advantage in your way. If I put the source at 
C:\myWebapps\webappA
I can reuse that source for any number of instances (assuming I can
share web apps between instances).



I notice that a lot of examples use the webapp folder as the root folder
(at least I think so since I spotted files like index.html there).
How about making the instance root 
C:\ServletExec AS\se-<some instance>\webapps\default\default-app

And placing the web app sources at 
C:\ServletExec AS\se-<some instance>\webapps\webappA 
C:\ServletExec AS\se-<some instance>\webapps\webappB 
C:\ServletExec AS\se-<some instance>\webapps\webappC


What do you see as the advantages of placing your web app in 
C:\myWebapps\webappA
vs. 
C:\ServletExec AS\se-<some instance>\webapps\webAppA
? 

I assume the C:\ServletExec AS\se-<some instance>\webapps\default folder
is meant to contain web apps set up by default by SE when a new instance
is created. 

The problems I was having with executing the batch files had to do with
missing activation.jar and mail.jar in the classpath, which is kind of
obvious from the error message. I just made the dumb assumption that if
I followed the steps of the example all the jar files would be in place.



In the end here is what I did (and it worked) for those who come after:


1)       Get the Axis download and unzip

2)       Create a servletexec instance on the web app server.

3)       Place the Axis code in a convenient location. I used the
command copy <axisunziplocation>/webapps/axis <SE instance
location>/webapps/axis. You may, of course, put it at
C:\myWebapps\webappA\

4)       Use the SE admin console to create a web application at the
location you copied to. In my case I called the web application                 
'axis'.
(If you copied to C:\myWebapps\webappA\ you would probably call the web
application 'webappA')

5)       Create a .jws file (I called mine Wrapper.jws) at the location
you copied to. In the jws file define your services. This jws file can
of course call any code you have in the classes folder or in jar files.

6)       That's all. You can now call the service Wrapper.jws. 




-------------------------------------------------------------------------
ServletExec-Interest. For archives and unsubscribe instructions, visit:

    http://www.newatlanta.com/servletexec-interest.jsp

Message Thread
Date Subject Author
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 jitesh.h.amin@lmco.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 jitesh.h.amin@lmco.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/28/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/28/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
<< Back to Search Results


   
company media information terms of use privacy policy contact us