Skip to main content

No corresponding wsdl operation

Please note these forums are being decommissioned and use the new and improved forums at
2 replies [Last post]
Joined: 2010-02-22

I'm using Metro 2 to generate code from a wsdl and subsequently use the original wsdl (no wsdl generation from code) and found that when I change a WSDL operation name from lower-camel-case to upper-camel-case I get the following error when launching Jetty.
SEVERE: WSSERVLET11: failed to parse runtime descriptor: Method getServiceStatus is exposed as WebMethod, but there is no corresponding wsdl operation with name getServiceStatus in the wsdl:portType{}SimplifiedGeoPort

However the generated code specifies operationName="GetServiceStatus" in @WebMethod, see below.

@WebMethod(operationName = "GetServiceStatus")
@WebResult(name = "GetServiceStatusOut", targetNamespace = "", partName = "msg")
public GetServiceStatusOut getServiceStatus(
@WebParam(name = "GetServiceStatusIn", targetNamespace = "", partName = "msg")
GetServiceStatusIn msg)
throws GeneralFailure, InvalidRequestFailure, InvalidURIFailure, RetriableFailure, UnresolvedIDFailure, UnsupportedMessageFailure
It runs fine when the WSDL operation name is lwer-camel-case. Help would be greatly appreciated!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-02-22

Found the problem, thanks Jeff! The implementation was specified as my hand-generated impl class but I had not added the annotations to it. (Seems like a newbie problem).

Joined: 2013-10-09

Hi sglicker,

can you tell me which annotation you added to resolve this issue ?
I am stuck at the same problem.