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/27 18:10:25 UTC
[jira] Created: (AXIS2-1917) quickstart sample does not work on the
trunk branch
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
[jira] Commented: (AXIS2-1917) quickstart sample does not work on
the trunk branch
Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1917) quickstart sample does not work on the
trunk branch
Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1917?page=all ]
Manoj Khangaonkar updated AXIS2-1917:
-------------------------------------
Attachment: patch-1917.txt
Patch is attached.
> 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
> Attachments: patch-1917.txt
>
>
> 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
[jira] Resolved: (AXIS2-1917) quickstart sample does not work on
the trunk branch
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-1917.
-------------------------------------
Resolution: Fixed
Thanks Manoj (r494889)
-- dims
> quickstart sample does not work on the trunk branch
> ---------------------------------------------------
>
> Key: AXIS2-1917
> URL: https://issues.apache.org/jira/browse/AXIS2-1917
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel, samples
> Affects Versions: 1.2, 1.1.1
> Environment: windows
> Reporter: Manoj Khangaonkar
> Assigned To: David Illsley
> Priority: Critical
> Attachments: patch-1917.txt, patch-1917v2.txt
>
>
> 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: https://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
[jira] Assigned: (AXIS2-1917) quickstart sample does not work on
the trunk branch
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas reassigned AXIS2-1917:
---------------------------------------
Assignee: David Illsley
David,
would you like to take this one? :)
-- dims
> quickstart sample does not work on the trunk branch
> ---------------------------------------------------
>
> Key: AXIS2-1917
> URL: https://issues.apache.org/jira/browse/AXIS2-1917
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel, samples
> Affects Versions: 1.2, 1.1.1
> Environment: windows
> Reporter: Manoj Khangaonkar
> Assigned To: David Illsley
> Priority: Critical
> Attachments: patch-1917.txt, patch-1917v2.txt
>
>
> 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: https://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
[jira] Commented: (AXIS2-1917) quickstart sample does not work on
the trunk branch
Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (AXIS2-1917) quickstart sample does not work on the
trunk branch
Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manoj Khangaonkar updated AXIS2-1917:
-------------------------------------
Component/s: kernel
Priority: Critical (was: Major)
Can one of the committer look into committing this patch. REST invocation is broken and the quickstart sample which is the first sample any newbie would try is broken as a result
> quickstart sample does not work on the trunk branch
> ---------------------------------------------------
>
> Key: AXIS2-1917
> URL: https://issues.apache.org/jira/browse/AXIS2-1917
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel, samples
> Affects Versions: 1.2, 1.1.1
> Environment: windows
> Reporter: Manoj Khangaonkar
> Priority: Critical
> Attachments: patch-1917.txt, patch-1917v2.txt
>
>
> 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: https://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
[jira] Updated: (AXIS2-1917) quickstart sample does not work on the
trunk branch
Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1917?page=all ]
Manoj Khangaonkar updated AXIS2-1917:
-------------------------------------
Attachment: patch-1917v2.txt
Updated and corrected patch.
My apologies - the earlier patch is missing an import and will cause an compilation error.
> 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
> Attachments: patch-1917.txt, patch-1917v2.txt
>
>
> 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