Error "No method was found for the WSDL operation" when including JAXB-generated classes in JBoss Module

Solution Verified - Updated -

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.

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