Blog Archive for November 23, 2009

Running a SOAP Webservice without a library

November 23, 2009

This is an example of some Python code to run a SOAP webservice, without using a SOAP library. It takes raw XML (I generated this from the WSDL by using OxygenXML editor) and then uses HTTP to send it across to the service.

Call code

lXml = """
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> …

Selecting with cx_Oracle

November 23, 2009

cx_Oracle is the python database interface to use when using an Oracle back end. Specific versions are available for download for a particular combination of oracle and python version. The latest rpms (marked CentOS) seem to work fine on fedora. http://cx-oracle.sourceforge.net/ for installers.

Select Example

This example code shows a …