Hello,
The simplest service would be:
"simplestService.jws"
--- cut here ---
public class SimplestService {
public boolean myMethod(String theName) {
return "Paweł".equals(theName);
}
}
--- cut here ---
The only thing you need to do is to configure Tomcat in web.xml file to process
*.jws files as WebServices by adding these lines:
<servlet>
<servlet-name>webServiceProcessor</servlet-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>webServiceProcessor</servlet-name>
<url-pattern>*.jws</url-pattern>
</servlet-mapping>
And then add axis.jar, wsdl4j.jar, saaj.jar and jaxrpc.jar files into
/WEB-INF/lib directory of your web application handling the services.
--
Best regards,
Paweł Garbacz (Web Technology Team)
TETA S.A. --== www.teta.com.pl ==--
-----Original Message-----
From: Plorks mail [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 3:42 PM
To: [email protected]
Subject: Could someone provide the following please ....
So i could see what's going on
A sample axis web service (server-side) and a sample axis client web service
Many many thanks
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/