axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siva kondapalli <>
Subject RE: Writing JSP Client for a deployed Web Service
Date Wed, 21 Jan 2004 12:17:17 GMT
I didtn understand your question...!
If your question is if Iam using the same Port them Iam using the same 8080.

"Chanian, Raj" <> wrote:
Dont you need to use the correct port for tomcat?



-----Original Message-----
From: siva kondapalli [] 
Sent: 21 January 2004 11:08
Subject: Writing JSP Client for a deployed Web Service

     I posted this question(not in detail) before in this forum.I have deployed amy own Web
service and written an program and it worked fine,which including below
import org.apache.axis.AxisFault;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.utils.Options;
import org.apache.axis.encoding.XMLType;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import MyService.*;
public class MyServiceClient
   public static void main(String[] args) throws Exception
      Service service = new Service();
      Call call = (Call) service.createCall();
      String endpointURL="http://localhost:8080/axis/servlet/AxisServlet";
         call.setOperationName(new QName("MyService","msqinput"));
         String msqstr=new String("005;498 002 002;205 027;374 145;3");
         String result=(String) call.invoke(new Object[] {msqstr});
         System.out.println("RESULT: " + result);       
        catch(AxisFault fault)
I have  rewritten the Same Client program using JSP and copied that to "$Tomcat_HOME/webapps/axis/"
 directory and tried accessing it using
http://localhost:8080/axis/MyClient.jsp and couldnt see the Output(result).
Can anyone please tell me where to place my Client JSP program to invoke a web service under
Thanks in advance

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
View raw message