CXF error in EAP 6: unexpected element (uri:"uri:someNamespace", local:"operationName"). Expected elements are <{}operationName>
Issue
- After upgrading to EAP 6.2.x, my endpoint has started throwing this error:
unexpected element (uri:"http://webservice/service/MyWebService/data/schema", local:"operationName1").
Expected elements are <{}operationName1>,<{}operationName2>,<{}operationName3>
- Redefinition of default namespace like the following one causes parsing error when JAX-WS handler is configured.
<a xmlns="someNamespace">
<b xmlns=""/>
</a>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2.2 - 6.2.4
- 6.3.0 - 6.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
