Jerry-Chris
New Member
I want to customize destination packages for all types in all schemas from my wsdl. I thought about adding something like this \[code\]<jaxb:bindings node="//xsd:schema[@targetNamespance='ns1']" > <jaxb:schemaBindings> <jaxbackage name="my.package1" /> </jaxb:schemaBindings> </jaxb:bindings><jaxb:bindings node="//xsd:schema[@targetNamespance='ns2']" > <jaxb:schemaBindings> <jaxbackage name="my.package2" /> </jaxb:schemaBindings></jaxb:bindings>\[/code\]to jaxbbindnig.xml but it didn't work. I was getting XPath evaluation of "//xsd:schema[@targetNamespance='ns1']" results in empty target node. //xsd:schema works, but it finds only first schema. So the question is how to write such a jaxbbindnig.xml so that it change all the packages for all schemas.Thank you.1