This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Changing Prefix in wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Changing Prefix in wsdl" Watch "Changing Prefix in wsdl" New topic
Author

Changing Prefix in wsdl

deepak jangid
Greenhorn

Joined: Feb 16, 2012
Posts: 2
Hello,

can anyone tell me how to change Prefix in wsdl. i want to chang "XS" and define my prefix.

Details
Jax-ws
Jboss 5.1.0
jdk1.6
Sridhar Thatipatri
Greenhorn

Joined: Feb 28, 2012
Posts: 3
Deepak,
From your question what i understand is you need to change the prefix in your wsdl
You need to find out where the schema prefix is defined and change accordingly.
xmlns:xs="http://www.w3.org/2001/XMLSchema" change this to
xmlns:myprefix="http://www.w3.org/2001/XMLSchema".

This should do, let me know if your question misunderstood.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing Prefix in wsdl