Hi,

I am having some problems passing an XML via SOAP. 

The server sends the document inside <return> tags like any other result,
but the  client gets xml  with <return>...</return> tags un-stripped.  The
org3.dom.Document as parameter type does not cause any issues.

The server configuration is:

  <jaxws:endpoint id="grisu"
                 
implementor="org.vpac.grisu.control.serviceInterfaces.WsServiceInterface"
                  address="/grisu">
    <jaxws:serviceFactory>
      <ref bean='jaxws-and-aegis-service-factory' />
    </jaxws:serviceFactory>
  </jaxws:endpoint>

  <bean id="aegisBean"
class="org.apache.cxf.aegis.databinding.AegisDatabinding" scope="prototype">
          <property name="aegisContext" ref="aegisContext"/>
  </bean>

     <bean id="aegisContext" class="org.apache.cxf.aegis.AegisContext"
      scope="prototype">
          <property name="readXsiTypes" value="true"/>
          <property name="writeXsiTypes" value="true"/>
          <property name="mtomEnabled" value="true"/>
     </bean>

 <bean id="jaxws-and-aegis-service-factory"
    class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"
    scope="prototype">
        <property name="dataBinding" ref="aegisBean"/>
   <!-- <jaxws:properties>
      <entry key="mtom-enabled" value="true"/>
    </jaxws:properties> -->
 </bean>

Client does not have any special configuration.

Thanks,
Yuriy
-- 
View this message in context: 
http://www.nabble.com/exchanging-org.w3c.Document-via-Aegis-binding-problem-tp23328232p23328232.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to