Hi Richard! It happens the same thing. acessing the webservice (.jws) or the wsdl URI (.jws?wsdl) the java code is showed in the browser.
I was testing in another computer and it works fine. I'll try to reinstall all the software. Thank you very much! Regards ----- Original Message ----- From: "Richard Martin" <[EMAIL PROTECTED]> Date: Sat, 31 Jan 2004 21:29:50 -0000 To: <[EMAIL PROTECTED]> Subject: RE: happyaxis ok, but browser only shows jws code > Hi Marcelo, > > Thats odd. Try and get the WDSL for the jws service by typing ?wsdl after > the service name, so something along the lines of > http://host/service.jws?wsdl and see if this actually returns the WSDL file. > > > Is there anything in the logs that might indicate what's going on? > > Richard > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 31 January 2004 20:09 > To: [EMAIL PROTECTED] > Subject: RE: happyaxis ok, but browser only shows jws code > > Hi Richard! > > Thank you so much for your help. > But in my web.xml, this servlet-mapping > node is already present. I have > restarted tomcat but it don't solve the > problem. > > Is there another suggestion? > > Thanks you so much > > > > 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 > --- 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
