This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Web Services and the fly likes Change Namespace for Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Change Namespace for Axis2" Watch "Change Namespace for Axis2" New topic

Change Namespace for Axis2

Rajees Patel

Joined: Mar 29, 2010
Posts: 3
I have a reasonably basic web service running on Axis2 and I want to change the namespace of the response.

ie change

The service was created by code first and I dont package a wsdl file , but I do have a services.xml file.

Whats is the best way to do this ?


shivendra tripathi
Ranch Hand

Joined: Aug 26, 2008
Posts: 263
Do you want to change namespace prefix or namespace?

SCJP 1.5(97%) My Blog
Rajees Patel

Joined: Mar 29, 2010
Posts: 3
Amit ChaudhariC
Ranch Hand

Joined: Aug 06, 2009
Posts: 33
I dont know if there is a way to do that in services.xml , perhaps someone can help .
you can try the following option for changing the prefix while generating the wsdl since you are using the code first approach. -stp


I agree. Here's the link:
subject: Change Namespace for Axis2
It's not a secret anymore!