You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2010/05/27 07:55:36 UTC
[jira] Created: (AXIS2-4727) UDP Transport May Generate Weird URLs
UDP Transport May Generate Weird URLs
-------------------------------------
Key: AXIS2-4727
URL: https://issues.apache.org/jira/browse/AXIS2-4727
Project: Axis2
Issue Type: Bug
Components: transports
Reporter: Hiranya Jayathilaka
If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
<wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
<soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
</wsdl:port>
Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873424#action_12873424 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
Probably one may want to go a step further and try to eliminate the concept of a service context path entirely in the context of UDP (and TCP). See AXIS2-4729. WDYT?
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873424#action_12873424 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
Probably one may want to go a step further and try to eliminate the concept of a service context path entirely in the context of UDP (and TCP). See AXIS2-4729. WDYT?
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4727) UDP Transport May Generate Weird URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4727:
---------------------------------------
Attachment: AXIS2-4727.patch
Attaching patch
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4727) UDP Transport May Generate Weird URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4727:
---------------------------------------
Attachment: AXIS2-4727.patch
Attaching patch
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872656#action_12872656 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
I think that at the same time we should try to address the root cause, which is that ConfigurationContext#getServiceContextPath is not well defined. In particular it has no useful Javadoc that specifies the assumptions that the caller may make about the return value...
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873424#action_12873424 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
Probably one may want to go a step further and try to eliminate the concept of a service context path entirely in the context of UDP (and TCP). See AXIS2-4729. WDYT?
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872864#action_12872864 ]
Hiranya Jayathilaka commented on AXIS2-4727:
--------------------------------------------
+1 for some javadocs. Looking at the implementation of the internalGetServiceContextPath method this is the impression I got:
* The context path may or may not contain a '/' at the beginning. This depends on the value of the contextRoot parameter
* The context path may or may not contain a '/' at the end. This depends on the value of the servicePath parameter
* With the default settings this method always returns "/services" (just a combination of the default contextRoot and servicePath parameter values)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872864#action_12872864 ]
Hiranya Jayathilaka commented on AXIS2-4727:
--------------------------------------------
+1 for some javadocs. Looking at the implementation of the internalGetServiceContextPath method this is the impression I got:
* The context path may or may not contain a '/' at the beginning. This depends on the value of the contextRoot parameter
* The context path may or may not contain a '/' at the end. This depends on the value of the servicePath parameter
* With the default settings this method always returns "/services" (just a combination of the default contextRoot and servicePath parameter values)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873424#action_12873424 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
Probably one may want to go a step further and try to eliminate the concept of a service context path entirely in the context of UDP (and TCP). See AXIS2-4729. WDYT?
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4727) UDP Transport May Generate Weird URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4727:
---------------------------------------
Attachment: AXIS2-4727.patch
Attaching patch
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872656#action_12872656 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
I think that at the same time we should try to address the root cause, which is that ConfigurationContext#getServiceContextPath is not well defined. In particular it has no useful Javadoc that specifies the assumptions that the caller may make about the return value...
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Moved: (TRANSPORTS-9) UDP Transport May Generate Weird URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSPORTS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-4727 to TRANSPORTS-9:
-------------------------------------------------
Project: Axis2 Transports (was: Axis2)
Key: TRANSPORTS-9 (was: AXIS2-4727)
Component/s: UDP
(was: transports)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: TRANSPORTS-9
> URL: https://issues.apache.org/jira/browse/TRANSPORTS-9
> Project: Axis2 Transports
> Issue Type: Bug
> Components: UDP
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Moved: (TRANSPORTS-9) UDP Transport May Generate Weird URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSPORTS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-4727 to TRANSPORTS-9:
-------------------------------------------------
Project: Axis2 Transports (was: Axis2)
Key: TRANSPORTS-9 (was: AXIS2-4727)
Component/s: UDP
(was: transports)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: TRANSPORTS-9
> URL: https://issues.apache.org/jira/browse/TRANSPORTS-9
> Project: Axis2 Transports
> Issue Type: Bug
> Components: UDP
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Moved: (TRANSPORTS-9) UDP Transport May Generate Weird URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSPORTS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-4727 to TRANSPORTS-9:
-------------------------------------------------
Project: Axis2 Transports (was: Axis2)
Key: TRANSPORTS-9 (was: AXIS2-4727)
Component/s: UDP
(was: transports)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: TRANSPORTS-9
> URL: https://issues.apache.org/jira/browse/TRANSPORTS-9
> Project: Axis2 Transports
> Issue Type: Bug
> Components: UDP
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872864#action_12872864 ]
Hiranya Jayathilaka commented on AXIS2-4727:
--------------------------------------------
+1 for some javadocs. Looking at the implementation of the internalGetServiceContextPath method this is the impression I got:
* The context path may or may not contain a '/' at the beginning. This depends on the value of the contextRoot parameter
* The context path may or may not contain a '/' at the end. This depends on the value of the servicePath parameter
* With the default settings this method always returns "/services" (just a combination of the default contextRoot and servicePath parameter values)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872656#action_12872656 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
I think that at the same time we should try to address the root cause, which is that ConfigurationContext#getServiceContextPath is not well defined. In particular it has no useful Javadoc that specifies the assumptions that the caller may make about the return value...
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872656#action_12872656 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
I think that at the same time we should try to address the root cause, which is that ConfigurationContext#getServiceContextPath is not well defined. In particular it has no useful Javadoc that specifies the assumptions that the caller may make about the return value...
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873424#action_12873424 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
Probably one may want to go a step further and try to eliminate the concept of a service context path entirely in the context of UDP (and TCP). See AXIS2-4729. WDYT?
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872864#action_12872864 ]
Hiranya Jayathilaka commented on AXIS2-4727:
--------------------------------------------
+1 for some javadocs. Looking at the implementation of the internalGetServiceContextPath method this is the impression I got:
* The context path may or may not contain a '/' at the beginning. This depends on the value of the contextRoot parameter
* The context path may or may not contain a '/' at the end. This depends on the value of the servicePath parameter
* With the default settings this method always returns "/services" (just a combination of the default contextRoot and servicePath parameter values)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872656#action_12872656 ]
Andreas Veithen commented on AXIS2-4727:
----------------------------------------
I think that at the same time we should try to address the root cause, which is that ConfigurationContext#getServiceContextPath is not well defined. In particular it has no useful Javadoc that specifies the assumptions that the caller may make about the return value...
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Moved: (TRANSPORTS-9) UDP Transport May Generate Weird URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSPORTS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-4727 to TRANSPORTS-9:
-------------------------------------------------
Project: Axis2 Transports (was: Axis2)
Key: TRANSPORTS-9 (was: AXIS2-4727)
Component/s: UDP
(was: transports)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: TRANSPORTS-9
> URL: https://issues.apache.org/jira/browse/TRANSPORTS-9
> Project: Axis2 Transports
> Issue Type: Bug
> Components: UDP
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird
URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872864#action_12872864 ]
Hiranya Jayathilaka commented on AXIS2-4727:
--------------------------------------------
+1 for some javadocs. Looking at the implementation of the internalGetServiceContextPath method this is the impression I got:
* The context path may or may not contain a '/' at the beginning. This depends on the value of the contextRoot parameter
* The context path may or may not contain a '/' at the end. This depends on the value of the servicePath parameter
* With the default settings this method always returns "/services" (just a combination of the default contextRoot and servicePath parameter values)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4727) UDP Transport May Generate Weird URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4727:
---------------------------------------
Attachment: AXIS2-4727.patch
Attaching patch
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Moved: (TRANSPORTS-9) UDP Transport May Generate Weird URLs
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TRANSPORTS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen moved AXIS2-4727 to TRANSPORTS-9:
-------------------------------------------------
Project: Axis2 Transports (was: Axis2)
Key: TRANSPORTS-9 (was: AXIS2-4727)
Component/s: UDP
(was: transports)
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: TRANSPORTS-9
> URL: https://issues.apache.org/jira/browse/TRANSPORTS-9
> Project: Axis2 Transports
> Issue Type: Bug
> Components: UDP
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] Updated: (AXIS2-4727) UDP Transport May Generate Weird URLs
Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiranya Jayathilaka updated AXIS2-4727:
---------------------------------------
Attachment: AXIS2-4727.patch
Attaching patch
> UDP Transport May Generate Weird URLs
> -------------------------------------
>
> Key: AXIS2-4727
> URL: https://issues.apache.org/jira/browse/AXIS2-4727
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Reporter: Hiranya Jayathilaka
> Attachments: AXIS2-4727.patch
>
>
> If the server context itself contains '/' characters at the beginning or at the end, the UDP transport may generate URLs like this:
> <wsdl:port name="SimpleStockQuoteServiceUdpSoap11Endpoint" binding="ns:SimpleStockQuoteServiceSoap11Binding">
> <soap:address location="udp://hiranya-laptop:9696//services/SimpleStockQuoteService?contentType=text/xml"/>
> </wsdl:port>
> Note the back to back '/' characters in the middle (just after the port number). I will send in a simple patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org