This content has been marked as final.
Show 2 replies
-
1. Re: Can wsconsume do custom namespaces to package mapping?
asoldano Jan 11, 2008 7:43 PM (in response to bradmarshall)"Brad Marshall" wrote:
I need to map the various namespaces in our WSDL to different packages during code generation using wsconsume. With the Axis Wsdl2Java tool, I place my mappings in an NsToPkg.properties file and the tool picks them up.
Can a JAXB or JAX-WS binding file accomplish this with wsconsume? I have not created one of these binding files before. Is there an example of a binding file that illustrates how to map a namespace to a package?
It is critical to our business model that our one WSDL can be consumed by all our customers. Axis services and clients based on this WSDL have been in production for quite a while.
Here is a link to the binding customization authoritative documentation:
http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools#JAX-WS_binding_customization
...and here is the wsconsume doc, please note the --binding option
http://jbws.dyndns.org/mediawiki/index.php?title=Wsconsume -
2. Re: Can wsconsume do custom namespaces to package mapping?
bradmarshall Jan 12, 2008 10:44 AM (in response to bradmarshall)Thanks. I've got it all working now.