Hi When I send a SOAP request to Axis 2.0 service the response contains content-type=application/xml in the HTTP header. This causes WSDL/SOAP client tool to throw an exception as it doesn't understand the content-type of application/xml. For SOAP 1.1 it expects content-type=text/xml. I modified the Axis2.xml to include following lines. But this still doesn't return content-type=text/xml. Am I missing something in the Axis2.xml so that content-type of text/xml can be returned in the response.
Appreciate your input very much. Modified Axis2.xml contains following lines for text/xml: ========================================================= <messageBuilders> <messageBuilder contentType="text/xml" class=""/> <messageBuilder contentType="" class=""/> <messageBuilder contentType="multipart/form-data" class=""/> </messageBuilders> SOAP response ============= "HTTP/1.1 200 OK[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Via: 1.1 HOUWEBPROXY03[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Connection: Keep-Alive[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Proxy-Connection: Keep-Alive[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Date: Mon, 01 Oct 2007 19:37:41 GMT[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Content-Type: application/xml; charset=utf-8[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Cache-Control: no-cache="set-cookie"[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "Set-Cookie: JSESSIONID=zLGnHBMF7LRLqfr59qZ8TGWQXyHx6j7qh1BBTZyGQRXjsZn3Wb9n!16440382 36; path=/[\r][\n]" 128708 DEBUG [ class ro.sync.ui.application.A.J ] httpclient.wire.header - << "X-Powered-By: Servlet/2.4 JSP/2.0[\r][\n]" thanks Chandru Ganesan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]