Hi.
Me too, but it does not work. I think axis is missing the 'axis' folder
which is given by default in the path.
Do you also changed something in servicelocator.class i.e. the endpoint, or
is it still the same?
Cheers,
Oli
----- Original Message -----
From: "Grossberger, Guenter" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 10, 2006 2:22 PM
Subject: RE: how to change location of web service classes
Hi!
I've got server-config.wsdd in the directory
webapps/the-struts-application/WEB-INF and it works. This is also where Axis
puts it if you run the admin client.
Best regards,
Günter
-----Original Message-----
From: Oliver Heinze [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 1:38 PM
To: [email protected]
Subject: Re: how to change location of web service classes
OK. I copyed all files to the new location including all axis
files and
updated the web.xml. But when I call my service I get the
following error:
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/services/WSIntern
In my opinion I also have to configure the axis servlet. How
can I tell the
axis servlet where to find the server-config.wsdd ? Because
the default path
webapps/axis/WEB-INF/ does no longer exist.
The axis concerning part of my web.xml is the following:
<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
Thanks for your help.
Cheers,
Oli
----- Original Message -----
From: "Grossberger, Guenter" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 10, 2006 11:28 AM
Subject: RE: how to change location of web service classes
Hi!
I'd move all the Axis files (including all jars) to the new location
/the-struts-application/WEB_INF/. Then you would have to
change your web.xml
to direct the Web Service calls to the Axis servlet instead
of your struts
servlet(s) based on the URL. I.e. copy the <servlet> and
<servlet-mappings>
from the Axis web.xml to your application.
Best regards,
--
Günter Grossberger
Consultant Tel: +43 1 329 50 161
Software AG Austria Fax: +43 1 329 50 171
Guglgasse 7-9 GSM: +43 676 833 29 261
1030 Wien http://www.softwareag.com/austria
> -----Original Message-----
> From: AMC Clinixx Test Account [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 10, 2006 11:15 AM
> To: [email protected]
> Subject: how to change location of web service classes
>
> Hi all.
>
> I installed axis into tomcats webapps folder and created my
> web services in
> tomcat/webapps/axis/WEB_INF/classes. Everything works fine.
> But now I want
> to integrate my web service classes into an existing struts
> application for
> using same property files and so on.
> In different words: I want to have my classes in
> /the-struts-application/WEB_INF/classes/ instead of
> tomcat/webapps/axis/WEB_INF/classes.
>
> How can I tell the axis servlet to look for the classes in
> the new location?
> Which files I have to change? Do I have to generate a new
> context inside the
> server.xml of tomact?
>
> Please help me. Some hints would be nice. Thanks.
>
> Cheers,
> Oli
>
>