Brian Withun
asked on
Axis2 - how to supply my own namespace prefixes?
I am using wsdl2java.exe to generate server code from a given WSDL.
The server code generated includes generic namespace prefixes like "ns1:", "ns2:", "ns3:".
I would like to instead specify custom prefixes for these, such as "abcglobal:", "abcmfg:", "abc:"
Is there a way to configure wsdl2java to do this?
I have read about the "-ns2p" option, and the "-em" option, but they don't seem to help.
The server code generated includes generic namespace prefixes like "ns1:", "ns2:", "ns3:".
I would like to instead specify custom prefixes for these, such as "abcglobal:", "abcmfg:", "abc:"
Is there a way to configure wsdl2java to do this?
I have read about the "-ns2p" option, and the "-em" option, but they don't seem to help.
I am not tried this ....
but take this as refrences ...
http://wso2.org/library/tutorials/reference-guide-axis2-code-generation-parameters-part-3
but take this as refrences ...
http://wso2.org/library/tutorials/reference-guide-axis2-code-generation-parameters-part-3
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
gd work .... :) i too learn something thanks....
ASKER
My own answer was either completely correct, or sufficiently correct.
These scripts can be found under the bin directory of the Axis2 distribution
check more info here
http://axis.apache.org/axis2/java/core/docs/reference.html