[ 
https://issues.apache.org/jira/browse/AXIS2-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555600#action_12555600
 ] 

Keith Godwin Chapman commented on AXIS2-3405:
---------------------------------------------

Hi Guys,

This is not a bug. Here is the explanation. & is the default query parameter 
separator (This is the case were all servlet engines). There is a mechanism to 
override this default value via WSDL 2.0 deployment. The problem is that these 
parameters cannot be set via POJO deployment as there are no standard 
annotations to control these parameters. May be we should come up with a set of 
axis2 specific annotations that can control parameters introduced WSDL 2.0. 
WSDL 2.0 has a rich description of the HTTPBinding (RESTBinding) hence it gives 
you control of the whole URL where you can even send parameters in the path 
(not limited to query parameters).

If you need some help for the moment I can help you get your service deployed 
via WSDL 2.0 until we fix this in Axis2 (to be able to control this parameters 
via annotations). I will send a mail on this matter to the dev list so that we 
can discuss this further and come up with a good solution.

Thanks,
Keith.

> Encoded ampersands in REST URLs terminate parameters
> ----------------------------------------------------
>
>                 Key: AXIS2-3405
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3405
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Sean Hile
>            Assignee: Keith Godwin Chapman
>
> My project uses Axis2 to provide a REST interface.  If, in the URL, there is 
> an encoded ampersand for one of the parameter values, the parameter value is 
> truncated at the encoded ampersand.  For example:
> http://example.com/myService?param=Foo%20%26%20Bar
> The param value should be "Foo & Bar" but it is truncated to "Foo ".

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to