I am having some problems with jaxw binding customizations.
The first problem that I am having is mixing a globalBindings definition
with a bindings - the global bindings seems to be ignored. For the example
below if I use it as is, I only get my typesafeEnumClass generated. My
instances of XMLGregorianCalendar are not replaced with java.util.Date.
However, if I remove the jaxb:bindings node then the global binding works
fine. Can anyone shed any light on this?
The other issue I have is if I have in-lined customizations and external
customizations I cam getting an error reporting inconsistencies - anyone
ever had this issue and resolved it?
This has all been doing my nut in - so any help would be appreciated!
<jaxws:bindings wsdlLocation="../Output/IdentityManagement_v1.wsdl"
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" version="2.0">
<jaxws:bindings
node="wsdl:definitions/wsdl:types/xsd:[EMAIL
PROTECTED]'http://www.test.com/ws/de']">
<jaxb:globalBindings>
<jaxb:javaType name="java.util.Date" xmlType="xsd:date"
parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDate"
printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDate" />
</jaxb:globalBindings>
<jaxb:bindings node="./xsd:[EMAIL PROTECTED]'MyEnum']">
<jaxb:typesafeEnumClass>
<jaxb:typesafeEnumMember name="ZERO" value="0"
/>
</jaxb:typesafeEnumClass>
</jaxb:bindings>
</jaxws:bindings>
</jaxws:bindings>
Thanks
--
View this message in context:
http://www.nabble.com/jaxws-binding-issue-tp16823731p16823731.html
Sent from the cxf-user mailing list archive at Nabble.com.