[BangPypers] Deploying a Python Service on Axis2

2008-09-18 Thread Heshan Suriyaarachchi
.org/library/articles/deploying-python-service-axis2 [2] - http://heshans.blogspot.com/2008/09/wso2-wsfjython-10-alpha.html -- Regards, Heshan Suriyaarachchi http://heshans.blogspot.com/ ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] Module question

2008-09-01 Thread Heshan Suriyaarachchi
Hi Abhinav, I managed to overcome the problem. Thanx :) On Tue, Sep 2, 2008 at 11:03 AM, abhinav sarkar <[EMAIL PROTECTED]>wrote: > > > On Tue, Sep 2, 2008 at 10:51 AM, Abhinav Sarkar <[EMAIL PROTECTED]>wrote: > >> Heshan Suriyaarachchi wrote: >> >&g

Re: [BangPypers] Module question

2008-09-01 Thread Heshan Suriyaarachchi
1-py2.5.egg\\lastfm'] > > I hope it helps. > Cheers, > > -- > Abhinav Sarkar > Fair Isaac India > > > -- Regards, Heshan Suriyaarachchi http://heshans.blogspot.com/ ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Module question

2008-09-01 Thread Heshan Suriyaarachchi
you suggest me a mechanism to extract the full path from the above data structure. -- Regards, Heshan Suriyaarachchi http://heshans.blogspot.com/ ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] writing Python Service Client according to WS standards

2008-07-10 Thread Heshan Suriyaarachchi
Hi, I have been working with web services for some time now. I have used mainly java to do it. When writing a service client in python, does ZSI or SOAPpy support WS-Security, WS-Reliable Messaging, WS-Addressing. If so can anyone point me to a sample code or an article. -- Regards, Heshan

[BangPypers] Writing a Python Client to access a web service.

2008-06-03 Thread Heshan Suriyaarachchi
erviceClient(); Options op = new Options(); op.setTo(targetEPR); sender.setOptions(op); OMElement response = sender.sendReceive(getPayload()); System.out.println(response); } } Thanx in advance -- Regards, Heshan Suriyaarachchi ___

[BangPypers] Mapping python types to xml schema

2008-05-12 Thread Heshan Suriyaarachchi
"string", Constants.XSD_STRING); simpleTypetoxsd.put("String", Constants.XSD_STRING); [1] - http://jython.org/Project/userguide.html#calling-java-methods-and-functions Thanx in advance -- Regards, Heshan Suriyaarachchi

[BangPypers] Executing a string

2008-04-23 Thread Heshan Suriyaarachchi
inside the str string variable print var -- Regards, Heshan Suriyaarachchi ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

2008-04-03 Thread Heshan Suriyaarachchi
Hi Python 3.0 provides the best solution to my problem with annotations.But for the time being I am able to work with the way Sidharth proposed using decorators. :) Thanx guys Heshan Suriyaarachchi ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

2008-04-03 Thread Heshan Suriyaarachchi
> > Hi Anand, This is what I exactly mean. This is the thing I want to do. I am now using python 2.5.1 . So is there a way that I can do a thing like this in python 2.5.1 ( an alternative way). Heshan Suriyaarachchi > > > >>> def f(x : "an integer",

Re: [BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

2008-04-03 Thread Heshan Suriyaarachchi
Hi What I meant was a situation like this. In javascript I'm used to associating metadata with a function as follows. foo.bar = "foobar"; function foo(){ } What is the normal python practice to do this kind of a thing. Your help is very much appreciated. Thanks, Heshan

[BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

2008-04-02 Thread Heshan Suriyaarachchi
Hi Is there a mechanism to express meta-data about classes, methods, variables and parameters in python ( like annotations in java)? I will be thankful if anyone can point me to a sample code or a web reference. Thanx Heshan Suriyaarachchi

Re: [BangPypers] Finding methods in a python script

2008-03-13 Thread Heshan Suriyaarachchi
ach class with their parameters. i.e. class A foo(var,var) echo() when using dir() it does not show the methods and the method parameters . Regards Heshan Suriyaarachchi On Thu, Mar 13, 2008 at 12:23 PM, Pradeep Kishore Gowda <[EMAIL PROTECTED]> wrote: > You mean something

[BangPypers] Finding methods in a python script

2008-03-12 Thread Heshan Suriyaarachchi
direct me to a code sample doing this I will be grateful. Thanx in advance Heshan Suriyaarachchi ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers