Good Afternoon John- 1)first thing is get the JWS parser on AXISCLASSPATH set AXIS_HOME=c:\axis set AXIS_LIB=%AXIS_HOME%\lib set AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar; %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar 2)get your Deployment Descriptor created e.g. here is one from MessageWebServiceWS <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/> <service name="MessageWebServiceWS" provider="java:RPC"> <parameter name="action" value="UsernameToken"/> <parameter name="user" value="wss4j"/> <parameter name="className" value="MessageWebServiceWS"/> <parameter name="allowedMethods" value="*"/> </service> </deployment> http://ws.apache.org/axis/java/install.html#ClasspathSetup 3a)run a quick test test Axis Happiness Page http://localhost:8080/axis2/axis2-web/HappyAxis.jsp 3b) run the client HTH Martin ----- Original Message ----- From: "atheus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2008 12:55 PM Subject: tomcat/axis not compiling java > > Hi - I hope someone here can help me, because I've been at this for hours and > I'm getting nowhere... > > Basically I have tomcat 6 and axis installed on the server, and > happyaxis.jsp validates the install, but whenever I try to access a jws web > service it spits out the java code rather than compiling and executing - as > if it was just a text file served over apache. > > Apparently a jws is just java class. This is from the install guide: > > Axis' JWS Web Services are java files you save into the Axis webapp anywhere > but the WEB-INF tree, giving them the .jws extension. When someone requests > the .jws file by giving its URL, it is compiled and executed. > > There appears to be a jws servlet mapping the WEB-INF/web.xml so I'm not > sure what could be wrong... > > Any ideas? > > J.R. > -- > View this message in context: http://www.nabble.com/tomcat-axis-not-compiling-java-tp16010755p16010755.htm l > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
