Hello,
I have a problem with my webservice. Once deployed, I encounter this error Interceptor for {http://synchro/}Synchro has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: No such operation: null (HTTP GET PATH_INFO: /SynchroWS/Synchronull) when I go to the page: http://localhost:8080/SynchroWS/Synchro
Yet no problems with it http://localhost:8080/SynchroWS/Synchro?wsdl
My sources;
Synchro.java
package synchro; import javax.jws.WebService; @WebService public interface Synchro { public void direBonjour(String aQui); }
SynchroWS.java
package synchro; import javax.jws.WebService; @WebService(endpointInterface = "synchro.Synchro",serviceName = "Synchro") public class SynchroWS implements Synchro{ public void direBonjour(String aQui){ System.out.println("Bonjour " + aQui); } }
The file web.xml is it necessary with jboss 7.1? If so, what should it look like?
My project: