The Method Without Property "@WebMethod" Is Still Published As A Web Service Operation

(Doc ID 2218282.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

After upgrading from Weblogic 10g to 12c, a different web service annotation behavior is shown where method without property "@WebMethod" is still being published as a web service operation.

Both of the methods Hello1 and Hello2 will be published as web service operation, which is incorrect behavior

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms