I have created a simple jax-ws web service and deployed it successfully. Then I created one client(jax-ws), but while running I am receiving the error below:
Exception in thread "main" javax.xml.ws.WebServiceException: Failed to access the WSDL
at: file:./WEB-INF/wsdl/HelloService.wsdl. It failed with:.\WEB-INF\wsdl\HelloService.wsdl
But if I create the client (apache) for the same wsdl it is working. Please help.
This is the client file. import java.rmi.RemoteException;
public class MainClass {
public static void main(String[] args) throws RemoteException {
HelloPortProxy obj = new HelloPortProxy();
System.out.println(obj.sayhello("Everyone"));
System.out.println("Count:"+obj.getCheckVal());
}
}