You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Manoj Khangaonkar (JIRA)" <ji...@apache.org> on 2006/12/28 02:31:21 UTC
[jira] Commented: (AXIS2-1917) quickstart sample does not work on
the trunk branch
[ http://issues.apache.org/jira/browse/AXIS2-1917?page=comments#action_12461131 ]
Manoj Khangaonkar commented on AXIS2-1917:
------------------------------------------
The problem is in RESTUTIL.java
private void dispatchAndVerify(MessageContext msgContext) throws AxisFault {
RequestURIBasedDispatcher requestDispatcher = new RequestURIBasedDispatcher();
requestDispatcher.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");
}
}
RequestURIBasedDispatcher does not resolve the Operation. Hence msgContext.getAxisOperation is always null.
Apparently there is a RequestURIOperationDispatcher that needs to be called before this check
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org