File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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