Title: Nachricht
Hi,
 
if you have different packages in your class-files, there should be no problem. Just, when including data from your jars, ensure, that you are using the rightpackage-names.
Inside the lib, I'm not quite sure, how Tomcat would handle it, if you put your jars in another subdirectory, maybe it tries to enlarge the package name of your class with the name of your directory in first location. I would try to leave it directly in lib-directory.
The service-Url does not depend on where your class-files are, but on the deployment. A service called gws1 is supposed to be accessible, using your second proposal.
 
Gereetings from Hamburg/Germany
-----Ursprüngliche Nachricht-----
Von: Michael Fecina [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 9. Dezember 2002 09:15
An: [EMAIL PROTECTED]
Betreff: multiple web services under axis with same classes

Hello,
 
I have three grocery web services, all of which work when deployed ALONE.  They all have one of the same classes, GroceryWebService.class in their respective jars (gws1.jar, gws2.jar, and gws3.jar).  All of these jars reside in $TOMCAT_HOME/webapps/axis/WEB-INF/lib.  Is there a way that I could keep the same class names in all of the services (note that they are in different packages, but this does not seem to matter), but just put them in separate directories under the axis lib?  Example:
 
gws1 would reside in $TOMCAT_HOME/webapps/axis/WEB-INF/lib/gws1/gws1.jar
gws2 would reside in             ""                    ""                                       gws2.jar
gws3 would reside in            ""                     ""                                       gws3.jar
 
If so, how would I do this?  Must I change stuff while I call the Java2WSDL and WSDL2Java commands to put the service at the new url of http://localhost:8080/axis/services/gws1/gws1 or could it remain http://localhost:8080/axis/services/gws1 ... please let me know, I'd really like to get three grocery web services up and running on th esame box .. I know it's just a class conflict problem!
 
All information is greatly appreciated,
Mike Fecina ([EMAIL PROTECTED])

Reply via email to