Migrating to EAP 6, web service giving IllegalArgumentException: An operation with name [x] already exists in this service

Solution Unverified - Updated -

Issue

  • Deploying web service in EAP 6 is giving java.lang.IllegalArgumentException: An operation with name [operation name] already exists in this service"}
  • @WebService is treating public methods as SOAP operations even though they are not annotated with @WebMethod

Environment

  • Red Hat JBoss Enterprise Application Platform 6

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.