Http consumer endpoint in ServiceMix 3.2 release have property marshaler. You
can override default HttpSoapConsumerMarshaler to add expected header. This
is done in sendOut method.

Please read:
http://cwiki.apache.org/confluence/display/SM/servicemix-http+new+endpoints

Regards,
Luke


Prasanna.dpm wrote:
> 
> Hi,
> 
> We have a http-consumer which accepts soap requests. In the response http
> header has "Content-Type: text/xml". For a .NET client, it expects the
> "Content-Type: text/xml;charset=utf-8". When I browsed through the source,
> I found content type set as "text/xml" at SOAPWriter class.
> 
> Any reason why content type is set only as "text/xml".
> 
> Is there any way I could set http header content type in response without
> changing the code of servicemix-soap jar.
> 
> 
> Regards,
> Prasanna
> 


-----
Lukasz Dywicki,
Integration Developer
http://blog.dywicki.pl/
-- 
View this message in context: 
http://www.nabble.com/servicemix-http-response-missing-charset%3Dutf-8-in-HTTP-header-tp19567829p19570729.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to