Milinda Pathirage’s Blog

Let the code talk for yourself!

Entries Tagged as 'wsf-python'

Consuming Web Services in Python

August 5th, 2008 · No Comments · python, wsf-python, wso2

Here is a sample client that I write to test WSF/Python 1.0.0alpha implementation. It talks to yahoo REST search API using WSF/Python.

#!/usr/bin/env python
 
import wso2.wsf
 
LOG_DIR = ‘/tmp/’
LOG_LEVEL = 4
WSFC_HOME = ‘/home/milinda/wsfc’
END_POINT = ‘http://search.yahooapis.com/WebSearchService/V1/webSearch’
 
if __name__ == ‘__main__’:
message = """
 
ApacheRestDemo
[...]

[Read more →]

Tags:

WSF/Python WSDL support for client side

August 4th, 2008 · No Comments · wsf-python, wso2

I have spent the last week debugging and fixing WSDL mode code for WSF/Python and WSDL mode didn’t work until today. Final with the help from my friend Supun I fix the bug in the code by removing one single line of code which creates a data structure. This creation suppose to be happen before [...]

[Read more →]

Tags: