[ 
https://issues.apache.org/jira/browse/CXF-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Beryozkin updated CXF-6117:
----------------------------------
    Component/s:     (was: Services)
                 JAX-RS

I'm changing the Component target to JAX-RS because this is where it can happen 
- sorry if it is not JAX-RS after all.
In CXF JAX-RS it can only happen if an extensionMappins endpoint property is 
registered where a "json" is mapped to "application/json".
The only other reason I can think of (assuming you do not use JAX-RS or set 
that property) is Tomcat stripping it off itself.
Please provide more info

> Passing a string that contains "path/file.json" CXF Strips out the .json 
> before the string gets to the server
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6117
>                 URL: https://issues.apache.org/jira/browse/CXF-6117
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2
>         Environment: Java API service, js client, java 7
>            Reporter: Bobby
>              Labels: newbie
>
> When calling a GET from the client with url: 
> "myserver/myservices/service/file.json" the server receives 
> "myserver/myservices/service/file" and strips out the .json. It does not do 
> this for other file formats just JSON.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to