ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4727) UDP Transport May Generate Weird URLs
Date Fri, 28 May 2010 05:57:37 GMT

    [ 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


Mime
View raw message