You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Bhaskar <bh...@gmail.com> on 2011/12/29 05:10:17 UTC
Localized characters in path
Hello All,
How to handle the localized characters in Path?
We are implementing RESTful Web services, we need to pass localized
characters in path?
can you please help us in this?
Thanks & Regards
Bhaskar.
Mobile:9866724142
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Did you get this issue resolved ?
Clarify please if you can what sort of issue you were seeing with POST
and post a stack trace if any too
Cheers, Sergey
On 30/12/11 11:31, Sergey Beryozkin wrote:
> Hi
> On 30/12/11 11:20, Bhaskar wrote:
>> Hi,
>>
>> we are getting problem only if we have unicode charachers as path
>> parameters.
>>
>> For example *http://server-name/templates/john.*
>> Here assume if "john" is Unicode then it is not working for GET also.
>>
>
> I'm sorry but what I'm hearing is that there's a problem but I've no
> idea what exactly is happening. Give me more info if you'd like me to
> try to help or fix something,
> - tell me how does the signature of the method processing POST and
> expecting the Unicode characters in URI look like
> - and please tell me what *exactly* is the problem,
>
> By the way, you said in the previous message that it's working OK for GET:
>
> > FYI...if we have Unicode characters in GET request it is
> > working fine..
>
> Sergey
>
>> Regards,
>> Bhaskar
>>
>> On Fri, Dec 30, 2011 at 3:19 PM, Sergey Beryozkin <sberyozkin@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>> Hi
>>
>> On 30/12/11 03:44, Bhaskar wrote:
>>
>>
>> Hi,
>>
>> similar thing is working fine for non Unicode characters.
>>
>> OK
>>
>> but we are
>> getting the problems with POST request if we have any unicode
>> characters.
>> FYI...if we have Unicode characters in GET request it is
>> working fine..
>>
>> What is the problem that you are seeing ?
>> Give me more info please.
>>
>> thanks, Sergey
>>
>> Regards,
>> Bhaskar
>>
>> On Thu, Dec 29, 2011 at 8:01 PM, Sergey Beryozkin
>> <sberyozkin@gmail.com <ma...@gmail.com>
>> <mailto:sberyozkin@gmail.com <ma...@gmail.com>>> wrote:
>>
>> Hi
>>
>>
>> On 29/12/11 13:52, Bhaskar wrote:
>>
>> Hi,
>>
>> My URL looks like this
>> http://server-name/name = "᧭᧮᧭᧮"
>>
>> Note the request type is POST.
>> those characters are unicode characters
>>
>>
>> I guess you need to do something like
>>
>> @Path("name={value}")
>>
>> Let me know if it works please
>> Sergey
>>
>>
>>
>> Regards,
>> Bhaskar
>>
>> On Thu, Dec 29, 2011 at 5:07 PM, Sergey
>> Beryozkin<sberyozkin@gmail.com <ma...@gmail.com>
>> <mailto:sberyozkin@gmail.com
>> <ma...@gmail.com>>____>wrote:
>>
>>
>> Redirecting to the users list
>>
>>
>> On 29/12/11 11:36, Sergey Beryozkin wrote:
>>
>> Hi
>> On 29/12/11 04:10, Bhaskar wrote:
>>
>> Hello All,
>>
>> How to handle the localized characters in Path?
>> We are implementing RESTful Web services, we
>> need to
>> pass localized
>> characters in path?
>>
>>
>> How the actual URI will look like, can you give an
>> example please ?
>> Are you meaning IRIs,
>> http://www.ietf.org/rfc/**____rfc3987.txt
>> <http://www.ietf.org/rfc/**__rfc3987.txt>
>> <http://www.ietf.org/rfc/**__rfc3987.txt
>> <http://www.ietf.org/rfc/**rfc3987.txt>><http://www.ietf.____org/rfc/rfc3987.txt
>>
>>
>> <http://www.ietf.org/rfc/__rfc3987.txt
>> <http://www.ietf.org/rfc/rfc3987.txt>>>?
>>
>>
>> Cheers, Sergey
>>
>> can you please help us in this?
>>
>>
>> Thanks& Regards
>> Bhaskar.
>> Mobile:9866724142
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Sergey Beryozkin
>>
>> Talend Community Coders
>> http://coders.talend.com/
>>
>> Blog: http://sberyozkin.blogspot.com
>>
>>
>>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 30/12/11 03:44, Bhaskar wrote:
>
> Hi,
>
> similar thing is working fine for non Unicode characters.
OK
> but we are
> getting the problems with POST request if we have any unicode characters.
> FYI...if we have Unicode characters in GET request it is working fine..
>
What is the problem that you are seeing ?
Give me more info please.
thanks, Sergey
> Regards,
> Bhaskar
> On Thu, Dec 29, 2011 at 8:01 PM, Sergey Beryozkin <sberyozkin@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi
>
>
> On 29/12/11 13:52, Bhaskar wrote:
>
> Hi,
>
> My URL looks like this
> http://server-name/name = "᧭᧮᧭᧮"
>
> Note the request type is POST.
> those characters are unicode characters
>
>
> I guess you need to do something like
>
> @Path("name={value}")
>
> Let me know if it works please
> Sergey
>
>
>
> Regards,
> Bhaskar
>
> On Thu, Dec 29, 2011 at 5:07 PM, Sergey
> Beryozkin<sberyozkin@gmail.com
> <ma...@gmail.com>__>wrote:
>
> Redirecting to the users list
>
>
> On 29/12/11 11:36, Sergey Beryozkin wrote:
>
> Hi
> On 29/12/11 04:10, Bhaskar wrote:
>
> Hello All,
>
> How to handle the localized characters in Path?
> We are implementing RESTful Web services, we need to
> pass localized
> characters in path?
>
>
> How the actual URI will look like, can you give an
> example please ?
> Are you meaning IRIs,
> http://www.ietf.org/rfc/**__rfc3987.txt
> <http://www.ietf.org/rfc/**rfc3987.txt><http://www.ietf.__org/rfc/rfc3987.txt
> <http://www.ietf.org/rfc/rfc3987.txt>>?
>
>
> Cheers, Sergey
>
> can you please help us in this?
>
>
> Thanks& Regards
> Bhaskar.
> Mobile:9866724142
>
>
>
>
>
>
>
>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
>
>
>
> --
> Keep Smiling....
> Thanks & Regards
> Bhaskar.
> Mobile:9866724142
Re: Localized characters in path
Posted by Bhaskar <bh...@gmail.com>.
Hi,
similar thing is working fine for non Unicode characters. but we are
getting the problems with POST request if we have any unicode characters.
FYI...if we have Unicode characters in GET request it is working fine..
Regards,
Bhaskar
On Thu, Dec 29, 2011 at 8:01 PM, Sergey Beryozkin <sb...@gmail.com>wrote:
> Hi
>
>
> On 29/12/11 13:52, Bhaskar wrote:
>
>> Hi,
>>
>> My URL looks like this
>> http://server-name/name = "᧭᧮᧭᧮"
>>
>> Note the request type is POST.
>> those characters are unicode characters
>>
>
> I guess you need to do something like
>
> @Path("name={value}")
>
> Let me know if it works please
> Sergey
>
>
>>
>> Regards,
>> Bhaskar
>>
>> On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin<sberyozkin@gmail.com**
>> >wrote:
>>
>> Redirecting to the users list
>>>
>>>
>>> On 29/12/11 11:36, Sergey Beryozkin wrote:
>>>
>>> Hi
>>>> On 29/12/11 04:10, Bhaskar wrote:
>>>>
>>>> Hello All,
>>>>>
>>>>> How to handle the localized characters in Path?
>>>>> We are implementing RESTful Web services, we need to pass localized
>>>>> characters in path?
>>>>>
>>>>>
>>>>> How the actual URI will look like, can you give an example please ?
>>>> Are you meaning IRIs,
>>>> http://www.ietf.org/rfc/****rfc3987.txt<http://www.ietf.org/rfc/**rfc3987.txt>
>>>> <http://www.ietf.**org/rfc/rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>
>>>> >?
>>>>
>>>>
>>>> Cheers, Sergey
>>>>
>>>> can you please help us in this?
>>>>
>>>>>
>>>>> Thanks& Regards
>>>>> Bhaskar.
>>>>> Mobile:9866724142
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
--
Keep Smiling....
Thanks & Regards
Bhaskar.
Mobile:9866724142
Re: Localized characters in path
Posted by Bhaskar <bh...@gmail.com>.
Hi,
similar thing is working fine for non Unicode characters. but we are
getting the problems with POST request if we have any unicode characters.
FYI...if we have Unicode characters in GET request it is working fine..
Regards,
Bhaskar
On Thu, Dec 29, 2011 at 8:01 PM, Sergey Beryozkin <sb...@gmail.com>wrote:
> Hi
>
>
> On 29/12/11 13:52, Bhaskar wrote:
>
>> Hi,
>>
>> My URL looks like this
>> http://server-name/name = "᧭᧮᧭᧮"
>>
>> Note the request type is POST.
>> those characters are unicode characters
>>
>
> I guess you need to do something like
>
> @Path("name={value}")
>
> Let me know if it works please
> Sergey
>
>
>>
>> Regards,
>> Bhaskar
>>
>> On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin<sberyozkin@gmail.com**
>> >wrote:
>>
>> Redirecting to the users list
>>>
>>>
>>> On 29/12/11 11:36, Sergey Beryozkin wrote:
>>>
>>> Hi
>>>> On 29/12/11 04:10, Bhaskar wrote:
>>>>
>>>> Hello All,
>>>>>
>>>>> How to handle the localized characters in Path?
>>>>> We are implementing RESTful Web services, we need to pass localized
>>>>> characters in path?
>>>>>
>>>>>
>>>>> How the actual URI will look like, can you give an example please ?
>>>> Are you meaning IRIs,
>>>> http://www.ietf.org/rfc/****rfc3987.txt<http://www.ietf.org/rfc/**rfc3987.txt>
>>>> <http://www.ietf.**org/rfc/rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>
>>>> >?
>>>>
>>>>
>>>> Cheers, Sergey
>>>>
>>>> can you please help us in this?
>>>>
>>>>>
>>>>> Thanks& Regards
>>>>> Bhaskar.
>>>>> Mobile:9866724142
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>
> Blog: http://sberyozkin.blogspot.com
>
--
Keep Smiling....
Thanks & Regards
Bhaskar.
Mobile:9866724142
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 29/12/11 13:52, Bhaskar wrote:
> Hi,
>
> My URL looks like this
> http://server-name/name = "᧭᧮᧭᧮"
>
> Note the request type is POST.
> those characters are unicode characters
I guess you need to do something like
@Path("name={value}")
Let me know if it works please
Sergey
>
>
> Regards,
> Bhaskar
>
> On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin<sb...@gmail.com>wrote:
>
>> Redirecting to the users list
>>
>>
>> On 29/12/11 11:36, Sergey Beryozkin wrote:
>>
>>> Hi
>>> On 29/12/11 04:10, Bhaskar wrote:
>>>
>>>> Hello All,
>>>>
>>>> How to handle the localized characters in Path?
>>>> We are implementing RESTful Web services, we need to pass localized
>>>> characters in path?
>>>>
>>>>
>>> How the actual URI will look like, can you give an example please ?
>>> Are you meaning IRIs,
>>> http://www.ietf.org/rfc/**rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>?
>>>
>>> Cheers, Sergey
>>>
>>> can you please help us in this?
>>>>
>>>> Thanks& Regards
>>>> Bhaskar.
>>>> Mobile:9866724142
>>>>
>>>>
>>>
>>>
>>
>
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 29/12/11 13:52, Bhaskar wrote:
> Hi,
>
> My URL looks like this
> http://server-name/name = "᧭᧮᧭᧮"
>
> Note the request type is POST.
> those characters are unicode characters
I guess you need to do something like
@Path("name={value}")
Let me know if it works please
Sergey
>
>
> Regards,
> Bhaskar
>
> On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin<sb...@gmail.com>wrote:
>
>> Redirecting to the users list
>>
>>
>> On 29/12/11 11:36, Sergey Beryozkin wrote:
>>
>>> Hi
>>> On 29/12/11 04:10, Bhaskar wrote:
>>>
>>>> Hello All,
>>>>
>>>> How to handle the localized characters in Path?
>>>> We are implementing RESTful Web services, we need to pass localized
>>>> characters in path?
>>>>
>>>>
>>> How the actual URI will look like, can you give an example please ?
>>> Are you meaning IRIs,
>>> http://www.ietf.org/rfc/**rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>?
>>>
>>> Cheers, Sergey
>>>
>>> can you please help us in this?
>>>>
>>>> Thanks& Regards
>>>> Bhaskar.
>>>> Mobile:9866724142
>>>>
>>>>
>>>
>>>
>>
>
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com
Re: Localized characters in path
Posted by Bhaskar <bh...@gmail.com>.
Hi,
My URL looks like this
http://server-name/name = "᧭᧮᧭᧮"
Note the request type is POST.
those characters are unicode characters
Regards,
Bhaskar
On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin <sb...@gmail.com>wrote:
> Redirecting to the users list
>
>
> On 29/12/11 11:36, Sergey Beryozkin wrote:
>
>> Hi
>> On 29/12/11 04:10, Bhaskar wrote:
>>
>>> Hello All,
>>>
>>> How to handle the localized characters in Path?
>>> We are implementing RESTful Web services, we need to pass localized
>>> characters in path?
>>>
>>>
>> How the actual URI will look like, can you give an example please ?
>> Are you meaning IRIs,
>> http://www.ietf.org/rfc/**rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>?
>>
>> Cheers, Sergey
>>
>> can you please help us in this?
>>>
>>> Thanks& Regards
>>> Bhaskar.
>>> Mobile:9866724142
>>>
>>>
>>
>>
>
--
Keep Smiling....
Thanks & Regards
Bhaskar.
Mobile:9866724142
Re: Localized characters in path
Posted by Bhaskar <bh...@gmail.com>.
Hi,
My URL looks like this
http://server-name/name = "᧭᧮᧭᧮"
Note the request type is POST.
those characters are unicode characters
Regards,
Bhaskar
On Thu, Dec 29, 2011 at 5:07 PM, Sergey Beryozkin <sb...@gmail.com>wrote:
> Redirecting to the users list
>
>
> On 29/12/11 11:36, Sergey Beryozkin wrote:
>
>> Hi
>> On 29/12/11 04:10, Bhaskar wrote:
>>
>>> Hello All,
>>>
>>> How to handle the localized characters in Path?
>>> We are implementing RESTful Web services, we need to pass localized
>>> characters in path?
>>>
>>>
>> How the actual URI will look like, can you give an example please ?
>> Are you meaning IRIs,
>> http://www.ietf.org/rfc/**rfc3987.txt<http://www.ietf.org/rfc/rfc3987.txt>?
>>
>> Cheers, Sergey
>>
>> can you please help us in this?
>>>
>>> Thanks& Regards
>>> Bhaskar.
>>> Mobile:9866724142
>>>
>>>
>>
>>
>
--
Keep Smiling....
Thanks & Regards
Bhaskar.
Mobile:9866724142
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Redirecting to the users list
On 29/12/11 11:36, Sergey Beryozkin wrote:
> Hi
> On 29/12/11 04:10, Bhaskar wrote:
>> Hello All,
>>
>> How to handle the localized characters in Path?
>> We are implementing RESTful Web services, we need to pass localized
>> characters in path?
>>
>
> How the actual URI will look like, can you give an example please ?
> Are you meaning IRIs,
> http://www.ietf.org/rfc/rfc3987.txt ?
>
> Cheers, Sergey
>
>> can you please help us in this?
>>
>> Thanks& Regards
>> Bhaskar.
>> Mobile:9866724142
>>
>
>
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Redirecting to the users list
On 29/12/11 11:36, Sergey Beryozkin wrote:
> Hi
> On 29/12/11 04:10, Bhaskar wrote:
>> Hello All,
>>
>> How to handle the localized characters in Path?
>> We are implementing RESTful Web services, we need to pass localized
>> characters in path?
>>
>
> How the actual URI will look like, can you give an example please ?
> Are you meaning IRIs,
> http://www.ietf.org/rfc/rfc3987.txt ?
>
> Cheers, Sergey
>
>> can you please help us in this?
>>
>> Thanks& Regards
>> Bhaskar.
>> Mobile:9866724142
>>
>
>
Re: Localized characters in path
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 29/12/11 04:10, Bhaskar wrote:
> Hello All,
>
> How to handle the localized characters in Path?
> We are implementing RESTful Web services, we need to pass localized
> characters in path?
>
How the actual URI will look like, can you give an example please ?
Are you meaning IRIs,
http://www.ietf.org/rfc/rfc3987.txt ?
Cheers, Sergey
> can you please help us in this?
>
> Thanks& Regards
> Bhaskar.
> Mobile:9866724142
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com