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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/05/28 00:21:42 UTC

[jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird URLs

    [ 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