Hi All,

The issue has been solved by overriding the doHead() method (in the class
that extends CXFNonSpringServlet) and it solves the problem.

Regards
Saravanan Ramamoorthy


SaravananRamamoorthy wrote:
> 
> Hi All,
> 
> I have created hello world webservice using cxf.
> My application endpoint is http://localhost:8080/sample/helloworld.
> My Client application can able to call the service and get the result.
> 
> When I invoke the endpoint from the browser it returns the following
> error:
> 
> 
> <soap:Envelope>
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>
> No such operation:  (HTTP GET PATH_INFO: /sample/helloworld)
> </faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> 
> and return the status 500 Internal Server Error.
> 
> Is there any way to get default page instead of soap fault and returns 200
> as response code.
> But appending /services or ?wsdl will work.
> Please suggest me how to handle this situation.
> 
> The scenario is that the client application should invoke the method only
> if the webservice return the response as 200.So it first checks the
> endpoint.
> 
> Your help would be appreciated.
> 
> Regards
> Saravanan Ramamoorthy
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-handle-No-such-operation-problem-in-cxf-tp28013823p28070124.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to