The globalBindings customization can be used only once in the entire
schema set you compile.
But in your binding, you have two of them (one for SOAP and the other
for WSMF.)
You should combine them into one by writing as follows:
<jxb:globalBindings>
<jxb:javaType name="javax.xml.soap.SOAPEnvelope" xmlType="soap:Envelope" parseMethod="com.hp.wsm.commons.xml.soap.SOAPNodeUtils.convertStringToEnvelope" printMethod="com.hp.wsm.commons.xml.soap.SOAPNodeUtils.convertEnvelopeToString"/>
<jxb:javaType name="com.hp.wsm.commons.net.AnyURI" xmlType="xs:anyURI" parseMethod="com.hp.wsm.commons.net.AnyURI.convertStringToAnyUri" printMethod="com.hp.wsm.commons.net.AnyURI.convertAnyUriToString"/>
</jxb:globalBindings>
And this will take effect to both schemas.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net