Thanks to everyone who helped me, I resolved my problem. Just copy your
class files into your webapps/axis/classes/<package name>. It should work
when dealing with multiple classes in the same package.


----- Original Message -----
From: "sai pradeep" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 7:44 PM
Subject: RE: Multiple Classes in the Same package


> Hi Shrikanth!
>
> I couldnt get this thing working. Well, Just have a look at my code and
> suggest me what to do.
>
> /*
> * WFlink.java
> *
> * Created on January 11, 2004, 2:52 AM
> */
>
> package test;
>
> public class WFlink {
>
>     /** Creates a new instance of WFlink */
>     public WFlink() {
>     }
>
>     public String get(String variable)
>     {
>         return variable+" "+"in WFLink";
>     }
>
>     public short put(String variable, String activity)
>     {
>         return 0;
>     }
>
>     public  void start(long wfType, long wfID, long procID)
>     {
>          ....
>     }
> }
>
>
> /*
> * WFImpl.java
> *
> * Created on January 10, 2004, 6:45 PM
> */
> package test;
>
> public class WFImple {
>     public void runWF(long wftype, long wfID, long procID) {
>         WFlink wf = new WFlink();
>         wf.start(wftype,wfID, procID);
>     }
>
>     public short putAct(String variable, String activity) {
>         WFlink wf = new WFlink();
>         short h = wf.put(variable,activity);
>         return h;
>     }
>
>     public String getAct(String variable) {
>         WFlink wf = new WFlink();
>         String act = wf.get(variable);
>         return act;
>     }
>
> }
>
>
> WFImpl class is the one which has to be deployed on the server. I renamed
it
> as WFImpl.jws and deployed it on the AXIS service under
> tomcat/webapps/axis/test. I tried to place the WFLink class in the
> /WEB-INF/axis/test/ directory. But i still get the same message that "
Class
> WFLink could not be found". Please give me your valuable suggestions.
>
> Cheers
> Sai.
>
> _________________________________________________________________
> Games, MMS cards, ringtones. Operator logos, picture messages & more.
> http://server1.msn.co.in/sp03/mobilesms/ Jazz up your mobile!
>
>

Reply via email to