Changing Namesspace in​ WSDL from ax24 to a​x21​

Johann Kiefel <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <1362401027.13016.0.camel@jcp>
Hello, 

i would like to change the default namespace " ax24" to "ax21" that is
included in the automatic generated WSDL Files when i invoke a Web
Service running on tomcat through 

http://hostname:8080/services/MyService?wsdl

Is there any possibility to configure it ? I am using eclipse (4.2) WTPs
Web  Service Creation Wizzards with Axis2 1.6.1. 

The problem is, that the productive web service used by many clients has
the namespace "ax21". One of our  clients has an exotic Web Service
Client and has some kind of fix coded dependency to the namesapce
"ax21". So if we update our productive system, the clients Web Service
Proxy will brake. 

How can we solve this?

<wsdl:types>
<xs:schema xmlns:ax24="http://model.example.de/xsd"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://model.example.de/xsd">
<xs:complexType name="Bid">
<xs:sequence>
<xs:element minOccurs="0" name="bidID" nillable="true"
type="xs:string"/>
<xs:element minOccurs="0" name="bidRank" type="xs:int"/>
<xs:element minOccurs="0" name="bidValue" nillable="true"
type="ax24:BidValue"/>
....
</xs:sequence>

....

</wsdl:type>


Thank you in advance

with best regads

Johann K.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.