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

Solution Unverified - Updated -

Issue

I have a JAX-WS endpoint, and I am trying to package the JAXB interface classes in a JBoss Module. I am getting this error:

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
  • JBoss Modules
  • JBossWS/CXF

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.