====== Python SOAP (Web Services) ======
Python Web Services는 다양한 라이브러리들이 존재한다.
===== suds =====
* https://fedorahosted.org/suds/
* 현재(2013) 테스트 결과 클라이언트 역할은 가장 잘 됐음.
===== SOAPpy =====
* [[https://pypi.python.org/pypi/SOAPpy|SOAPpy pypi]]
* [[http://www.diveintopython.net/soap_web_services/index.html|Dive into python - SOAP Web Services]]
==== 기본 WSDL Client ====
from SOAPpy import WSDL
WSDLFILE = '/path/to/copy/of/GoogleSearch.wsdl'
APIKEY = 'YOUR_GOOGLE_API_KEY'
wsdl_client = WSDL.Proxy(WSDLFILE)
wsdl_client.methods # 메소드 목록 출력
call_info = wsdl_client.methods['method-name']
call_info.inparams # Input Parameters
call_info.inparams.name
call_info.inparams.type
call_info.outparams # Output Parameters
=== Debug ===
http://soappy.ooz.ie/2011/05/how-do-i-debug-soappy-to-xml-messages.html
wsdl_client.soapproxy.config.debug = 1
===== OSA =====
* [[https://bitbucket.org/sboz/osa/wiki/Home|OSA Github]] [[https://pypi.python.org/pypi/osa|OSA pypi]]
* 매우 빠르고 간단해 보임. pip 설치 실패.