[ 
http://issues.apache.org/jira/browse/AXIS2-1917?page=comments#action_12461137 ] 
            
Manoj Khangaonkar commented on AXIS2-1917:
------------------------------------------

Updating the method as follows fixes the problem.

private void dispatchAndVerify(MessageContext msgContext) throws AxisFault {
        RequestURIBasedDispatcher requestDispatcher = new 
RequestURIBasedDispatcher();
        requestDispatcher.invoke(msgContext);

        RequestURIOperationDispatcher opDispatcher = new 
RequestURIOperationDispatcher();
        opDispatcher.invoke(msgContext);

      
        if (msgContext.getAxisService() == null || 
msgContext.getAxisOperation() == null) {
            throw new AxisFault("I can not find a service for this request to 
be serviced." +
                    " Check the WSDL and the request URI");
        } 
        
       
        
    }

I will run tests and provide a patch


> quickstart sample does not work on the trunk branch
> ---------------------------------------------------
>
>                 Key: AXIS2-1917
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1917
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.2, 1.1.1
>         Environment: windows
>            Reporter: Manoj Khangaonkar
>
> 1. run ant.generateservice to create StockQuoteService.aar
> 2. Copy the aar to webapps/axis2/WEB-INF/services
> 3. type 
> http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM in 
> your web browser
> In the tomcat logs I see
> Dec 27, 2006 8:54:40 AM org.apache.axis2.transport.http.AxisRESTServlet doGet
> SEVERE: org.apache.axis2.AxisFault: I can not find a service for this request 
> to
>  be serviced. Check the WSDL and the request URI
> The browser I get URL not found

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to