xfire-servlet.xml: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="handlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="urlMap"> <map> <entry key="/webService"> <ref bean="webServiceExporter"/> </entry> </map> </property> </bean> <bean name="webServiceExporter" class="org.codehaus.xfire.spring.remoting.XFireExporter"> <property name="serviceBean" ref="webService"/> <property name="serviceClass" value="com..webservices.WebService"/> <property name="serviceFactory" ref="xfire.serviceFactory"/> <property name="xfire" ref="xfire"/> </bean> <bean id="webService" class="com..webservices.WebServiceImpl"/> </beans> On 5/2/06, Tim Robertson <[EMAIL PROTECTED]> wrote:
In short, yes it is possible. Can you post your config files please? Tim -----Original Message----- From: Kees de Kooter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 3:33 PM To: [email protected] Subject: [xfire-user] n00b question: how can I output xml in the body? I created a simple test webservice using XFire & Spring. I publish a bean with the following method: public String getMessage(); In the soap result message it says <soap:Body> <getMessageResponse> <out><!CDATA[ .... ]]> etc. Is it possible to get real xml as the message body, instead of CDATA? -- Cheers, Kees de Kooter http://www.boplicity.net
-- Cheers, Kees de Kooter http://www.boplicity.net
