Hi,
The response format is based on your wsdl, if the response message
defined in your wsdl has no binary attachment, then the onwire
response message doesn't also.
If you want to hack the response message to keep the original request
formating(although I'm not sure this is reasonable, as the wsdl is the
interface for client and server to communicate, both should exactly
follow wsdl), I believe you can add some customer interceptors to do so.
Freeman
On 2010-7-14, at 下午10:21, Dan Powell wrote:
When sending an MTOM request to my endpoint, a simple SOAP response
is generated. I have a business requirement to preserve the
original request formatting despite the fact that my response does
not require any binary data or attachment handling. Is there a way
to have this done automatically?
Thanks!
Dan
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org