This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Multiple Classes in the Same package-Axis
 
jQuery in Action, 3rd edition