Ilka:

Just surround the invocation code by any web interface (JSP, Servlet).

In the case of JSP, you could call the CalcClient class like that:

   <html>
     <head>
       <title>Sample Application JSP Page</title>
     </head>
     <body>
       <%
         CalcClient cc = new CalcClient();
         String [] args = new String [] {"add", "7", "4"};
         cc.main( args );
       %>
       finished !
     </body>
   </html>


This doesn't include passing of the parameters. Please have a look at any
JSP tutorial. The result appears on the console window. You might want to
change the class CalcClient a little bit.


best regards

Matthias Wimmer
 



 -----Original Message-----
From: Ilka [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 5:03 AM
To: [EMAIL PROTECTED]
Subject: Invoking via Web Browser


Hi,

I created a simple Web Service like the calculator example with axis and
tomcat. Now I want to invoke the service via web browser. Can anybody tell
me how to write and to place the form? A tutorial or sample code would be
also helpful.

Any help would be great!

Thanks,
Ilka

Reply via email to