Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Multiple Classes in the Same package-Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Multiple Classes in the Same package-Axis" Watch "Multiple Classes in the Same package-Axis" New topic
Author

Multiple Classes in the Same package-Axis

Sai pradeep
Greenhorn

Joined: Jan 12, 2004
Posts: 10
Hi all!
How can one use the supporting classes for the main service? Where should be these \
classes placed in the application server(in this case tomcat4.1)? To illustrate \
further see this sample code. Whenever i try to deploy this Service, it says that i \
couldn't find InvJni class. Please let me know where should i place this class in the \
tomcat directory for tomcat to recognize it.
Service.java (Service - to be deployed)
-----------------------------------------------
package WF;
public class Service
{
public void getAct(String variable)
{
InvJni.get(variable); // InvJni is another class which is \
defined in the same package, which has get and put methods. ......
}
public void putAct(String variable, String activity)
{
InvJni.put(variable,activity);
.......
}
InvJni.java(another class)
-------------------------------
package WF;
public class InvJni
{
public void get(String variable)
{......}
public void put(String variable, String activity)
{.....}
}
Please let me know how to deploy this webservice successfully on tomcat.
Cheers
Sai
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Classes in the Same package-Axis