Logré correr un web service con rpclib-2.4.5-beta en windows xp sp3 y apache 2.2.8. A continuación pongo todos los pasos que seguí:
-instalar setuptools-0.6c11.win32-py2.6(2).exe -instalar lxml-2.3.win32-py2.6(15).exe -copiar pytz-2011n-py2.6(2).egg en C:\Python26\Scripts -ir con la línea de comandos a C:\Python26\Scripts -ejecutar easy_install pytz-2011n-py2.6(2).egg -con la línea de comandos poner el directorio de arskom-rpclib-bfe804f -ejecutar setup.py install Hasta aquí ya debería estar instalado rpclib para web services. Para ver el web services poner el fichero .py(ejemplo: helloworld_soap.py) en C:\wamp\www, ejecutar este fichero desde la línea de comandos(no cerrar la línea de comandos) y poner la dirección en la url del navegador(ejemplo: http://localhost:7789/?wsdl) APACHE: -Para habilitar CGI en Apache seguir la siguientes instrucciones: The next step is to use EditRocket to open the httpd.conf apache configuration file located in the apache install directory in the conf directory. Search the httpd.conf file for the line Options Indexes FollowSymLinks Add ExecCGI to this line. The line should now look similar to the following (NOTE: there may be more options listed): Options Indexes FollowSymLinks ExecCGI Next, search for the following: #AddHandler cgi-script .cgi Uncomment this line by removing the # in front of the line, and add a .py to the end of the line. The new line should look like this: AddHandler cgi-script .cgi .py Restart Apache On 11/11/11, lasizoillo <[email protected]> wrote: > El día 11 de noviembre de 2011 17:44, pavel fuentes > <[email protected]> escribió: >> Gracias por los consejos! Ya logré correr un web service con rpclib en >> windows xp y apache. >> > > Sería un detalle decir cuál ha sido la solución por si otra persona > llega a los históricos de la lista a través de google. > _______________________________________________ > Python-es mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ > _______________________________________________ Python-es mailing list [email protected] http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/
