Hi Marcelo, 

You need to tell tomcat to execute the .jws files rather than simply load
them. You can do this by adding the following lines to the web.xml file in
the webapps directory in which Axis is loaded:

<servlet-mapping>
  <servlet-name>AxisServlet</servlet-name> 
  <url-pattern>*.jws</url-pattern> 
  </servlet-mapping>
<servlet-mapping>

This presumes that you have setup a <servlet> mapping for the AxisServlet in
the same file.

Regards, 

Richard

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 31 January 2004 06:02
To: [EMAIL PROTECTED]
Subject: happyaxis ok, but browser only shows jws code

Hi everybody!

I'm beginning with axis development and I've
installed the jakarta-tomcat 4.1 and I've
followed all the axis installation steps.

My happyaxis.jsp page seems ok. All the core
libraries are present. But when I try to
create a jws webservice, it doesn't work. The
browser just shows the .jws java code.

I'm using j2sdk-1.4.2_03 on Windows XP PRO
and axis-1_1.

Thanks for any kind of help and sorry for
this beginner question. :)


---
MARCELO ANDRADE
Linux User #221105
Computer Science Bachelor
Belem-Para-Amazonia-Brazil

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



Reply via email to