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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content