This could be pretty easily accomplished with an http server (such as 
http://httpd.apache.org). You could either rewrite 
(http://httpd.apache.org/docs/2.2/rewrite/) or proxy 
(http://httpd.apache.org/docs/2.2/mod/mod_proxy.html) from the "required" url 
to the url supported by JBoss.

From: Amarnath Mukherjee [mailto:amarnath.mukher...@tcs.com]
Sent: Wednesday, January 18, 2012 2:12 AM
To: java-user@axis.apache.org
Subject: [Axis2] Change the service endpoint

Hi All,

I am new to Axis2. I developed and deployed a web service using Axis2/Java of 
version 1.5.4.
This service is running in a Jboss server.

I have a query regarding changing the service endpoint.
Presently, the service endpoint is something like : 
http://<host_name>:<port_number>/<context_root>/services/<service_name<http://%3chost_name%3e:%3cport_number%3e/%3ccontext_root%3e/services/%3cservice_name>>
I have a requirement to change the endpoint, to make it shorter, something like 
: 
http://<host_name>:<port_number>/<http://%3chost_name%3e:%3cport_number%3e/><any_name>

<any_name> can be anything like abc or xyz.

My question is : can I change the service endpoint according to the 
requirement. If yes, then how can that be done.

Please help.
Thanks in advance.
Best Regards,
Amarnath

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
--------------------------------------------------------------------- To 
unsubscribe, e-mail: 
java-user-unsubscr...@axis.apache.org<mailto:java-user-unsubscr...@axis.apache.org>
 For additional commands, e-mail: 
java-user-h...@axis.apache.org<mailto:java-user-h...@axis.apache.org>

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

Reply via email to