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 "Gopalakrishnan (JIRA)" <ji...@apache.org> on 2005/07/01 11:33:59 UTC
[jira] Created: (AXIS2-58) RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
-----------------------------------------------------------------------------------------------------------------------
Key: AXIS2-58
URL: http://issues.apache.org/jira/browse/AXIS2-58
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: core
Versions: M2
Environment: all
Reporter: Gopalakrishnan
Priority: Minor
The RequestURIBasedDispatcher.findService() method should take care of the possible query string that could be there in the to endpointURL. For example WS-Management will have a wsa:To in the form of http://127.0.0.1:9081/axis2/services/EchoService/echo?ResourceURI=(some URI).
When extracting the operation name from this URL we should discard teh query string.
RequestURIBasedDispatcher.java:100 : operatoinName = new QName(serviceStr.substring(index + 1));
needs to be changed to
operatoinName = new QName(serviceStr.substring(index + 1,serviceStr.indexOf("?") - 1));
--
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
[jira] Resolved: (AXIS2-58) RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-58?page=all ]
Srinath Perera resolved AXIS2-58:
---------------------------------
Resolution: Fixed
This is alredy fixed in the current code, see parseRequestURLForServiceAndOperation() method in the org.apache.axis2.util.Utils class. Gopal Thanks very for the information!
> RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-58
> URL: http://issues.apache.org/jira/browse/AXIS2-58
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: M2
> Environment: all
> Reporter: Gopalakrishnan
> Assignee: Srinath Perera
> Priority: Minor
>
> The RequestURIBasedDispatcher.findService() method should take care of the possible query string that could be there in the to endpointURL. For example WS-Management will have a wsa:To in the form of http://127.0.0.1:9081/axis2/services/EchoService/echo?ResourceURI=(some URI).
> When extracting the operation name from this URL we should discard teh query string.
> RequestURIBasedDispatcher.java:100 : operatoinName = new QName(serviceStr.substring(index + 1));
> needs to be changed to
> operatoinName = new QName(serviceStr.substring(index + 1,serviceStr.indexOf("?") - 1));
--
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
[jira] Commented: (AXIS2-58) RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
Posted by "Gopalakrishnan (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-58?page=comments#action_12314878 ]
Gopalakrishnan commented on AXIS2-58:
-------------------------------------
That was a wrong fix:( it should have been
int queryIndx = serviceStr.indexOf("?");
if (queryIndx > 0)
operatoinName = new QName(serviceStr.substring(index + 1, queryIndx - 1));
else
operatoinName = new QName(serviceStr.substring(index + 1));
> RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-58
> URL: http://issues.apache.org/jira/browse/AXIS2-58
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: M2
> Environment: all
> Reporter: Gopalakrishnan
> Priority: Minor
>
> The RequestURIBasedDispatcher.findService() method should take care of the possible query string that could be there in the to endpointURL. For example WS-Management will have a wsa:To in the form of http://127.0.0.1:9081/axis2/services/EchoService/echo?ResourceURI=(some URI).
> When extracting the operation name from this URL we should discard teh query string.
> RequestURIBasedDispatcher.java:100 : operatoinName = new QName(serviceStr.substring(index + 1));
> needs to be changed to
> operatoinName = new QName(serviceStr.substring(index + 1,serviceStr.indexOf("?") - 1));
--
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
[jira] Assigned: (AXIS2-58) RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-58?page=all ]
Srinath Perera reassigned AXIS2-58:
-----------------------------------
Assign To: Srinath Perera
> RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-58
> URL: http://issues.apache.org/jira/browse/AXIS2-58
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: core
> Versions: M2
> Environment: all
> Reporter: Gopalakrishnan
> Assignee: Srinath Perera
> Priority: Minor
>
> The RequestURIBasedDispatcher.findService() method should take care of the possible query string that could be there in the to endpointURL. For example WS-Management will have a wsa:To in the form of http://127.0.0.1:9081/axis2/services/EchoService/echo?ResourceURI=(some URI).
> When extracting the operation name from this URL we should discard teh query string.
> RequestURIBasedDispatcher.java:100 : operatoinName = new QName(serviceStr.substring(index + 1));
> needs to be changed to
> operatoinName = new QName(serviceStr.substring(index + 1,serviceStr.indexOf("?") - 1));
--
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