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

2006-03-20 Thread Eran Chinthaka

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

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:Server
   Processing Failure
   
  
 Unknown method echo
 
/home/basis/pythonModules//lib/python/ZSI/dispatch.py:37:_Dispatch

  
   

 
  



FW: Problems in accessing the service using Axis2

2006-03-20 Thread Kashif Saleem
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
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws: Traceback (most recent 
call last):
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws:   File 
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 193, in 
Dispatch\nresult = object(req)
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws:   File 
"/home/basis/www/web-services/ws.py", line 10, in handler\n
dispatch.AsHandler(modules=(sbml,kashif, ),request=req)
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/dispatch.py", line 180, in 
AsHandler\nps = ParsedSoap(request)
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/parse.py", line 60, in __init__\n
str(e.__class__) + "): " + str(e), 0)
[Mon Mar 20 04:43:43 2006] [error] PythonHandler ws: ParseException: Can't 
parse document (_apache.SERVER_RETURN): 411
[Mon Mar 20 04:47:29 2006] [error] [client 222.165.174.102] chunked 
Transfer-Encoding forbidden: /web-services/sbml.py
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws: Traceback (most recent 
call last):
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws:   File 
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 193, in 
Dispatch\nresult = object(req)
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws:   File 
"/home/basis/www/web-services/ws.py", line 10, in handler\n
dispatch.AsHandler(modules=(sbml,kashif, ),request=req)
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/dispatch.py", line 180, in 
AsHandler\nps = ParsedSoap(request)
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/parse.py", line 60, in __init__\n
str(e.__class__) + "): " + str(e), 0)
[Mon Mar 20 04:47:29 2006] [error] PythonHandler ws: ParseException: Can't 
parse document (_apache.SERVER_RETURN): 411
[Mon Mar 20 04:48:18 2006] [error] [client 222.165.174.102] chunked 
Transfer-Encoding forbidden: /web-services/sbml.py
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws: Traceback (most recent 
call last):
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws:   File 
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 193, in 
Dispatch\nresult = object(req)
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws:   File 
"/home/basis/www/web-services/ws.py", line 10, in handler\n
dispatch.AsHandler(modules=(sbml,kashif, ),request=req)
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/dispatch.py", line 180, in 
AsHandler\nps = ParsedSoap(request)
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/parse.py", line 60, in __init__\n
str(e.__class__) + "): " + str(e), 0)
[Mon Mar 20 04:48:18 2006] [error] PythonHandler ws: ParseException: Can't 
parse document (_apache.SERVER_RETURN): 411
[Mon Mar 20 04:49:17 2006] [error] [client 222.165.174.102] chunked 
Transfer-Encoding forbidden: /web-services/sbml.py
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws: Traceback (most recent 
call last):
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws:   File 
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 193, in 
Dispatch\nresult = object(req)
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws:   File 
"/home/basis/www/web-services/ws.py", line 10, in handler\n
dispatch.AsHandler(modules=(sbml,kashif, ),request=req)
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/dispatch.py", line 180, in 
AsHandler\nps = ParsedSoap(request)
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/parse.py", line 60, in __init__\n
str(e.__class__) + "): " + str(e), 0)
[Mon Mar 20 04:49:17 2006] [error] PythonHandler ws: ParseException: Can't 
parse document (_apache.SERVER_RETURN): 411
[Mon Mar 20 04:50:43 2006] [error] [client 222.165.174.102] chunked 
Transfer-Encoding forbidden: /web-services/sbml.py
[Mon Mar 20 04:50:43 2006] [error] PythonHandler ws: Traceback (most recent 
call last):
[Mon Mar 20 04:50:43 2006] [error] PythonHandler ws:   File 
"/usr/lib/python2.3/site-packages/mod_python/apache.py", line 193, in 
Dispatch\nresult = object(req)
[Mon Mar 20 04:50:43 2006] [error] PythonHandler ws:   File 
"/home/basis/www/web-services/ws.py", line 10, in handler\n
dispatch.AsHandler(modules=(sbml,kashif, ),request=req)
[Mon Mar 20 04:50:43 2006] [error] PythonHandler ws:   File 
"/home/basis/pythonModules//lib/python/ZSI/dispatch.py", line 180, in 
AsHandler\nps = ParsedSoap(request)
[Mo