从java应用程序引发的WebServiceException

从java应用程序引发的WebServiceException,java,web-services,exception,soap,wsdl,Java,Web Services,Exception,Soap,Wsdl,我创建了一个应用程序,它使用web服务登录、注册、添加和编辑客户。当我在部署webservice后运行应用程序时,它会在应用程序的控制台中抛出一个名为webServiceException的异常。 这就是它所显示的: Exception in thread "AWT-EventQueue-0" javax.xml.ws.WebServiceException: Method editCustomer is exposed as WebMethod, but there is no corres

我创建了一个应用程序,它使用web服务登录、注册、添加和编辑客户。当我在部署webservice后运行应用程序时,它会在应用程序的控制台中抛出一个名为webServiceException的异常。 这就是它所显示的:

 Exception in thread "AWT-EventQueue-0" javax.xml.ws.WebServiceException: Method editCustomer is exposed as WebMethod, but there is no corresponding wsdl operation with name {http://Client_server_CW_WS/}editCustomer in the wsdl:portType{http://Client_server_CW_WS/}CW_WS
我能知道如何解决这个问题吗?因为在我的代码中有一个相应的wsdl操作?
我使用glassfish服务器来实现这个

如果您使用的是netbeans IDE,请尝试清理并构建