This issues comes only if addressing namespace in wsdl is
If we have something like following in wsdl
<s0:input message="s1:Prepared" s2:Action="http://schemas.xmlsoap.org/ws/2004/10/wsat/Prepared"/>
The endpoint interface generated using tools has
@WebMethod(operationName = "PreparedOperation", action = "http://schemas.xmlsoap.org/ws/2004/10/wsat/PreparedOperation")
public void preparedOperation(
@WebParam(name = "Prepared", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/10/wsat", partName = "parameters")
Note the difference in action in wsdl and the one on WebMethod annotation i.e. Prepared vs. PreparedOperation.
This results in warning as runtime e.g.
<com.sun.xml.ws.model.JavaMethodImpl> <BEA-000000> <Input Action on WSDL
operation PreparedOperation and @Action on its associated Web Method
preparedOperation did not match and will cause problems in dispatching the
The tool should be fixed to generate correct annotation and param value.