I receive: 'javax.xml.bind.JAXBException: property "com.sun.xml.internal.bind.defaultNamespaceRemap" is not supported' when invoking web service using JBossWS

Solution Verified - Updated -

Issue

I receive the following error when invoking a web service client using JBossWS Native:

Caused by: javax.xml.bind.JAXBException: property "com.sun.xml.internal.bind.defaultNamespaceRemap" is not supported
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)
    ... 67 more

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.x
  • JBossWS Native

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.