Updated Branches:
  refs/heads/master 64a5cc85f -> 99d22a053

removing root element of json respose in the rest EP


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/b8dc45a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/b8dc45a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/b8dc45a8

Branch: refs/heads/master
Commit: b8dc45a8b5d764a26cca3ff175fc4fcc976481fe
Parents: 5615e8d
Author: Isuru <[email protected]>
Authored: Fri Feb 14 15:01:19 2014 +0530
Committer: Isuru <[email protected]>
Committed: Fri Feb 14 15:01:19 2014 +0530

----------------------------------------------------------------------
 .../src/main/webapp/stratos/WEB-INF/cxf-servlet.xml                 | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b8dc45a8/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
 
b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
index 1d682c3..b73e7ae 100644
--- 
a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
+++ 
b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/cxf-servlet.xml
@@ -53,6 +53,7 @@
         <property name="oauthValidationEndpoint" 
value="https://localhost:9443/services/"/>
     </bean>
     <bean id="jsonProvider" 
class="org.apache.cxf.jaxrs.provider.json.JSONProvider">
+        <property name="dropRootElement" value="true" />
         <property name="serializeAsArray" value="true"/>
         <property name="arrayKeys">
             <list>

Reply via email to