Hi,

Didnt you forget ?wsdl ?

Can you reproduce it in a sample?
Le 1 juil. 2013 22:29, "Patel, Sanjay" <[email protected]> a écrit :

> Using @Webservice annotation for Stateless EJB and accessing webservice
> http://localhost:8080/directory/webservices/ws/NemoursDirectoryServicegives 
> below output
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>
>         No such operation: directory (HTTP GET PATH_INFO:
> /directory/webservices/ws/NemoursDirectoryServicenull)
> </faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
> And this is the log
> WARNING: Interceptor for {
> http://impl.service.phonedirectory.nemours.org/}NemoursDirectoryServicehas 
> thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: No such operation: directory (HTTP GET
> PATH_INFO: /directory/webservices/ws/NemoursDirectoryServicenull)
>         at
> org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:93)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
>         at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>         at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)
>         at
> org.apache.openejb.server.cxf.CxfWsContainer.onMessage(CxfWsContainer.java:74)
>         at
> org.apache.openejb.server.webservices.WsServlet.service(WsServlet.java:98)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>         at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
>         at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
>         at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
>
> Before TomEE, when I was using openEJB and Tomcat, I was not getting this
> error but instead it was giving nice message as below
>
> Hi, this is 'NemoursDirectoryWebService' web service.
>
> Is something needs to be setup to get this nice message?
>
>

Reply via email to