Title: Message
Hi Christian and Andre and other Axis-users,
   I think you will have to make changes to web.xml corresponding to axis and then in the client code.
 
I played around a bit and could get to http://myserver.com/axis/serviceName
 
Specifically, here's my web.xml in the \axis\WEB-INF folder
<servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>   
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
 
instead of the earlier
<servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>   
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>
 
 
and the client code now uses :
 
 
I think what you desire is closer now.
 
Sunil Kothari
Majoris Systems
----- Original Message -----
Sent: Wednesday, December 22, 2004 9:20 PM
Subject: RE : Changing target endpoint URL

Can you add a redirect/forward in your WebServer to redirect from http://myserver.com/serviceName to http://myserver.com/axis/services/serviceName internally?
 
Christian Faucher


-----Message d'origine-----
De : André Næss [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 22 décembre 2004 10:44
À : [EMAIL PROTECTED]
Objet : Changing target endpoint URL


I've recently taken over the development of an Axis based web service implementation. The service is currently called as http://myserver.com/axis/services/serviceName but the customer wants it to be available as simply http://myserver.com/serviceName

I've unsuccessfully played around with mod_rewrite and googled quite a bit for other solutions, but I can't seem to find a way to achieve this. Does anyone know of a way to do what I want?

Regards
André Næss


"Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne représente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately."

Reply via email to