Missing WebService Annotation exception

Solution Verified - Updated -

Issue

  • We are using CXF in a custom module we created and when we try to make a webservice call we are receiving the following error:

javax.xml.ws.WebServiceException: Service endpoint interface class org.company.WebServicePort does not have a javax.jws.WebService annotation.

However, our class does have this annotation so we are unsure what the problem could be.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.x

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.