You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Eran Chinthaka <ch...@opensource.lk> on 2006/03/20 13:36:19 UTC

Re:[Axis2] FW: Problems in accessing the service using Axis2

Hi Kashif,


Kashif Saleem wrote:
> Hi Eran,
>         Thanks for your help.I collected the apache error log for your error i.e using tcpmon.The output for this error log is given below:
>
> [Mon Mar 20 04:43:43 2006] [error] [client 222.165.174.102] chunked Transfer-Encoding forbidden: /web-services/sbml.py
>   

Now I can see the problem. In Axis2, by default chunking is on. Your 
python server seems not supporting HTTP 1.1 which means not supporting 
chunking. So set the following to off chunking and you are done.

options.setProperty(MessageContextConstants.CHUNKED, Constants.VALUE_FALSE);

I tested this, but I got the following error, which says method echo not 
found. I hope you can fix that on your own :-) .

-- Chinthaka

<SOAP-ENV:Envelope  
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"  
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"   
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
      <SOAP-ENV:Body>
         <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>Processing Failure</faultstring>
            <detail>
               <ZSI:FaultDetail>
                  <ZSI:string>Unknown method echo</ZSI:string>
                  
<ZSI:trace>/home/basis/pythonModules//lib/python/ZSI/dispatch.py:37:_Dispatch</ZSI:trace>
               </ZSI:FaultDetail>
            </detail>
         </SOAP-ENV:Fault>
      </SOAP-ENV:Body>
   </SOAP-ENV:Envelope>