I have a web service running with the following bean definition in
cxf-servlet.xml. When I call an API in this WebService class, it returns a
response that is embedded in the SOAP elements (soap:Envelope, etc). What I
want is to be able to REST-enable this so that I simply get the response "as
is" as opposed to it being embedded in the SOAP elements. I have the RESTful
HTTP binding sample up and running but am unable to figure out what the
Spring configuration should look like so that I can convert my web service
to a RESTful service. Thanks for your help! 

   <jaxws:server id="adminService" serviceClass="com.company.WebService" 
                address="/admin">
        <jaxws:serviceBean>
                        <bean class="com.company.WebServiceImpl" />
                </jaxws:serviceBean>
                
            <jaxws:dataBinding>
                        <bean 
class="org.apache.cxf.xmlbeans.XmlBeansDataBinding"/>
            </jaxws:dataBinding>
    </jaxws:server>
-- 
View this message in context: 
http://www.nabble.com/Convert-SOAP-service-to-a-RESTful-service-tp19975949p19975949.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to