Error "No method was found for the WSDL operation" when including JAXB-generated classes in JBoss Module
Issue
- Could not find wsdl:binding failure when calling webservice on JBoss EAP 7
- When accessing a JAX-WS endpoint with a packaged JAXB interface classes in a JBoss Module. The following error occurs:
No method was found for the WSDL operation {http://namespace/}someOperation.
javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method someOperation.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- JBoss Modules
- JBossWS/CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.