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, 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