Title: Removing specific headers from a server response


Hi,

I'm using axis rpc server , my server puts into the response the Header : Transfer-Encoding:chunked

And my client doesn't know to get it.

I want to remove the  header Transfer-Encoding and to add the header Content-Length.

Example of response

HTTP/1.1 200 OK

Date: Wed, 06 Jul 2005 12:20:46 GMT

Content-Type: text/xml; charset=utf-8

Transfer-Encoding: chunked 

01cb <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:deleteFaxResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:DeleteFax"><deleteFaxReturn xsi:type="xsd:string">OK</deleteFaxReturn></ns1:deleteFaxResponse></soapenv:Body></soapenv:Envelope> 0000

The 01cb is the length of the body.

Thanks


      Liah Kor

        Comverse

     VxV Insight4

   Tel: 03-6452309

Reply via email to