Sai,

 

The easiest thing you can do is put the classes in <tomcat_home>/webapps/axis/WEB-INF directory. Please make sure that to maintain the package hierarchy of these classes in the WEB-INF directory. Restart the tomcat instance. It should work.

 

Shrikant Wagh

QA Lead, HPP/Eprofile, HP

 

For those who are interested in Web Services testing:

-----------------------------------------------------

I found that WebServiceTester from Optimyz software is a very good tool for testing any types of web services, and I'm great fan of this tool. It supports all types of web services, and all simple and complex types and it very usable than any other tool in the market I ever used/evaluated. It automatically generates the SOAP requests and invokes the intended web services. It can perform functional, regression and load testing of web services. Result analysis and status reporting is just wonderful.  I'll highly recommend this tool for testing web services, saves lots of time and efforts in testing web services. For more information visit http://www.optimyz.com.

 

DISCLAIMER

================================================================

 

THESE ARE MY PERSONAL VIEWS/OPINIONS AND DOES NOT REPRESENT HP, AND THE INFORMATION PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE I/HP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS INFORMATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

=================================================================

 

 

-----Original Message-----
From: Sai Pradeep - Hotmail [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 5:20 PM
To: Axis Mailing list Apache
Subject: Multiple Classes in the Same package

 

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

Reply via email to