Tag Archives: JAXB

The prefix "jaxb" for element "jaxb:globalBindings" is not bound.

I’m using xjc to compile XML Schema into JAXB objects and thecompiling is fine unless I try to define jaxb bindings. For instance,if I try adding this code in the schema: bindingStyle=”modelGroupBinding”choiceContentProperty=”true” ><jaxb:javaType name="short"xmlType=”xs:long”printMethod=”javax.xml.bind.DatatypeConverter.printShort”parseMethod=”javax.xml.bind.DatatypeConverter.parseShort”/> xjc complains with:[ERROR] The prefix “jaxb” … Continue reading

Posted in J2EE, Java, Web Services, WSDL | Tagged , , | Leave a comment

JAXB and JDK1.6

Use JDK 1.6 to convert from Java to XML http://www.javabeat.net/articles/14-java-60-features-part-2-pluggable-annotation-proce-3.html

Posted in Java | Tagged , , | Leave a comment