You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(4) |
Sep
(15) |
Oct
(53) |
Nov
(9) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(52) |
Feb
(5) |
Mar
(17) |
Apr
(11) |
May
(13) |
Jun
(5) |
Jul
(10) |
Aug
(29) |
Sep
(10) |
Oct
(12) |
Nov
(1) |
Dec
(4) |
2003 |
Jan
|
Feb
(3) |
Mar
(24) |
Apr
(57) |
May
(79) |
Jun
(16) |
Jul
(18) |
Aug
(16) |
Sep
(54) |
Oct
(29) |
Nov
(48) |
Dec
(44) |
2004 |
Jan
(119) |
Feb
(65) |
Mar
(55) |
Apr
(56) |
May
(63) |
Jun
(57) |
Jul
(35) |
Aug
(53) |
Sep
(28) |
Oct
(46) |
Nov
(22) |
Dec
(70) |
2005 |
Jan
(109) |
Feb
(124) |
Mar
(40) |
Apr
(34) |
May
(16) |
Jun
(12) |
Jul
(71) |
Aug
(86) |
Sep
(77) |
Oct
(51) |
Nov
(29) |
Dec
(59) |
2006 |
Jan
(151) |
Feb
(108) |
Mar
(148) |
Apr
(128) |
May
(75) |
Jun
(98) |
Jul
(108) |
Aug
(111) |
Sep
(98) |
Oct
(83) |
Nov
(102) |
Dec
(60) |
2007 |
Jan
(128) |
Feb
(113) |
Mar
(96) |
Apr
(84) |
May
(77) |
Jun
(59) |
Jul
(50) |
Aug
(54) |
Sep
(76) |
Oct
(65) |
Nov
(53) |
Dec
(54) |
2008 |
Jan
(45) |
Feb
(59) |
Mar
(57) |
Apr
(61) |
May
(52) |
Jun
(26) |
Jul
(41) |
Aug
(30) |
Sep
(9) |
Oct
(35) |
Nov
(30) |
Dec
(51) |
2009 |
Jan
(20) |
Feb
(35) |
Mar
(36) |
Apr
(55) |
May
(27) |
Jun
(32) |
Jul
(18) |
Aug
(21) |
Sep
(15) |
Oct
(22) |
Nov
(18) |
Dec
|
2010 |
Jan
(7) |
Feb
(3) |
Mar
(18) |
Apr
(15) |
May
(22) |
Jun
(4) |
Jul
(11) |
Aug
(7) |
Sep
(2) |
Oct
(6) |
Nov
|
Dec
(4) |
2011 |
Jan
(3) |
Feb
(5) |
Mar
(7) |
Apr
(9) |
May
(10) |
Jun
(1) |
Jul
|
Aug
(4) |
Sep
(2) |
Oct
(4) |
Nov
(13) |
Dec
(7) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
(5) |
Sep
|
Oct
(3) |
Nov
(7) |
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(6) |
Feb
(2) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2012-11-28 13:03:20
|
Bugs item #3590677, was opened at 2012-11-28 05:03 Message generated for change (Tracker Item Submitted) made by mdionisio77 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3590677&group_id=26590 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: zsi Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michele Dionisio (mdionisio77) Assigned to: Nobody/Anonymous (nobody) Summary: WSResource.py import twisted NoResource Initial Comment: twisted.web.error does not have any more the element NoResource. The line that import the NoResource object can be removed also because the object is not used ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3590677&group_id=26590 |
From: Lukasz S. <szy...@gm...> - 2012-11-21 20:47:39
|
Hello, I need somebody's help me get my program to connect and interact with .net soap services in a short amount of time (week or two). I've tried both suds (got stuck on infinite recursion https://fedorahosted.org/suds/ticket/239 ) and ZSI (got stuck on how to pass complex types/create requestData object that contains username and password. The request data is not defined in code generated by wsdl2py. I need somebody familiar with either suds or ZSI to get my soap project started. Objective: 1. Successfully Authentication to my .net service. (either fix suds ticket #239, or look at wdl and use import doctor to fix what ever is broken in it) (or use wsld2py and figure out how to build complex data objects) (10hours max at $20 an hour paid upon successful authentication and receiving appropriate security tokens from the service. ) 2. When you complete #1, part 2 is to connect to couple more service using the security token. (I will pay for building that code 10hours max at $20 an hour, paid when the required information is received from all services. ) Is anybody familiar with python soap client libraries. At the end this code would be sitting behind a website and called by multithread/multiprocess web application (or maybe even within it served by modwsgi) Please email me if you are interested, with a brief description on some soap project you worked on/done, and what are your ideas on what is the problem I'm having. See below. Reference: https://lists.fedoraproject.org/pipermail/suds/2012-October/001760.html http://mail.python.org/pipermail//soap/2012-July/000902.html http://lists.fedoraproject.org/pipermail/suds/2012-August/001728.html http://sourceforge.net/mailarchive/message.php?msg_id=29720217 Thanks, Lucas |
From: Matt D. <md...@po...> - 2012-11-02 17:12:49
|
Upgrade suds to 3.0 yourself? On Fri, Nov 2, 2012 at 9:55 AM, Alex Grönholm <ale...@ne...>wrote: > 02.11.2012 18:52, Matt Doar kirjoitti: > > I guess more services are provided via REST these days. > > I suppose so, but all the banks in my country use a unified WS interface, > so I have no say in the matter. Am I totally hosed? > > > > ~Matt > > On Fri, Nov 2, 2012 at 8:53 AM, Alex Grönholm <ale...@ne...>wrote: > >> Is there any usable SOAP client out there that is still supported? It >> looks like both suds and SOAPpy were last updated in 2010 and 2011 >> respectively. None of them seems to support Python 3, or even define a >> minimum Python version. I'm trying to pick one out but they all look >> more or less abandonware. The author of suds didn't even bother to fill >> out a description or add classifiers to the project. >> >> >> ------------------------------------------------------------------------------ >> LogMeIn Central: Instant, anywhere, Remote PC access and management. >> Stay in control, update software, and manage PCs from one command center >> Diagnose problems and improve visibility into emerging IT issues >> Automate, monitor and manage. Do more in less time with Central >> http://p.sf.net/sfu/logmein12331_d2d >> _______________________________________________ >> Pywebsvcs-talk mailing list >> Pyw...@li... >> https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk >> Also archived at http://groups.google.com/group/pywebsvcs >> > > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs > > |
From: Joshua B. <jrb...@lb...> - 2012-11-02 17:07:41
|
I'm not sure what you've done so far, but I think you should first evaluate whether any of the existing toolkits will work for you right out of the box. Try to use your WSDL with them, try to utilize the client interfaces with your services. -josh On Nov 2, 2012, at 9:55 AM, Alex Grönholm wrote: > 02.11.2012 18:52, Matt Doar kirjoitti: >> I guess more services are provided via REST these days. > I suppose so, but all the banks in my country use a unified WS interface, so I have no say in the matter. Am I totally hosed? >> >> >> ~Matt >> >> On Fri, Nov 2, 2012 at 8:53 AM, Alex Grönholm <ale...@ne...> wrote: >> Is there any usable SOAP client out there that is still supported? It >> looks like both suds and SOAPpy were last updated in 2010 and 2011 >> respectively. None of them seems to support Python 3, or even define a >> minimum Python version. I'm trying to pick one out but they all look >> more or less abandonware. The author of suds didn't even bother to fill >> out a description or add classifiers to the project. >> >> ------------------------------------------------------------------------------ >> LogMeIn Central: Instant, anywhere, Remote PC access and management. >> Stay in control, update software, and manage PCs from one command center >> Diagnose problems and improve visibility into emerging IT issues >> Automate, monitor and manage. Do more in less time with Central >> http://p.sf.net/sfu/logmein12331_d2d >> _______________________________________________ >> Pywebsvcs-talk mailing list >> Pyw...@li... >> https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk >> Also archived at http://groups.google.com/group/pywebsvcs >> > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d_______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs |
From: Alex G. <ale...@ne...> - 2012-11-02 16:55:44
|
02.11.2012 18:52, Matt Doar kirjoitti: > I guess more services are provided via REST these days. I suppose so, but all the banks in my country use a unified WS interface, so I have no say in the matter. Am I totally hosed? > > ~Matt > > On Fri, Nov 2, 2012 at 8:53 AM, Alex Grönholm > <ale...@ne... <mailto:ale...@ne...>> wrote: > > Is there any usable SOAP client out there that is still supported? It > looks like both suds and SOAPpy were last updated in 2010 and 2011 > respectively. None of them seems to support Python 3, or even define a > minimum Python version. I'm trying to pick one out but they all look > more or less abandonware. The author of suds didn't even bother to > fill > out a description or add classifiers to the project. > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command > center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > <mailto:Pyw...@li...> > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs > > |
From: Matt D. <md...@po...> - 2012-11-02 16:53:31
|
I guess more services are provided via REST these days. ~Matt On Fri, Nov 2, 2012 at 8:53 AM, Alex Grönholm <ale...@ne...>wrote: > Is there any usable SOAP client out there that is still supported? It > looks like both suds and SOAPpy were last updated in 2010 and 2011 > respectively. None of them seems to support Python 3, or even define a > minimum Python version. I'm trying to pick one out but they all look > more or less abandonware. The author of suds didn't even bother to fill > out a description or add classifiers to the project. > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs > |
From: Alex G. <ale...@ne...> - 2012-11-02 15:59:01
|
Is there any usable SOAP client out there that is still supported? It looks like both suds and SOAPpy were last updated in 2010 and 2011 respectively. None of them seems to support Python 3, or even define a minimum Python version. I'm trying to pick one out but they all look more or less abandonware. The author of suds didn't even bother to fill out a description or add classifiers to the project. |
From: SourceForge.net <no...@so...> - 2012-10-26 15:51:49
|
Bugs item #3580586, was opened at 2012-10-26 08:51 Message generated for change (Tracker Item Submitted) made by rgalka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3580586&group_id=26590 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: zsi Group: v2.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: RichardGalka (rgalka) Assigned to: Nobody/Anonymous (nobody) Summary: issubclass modificaiton to work with wsdl2py Initial Comment: Python 2.7.3 ZSI.Version = (2.1.0) Resulting python classes due to running wsdl2py on a wsdl creates a scenario where utilizing these throws TypeError: Substitute Type (%s, %s) is not derived from %s. It appears the issue is caused by schema.py issubclass(subclass, pyclass) call and the way wsdl2py creates it's classes. When dealing with an ArrayOfXXX superclass the below is identified: >>> pyclass <class 'Service_types.ArrayOfAccessRight_Def'> >>> pyclass.__bases__ (<class 'Service_types.Array_Def'>, <class 'ZSI.schema.TypeDefinition'>) >>> subclass <class 'Service_types.Array_Def'> >>> issubclass(subclass, pyclass) False This appears to be because Service_types.ArrayOfAccessRight_Def modifies it's class' __bases__ during runtime: [From file generated by wsdl2py] if ns2.Array_Def not in ns1.ArrayOfAccessRight_Def.__bases__: bases = list(ns1.ArrayOfAccessRight_Def.__bases__) bases.insert(0, ns2.Array_Def) ns1.ArrayOfAccessRight_Def.__bases__ = tuple(bases) So, although the class [Array_Def] is in [ArrayOfAccessRight_Def] base, the python 2.7 issubclass(x,y) still reports failure. To get this working in our environment the following patch was used (I'm not sure what other ramifications this may cause): --- schema.py 2012-10-26 14:51:36.000000000 -0500 +++ schema.py.new 2012-10-26 14:27:57.000000000 -0500 @@ -289,7 +289,7 @@ class TypeDefinition: 'No registered xsi:type=(%s, %s), substitute for xsi:type=(%s, %s)' % (uri, typeName, self.type[0], self.type[1]), ps.Backtrace(elt)) - if not issubclass(subclass, pyclass) and subclass(None) and not issubclass(subclass, pyclass): + if not subclass in pyclass.__bases__ and subclass(None) and not issubclass(subclass, pyclass): raise TypeError( 'Substitute Type (%s, %s) is not derived from %s' % (self.type[0], self.type[1], pyclass), ps.Backtrace(elt)) [Relevant wsdl file section] <complexType name="ArrayOfAccessRight"> <complexContent> <restriction base="SOAP-ENC:Array"> <sequence> <element name="item" type="fs:AccessRight" minOccurs="0" maxOccurs="unbounded" nillable="false"/> </sequence> <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="fs:AccessRight[]"/> </restriction> </complexContent> </complexType> Please let me know if more information / more complete example is required. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3580586&group_id=26590 |
From: Chris S. <chr...@gm...> - 2012-10-10 15:20:10
|
How do you define a custom type/class for use with SOAPpy? I'd like to pass an nltk.Tree instance (an extension of Python's list type). However, by default, SOAPpy converts this to a normal Python list, losing all extra attributes and methods. Since data is lost, I can't simple convert the list back to a Tree on the client side. I know this would reduce portability, but I don't care since I'm only using this for IPC, so both the server and client will have access to the same libraries and the nltk.Tree class definition. Sorry if this is mentioned somewhere, but I couldn't find any documentation through Google. Regards, Chris |
From: Andrea G. <gas...@im...> - 2012-10-02 11:35:51
|
Hi, I'm trying to play with pywebsvcs and with wsdl2py in particular. it produced for me a _server.py file, and it made all the sort of method and requests/responses: that's ok. Although I need a wsgi application, but I saw the examples doesn't use the ServiceSOAPBinding objects that wsdl2py generates. So, is there an easy way to connect a SOAPApplication object with the ServiceSOAPBinding? Thanks in advance, bye -- Andrea Gasparini |
From: Lukasz S. <szy...@gm...> - 2012-08-27 14:21:25
|
On Sat, Aug 25, 2012 at 12:42 PM, Marco Bizzarri <mar...@gm...>wrote: > According to your wsdl, you should be able to either use directly those > parameters in the call. > > Take a look at the wsdl: if the first method takes the parameters > myusername and mypassword, you can try with: > > s.GetUsername(myusername='lukas', mypassword='mypassword') > > > It does not. From wsdl2py code that got created it looks like it wants "requestdata". Here is the wsdl part that talks about it. Can you tell from below how I should specify the request data? I have tried two approaches. One is to use soapproxy but I have no idea how to supply complex type of request to it. Above code does not work. The second approach I tried was to use the code generated by wsdl2py: from Service_services_types import * from Service_services import * iq=ns1.GetUsername_Request_Dec() iq._Username='lucas' # I also Tried just .Username..This function is of type "null" and does not accept input parameters.etc iq._Password='mysecretpassword' kw = { 'tracefile' : sys.stdout } loc=ServiceLocator() port=loc.getILoginService(**kw) port.GetUsername(iq) but that doesn't work. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns=" http://schemas.xxxx.GetUsername" elementFormDefault="qualified" targetNamespace="http://schemas.xxx.GetUsername"> <xs:import schemaLocation="http://xxxService.svc?xsd=xsd6" namespace=" http://schemas.datacontract.org/2004/07/xxxx"/> <xs:import schemaLocation="http://xxxxService.svc?xsd=xsd9" namespace=" http://schemas.datacontract.org/2004/07/xxxxx"/> <xs:import schemaLocation="http://xxxxService.svc?xsd=xsd2" namespace=" http://schemas.datacontract.org/2004/07/xxxxx"/> <xs:complexType name="RequestData"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/xxxx" base=" q1:RequestDataBase"> <xs:sequence> <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/xxxx" minOccurs="0" name="BusinessInterfaceSourceId" type=" q2:BusinessInterfaceSourceType"/> <xs:element minOccurs="0" name="LoginDomain" nillable="true" type="xs:string "/> <xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="RequestData" nillable="true" type="tns:RequestData"/> <xs:complexType name="ResponseData"> <xs:complexContent mixed="false"> <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/xxxx" base=" q3:ResponseDataBase"> <xs:sequence> <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/xxxx" minOccurs="0" name="SecurityToken" nillable="true" type="q4:SecurityToken"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="ResponseData" nillable="true" type="tns:ResponseData"/> </xs:schema> _________________________________ Mon Aug 27 09:14:00 2012 REQUEST: <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI=" http://www.zolera.com/schemas/ZSI/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body xmlns:ns1="http://tempuri.org/ "><ns1:GetUsername.Request></ns1:GetUsername.Request></SOAP-ENV:Body></SOAP-ENV:Envelope> _________________________________ Mon Aug 27 09:14:00 2012 RESPONSE: 500 Internal Server Error ------- All I get is that I did not supply username and password, the value="nothing". Thanks, Lucas > > On Sat, Aug 25, 2012 at 7:18 PM, Lukasz Szybalski <szy...@gm...>wrote: > >> Yes, I load the whole service from our purchased software wsdl service. >> >> url=http....wsdl >> from ZSI.ServiceProxy import ServiceProxy as sp >> s=sp(url) >> >> Are you saying I should look at the wsdl to figure out what to send >> exactly? I know the service needs "loginname and password" the problem is >> the structure I need to pass it as. I know it has to be of type "request" >> but I have no idea what that exactly is. >> >> >> Thanks, >> Lucas >> >> >> >> >> >> On Sat, Aug 25, 2012 at 1:23 AM, Marco Bizzarri <mar...@gm... >> > wrote: >> >>> Hi, Lukasz; is there any WSDL? >>> >>> Regards >>> Marco >>> >>> On Sat, Aug 25, 2012 at 4:02 AM, Lukasz Szybalski <szy...@gm...>wrote: >>> >>>> Hello, >>>> >>>> I have a soap service that I'm trying to use but the input parameters >>>> is called "parameter" and its of type "request"?! How do I find out what >>>> request/parameter do I exactly pass to it? >>>> >>>> >>>> s._methods['GetUsername'][0].callinfo.inparams[0].type >>>> (u'http://tempuri.org/', u'GetUsername.Request') >>>> >>>> s._methods['GetUsername'][0].callinfo.inparams[0].name >>>> >>>> >>>> I have tried passing a list and dictionary but no lock. The function is >>>> not recognizing neither myusername nor mypassword. It says that I've >>>> passwed in "Nothing" >>>> >>>> >>>> service.GetUsername(parameters={'myusername':'lucas','mypassword':'mypassowrd'}) >>>> >>>> >>>> Any idea what can I do to figure out what I need to pass? >>>> >>>> Thanks, >>>> Lucas >>>> >>>> >>>> >>>> >>> > > > > -- http://lucasmanual.com/ <http://lucasmanual.com/blog/> |
From: Marco B. <mar...@gm...> - 2012-08-25 17:42:47
|
According to your wsdl, you should be able to either use directly those parameters in the call. Take a look at the wsdl: if the first method takes the parameters myusername and mypassword, you can try with: s.GetUsername(myusername='lukas', mypassword='mypassword') On Sat, Aug 25, 2012 at 7:18 PM, Lukasz Szybalski <szy...@gm...>wrote: > Yes, I load the whole service from our purchased software wsdl service. > > url=http....wsdl > from ZSI.ServiceProxy import ServiceProxy as sp > s=sp(url) > > Are you saying I should look at the wsdl to figure out what to send > exactly? I know the service needs "loginname and password" the problem is > the structure I need to pass it as. I know it has to be of type "request" > but I have no idea what that exactly is. > > > Thanks, > Lucas > > > > > > On Sat, Aug 25, 2012 at 1:23 AM, Marco Bizzarri <mar...@gm...>wrote: > >> Hi, Lukasz; is there any WSDL? >> >> Regards >> Marco >> >> On Sat, Aug 25, 2012 at 4:02 AM, Lukasz Szybalski <szy...@gm...>wrote: >> >>> Hello, >>> >>> I have a soap service that I'm trying to use but the input parameters is >>> called "parameter" and its of type "request"?! How do I find out what >>> request/parameter do I exactly pass to it? >>> >>> >>> s._methods['GetUsername'][0].callinfo.inparams[0].type >>> (u'http://tempuri.org/', u'GetUsername.Request') >>> >>> s._methods['GetUsername'][0].callinfo.inparams[0].name >>> >>> >>> I have tried passing a list and dictionary but no lock. The function is >>> not recognizing neither myusername nor mypassword. It says that I've >>> passwed in "Nothing" >>> >>> >>> service.GetUsername(parameters={'myusername':'lucas','mypassword':'mypassowrd'}) >>> >>> >>> Any idea what can I do to figure out what I need to pass? >>> >>> Thanks, >>> Lucas >>> >>> >>> >>> >> -- Marco Bizzarri http://code.google.com/p/qt-asterisk/ http://notenotturne.blogspot.com/ http://iliveinpisa.blogspot.com/ |
From: Lukasz S. <szy...@gm...> - 2012-08-25 17:18:24
|
Yes, I load the whole service from our purchased software wsdl service. url=http....wsdl from ZSI.ServiceProxy import ServiceProxy as sp s=sp(url) Are you saying I should look at the wsdl to figure out what to send exactly? I know the service needs "loginname and password" the problem is the structure I need to pass it as. I know it has to be of type "request" but I have no idea what that exactly is. Thanks, Lucas On Sat, Aug 25, 2012 at 1:23 AM, Marco Bizzarri <mar...@gm...>wrote: > Hi, Lukasz; is there any WSDL? > > Regards > Marco > > On Sat, Aug 25, 2012 at 4:02 AM, Lukasz Szybalski <szy...@gm...>wrote: > >> Hello, >> >> I have a soap service that I'm trying to use but the input parameters is >> called "parameter" and its of type "request"?! How do I find out what >> request/parameter do I exactly pass to it? >> >> >> s._methods['GetUsername'][0].callinfo.inparams[0].type >> (u'http://tempuri.org/', u'GetUsername.Request') >> >> s._methods['GetUsername'][0].callinfo.inparams[0].name >> >> >> I have tried passing a list and dictionary but no lock. The function is >> not recognizing neither myusername nor mypassword. It says that I've >> passwed in "Nothing" >> >> >> service.GetUsername(parameters={'myusername':'lucas','mypassword':'mypassowrd'}) >> >> >> Any idea what can I do to figure out what I need to pass? >> >> Thanks, >> Lucas >> >> >> >> > |
From: Marco B. <mar...@gm...> - 2012-08-25 06:23:26
|
Hi, Lukasz; is there any WSDL? Regards Marco On Sat, Aug 25, 2012 at 4:02 AM, Lukasz Szybalski <szy...@gm...>wrote: > Hello, > > I have a soap service that I'm trying to use but the input parameters is > called "parameter" and its of type "request"?! How do I find out what > request/parameter do I exactly pass to it? > > > s._methods['GetUsername'][0].callinfo.inparams[0].type > (u'http://tempuri.org/', u'GetUsername.Request') > > s._methods['GetUsername'][0].callinfo.inparams[0].name > > > I have tried passing a list and dictionary but no lock. The function is > not recognizing neither myusername nor mypassword. It says that I've > passwed in "Nothing" > > > service.GetUsername(parameters={'myusername':'lucas','mypassword':'mypassowrd'}) > > > Any idea what can I do to figure out what I need to pass? > > Thanks, > Lucas > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs > > -- Marco Bizzarri http://code.google.com/p/qt-asterisk/ http://notenotturne.blogspot.com/ http://iliveinpisa.blogspot.com/ |
From: Lukasz S. <szy...@gm...> - 2012-08-25 02:02:07
|
Hello, I have a soap service that I'm trying to use but the input parameters is called "parameter" and its of type "request"?! How do I find out what request/parameter do I exactly pass to it? s._methods['GetUsername'][0].callinfo.inparams[0].type (u'http://tempuri.org/', u'GetUsername.Request') s._methods['GetUsername'][0].callinfo.inparams[0].name I have tried passing a list and dictionary but no lock. The function is not recognizing neither myusername nor mypassword. It says that I've passwed in "Nothing" service.GetUsername(parameters={'myusername':'lucas','mypassword':'mypassowrd'}) Any idea what can I do to figure out what I need to pass? Thanks, Lucas |
From: SourceForge.net <no...@so...> - 2012-07-23 17:18:28
|
Bugs item #3547666, was opened at 2012-07-23 10:18 Message generated for change (Tracker Item Submitted) made by abadger1999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3547666&group_id=26590 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: SOAPpy Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: Is PyXML Required? Initial Comment: In Fedora, we're trying to get rid of PyXML as it is dead upstream and the way the Python stdlib overwrites portions of itself with code from pyxml if that is present has brought in bugs that have been fixed in the stdlib's version of xml. Our SOAPpy package currently has a dep on PyXML because of this line in the README: Required Packages ----------------- These packages should be installed before SOAPpy. - fpconst 0.6.0 or later, <http://research.warnes.net/Zope/projects/fpconst> - pyXML 0.8.3 or later, <http://pyxml.sourceforge.net> However, browsing the Code repository and ChangeLog, I see things that lead me to believe the code doesn't need PyXML and this is a documentation error. Revision 414: http://pywebsvcs.svn.sourceforge.net/viewvc/pywebsvcs/trunk/SOAPpy/README?r1=318&r2=414 of the README makes PyXML an optional dep. Browsing the code seems to support this. http://pywebsvcs.svn.sourceforge.net/viewvc/pywebsvcs/trunk/SOAPpy/README?r1=451&r2=481 is a cleanup and simplification of README that just happens to move pyXML from the optional section to Required again. I'm thinking this was a mistake in the cleanup of the README. Assuming this is correct, I'm attaching a patch that would update the README. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3547666&group_id=26590 |
From: Gabriel T. <ga...@no...> - 2012-07-16 09:49:15
|
Hello, I've been using the dispatch.AsCGI handler from ZSI behind an apache for quite a while. Now that the load is increasing on the server, the cost of forking CGIs becomes a bottleneck. After making my handling process thread safe, I've integrated it in mod_wsgi environment. While looking for this list, I stumbled upon http://sourceforge.net/mailarchive/message.php?msg_id=9982866 I haven't looked at the ZSI.ServiceContainer, but for the ZSI.dispatch, based on AsCGI, I've added the following, which works for me: --8<-- def _WSGISendXML(text, code = "200 OK", **kw): response_headers = [('Content-type', 'text/xml; charset="%s"' %UNICODE_ENCODING), ('Content-Length', str(len(text)))] kw['start_response'](code, response_headers) return [text] def _WSCGISendFault(f, **kw): return _WSGISendXML(f.AsSOAP(), "500 Internal Server Error", **kw) def AsWSGI(environ, start_response, nsdict={}, typesmodule=None, rpc=False, modules=None): '''Dispatch within mod_wsgi ''' if environ.get('REQUEST_METHOD') != 'POST': return _WSCGISendFault(Fault(Fault.Client, 'Must use POST'), start_response = start_response) ct = environ['CONTENT_TYPE'] try: if ct.startswith('multipart/'): cid = resolvers.MIMEResolver(ct, environ['wsgi.input']) xml = cid.GetSOAPPart() ps = ParsedSoap(xml, resolver=cid.Resolve) else: length = int(environ['CONTENT_LENGTH']) ps = ParsedSoap(environ['wsgi.input'].read(length)) except ParseException, e: return _WSCGISendFault(FaultFromZSIException(e), start_response = start_response) except ExpatError, e: return _WSCGISendFault(FaultFromZSIException(e), start_response = start_response) return dispatch._Dispatch(ps, modules, _WSGISendXML, _WSCGISendFault, nsdict=nsdict, typesmodule=typesmodule, rpc=rpc, start_response = start_response) -- Note: in AsWSGI, the ExpatError exception is raised when an incorrectly formatted XML flow is received. But shouldn't it be trapped in ParsedSoad and raised as a ParseException? Then, my .wsgi script looks like: --8<-- from ZSI import dispatch import sessionManagement def application(environ, start_response): return dispatch.AsWSGI(environ, start_response, modules = (sessionManagement,)) -- Best Regards, -- G. Tourrand |
From: Lukasz S. <szy...@gm...> - 2012-06-29 19:13:06
|
I can probably ask for documentation or start playing around with it to see what I can get. I tried the following: url='xxxx' from SOAPpy import WSDL server=WSDL.Proxy(url) callInfo=server.methods['GetUsernamePassword'] but I get SOAPpy.wstools.Utility.ParseError: (u'Failed to load document http://xxxx/LoginService.svc?xsd=xsd3', 'maximum recursion depth exceeded while calling a Python object') ok so I thought I maybe upgrade to latest version so I did easy_install ZSI, got the ZSI-2.0-rc3,..is this the latest version? but now the url doesn't even want to work for the original ServiceProxy: ZSI-2.0_rc3-py2.6.egg/ZSI/wstools/WSDLTools.py", line 1116, in getAddressBinding 'No address binding found in port.' ZSI.wstools.WSDLTools.WSDLError: No address binding found in port. >>> Any idea what this might be about? It worked just fine in Debian stable version: 2.1~a1-3 (I'm not sure how they version it since official is 2.0. Is there some kind of parameter I need to specify to serviceproxy so that it knows " address binding found in port" Thanks, Lucas On 6/23/12, Lukasz Szybalski <szy...@gm...> wrote: > Hello, > > Hello, > > How do I get a list of parameters of a function. I can find a function name > but I don't know what I can pass to it, or what the function needs me to > pass in. How can I do that? > > > I know how to get a list of functions: > > url='http:.....' > > from ZSI.ServiceProxy import ServiceProxy as sps=sp(url)#To Enable > traceback uncomment below#import > sys#s=sp(url,tracefile=sys.stdout)dir(s)#Above will print a list the > methods, and other functions you have available#Below will print > available methods and their names:from ZSI.schema import GEDprint > s._methods.keys() > -- Need Quality Hardwood Floors at reasonable prices? http://www.azrichardflooring.com/ http://lucasmanual.com/ <http://lucasmanual.com/blog/> |
From: Lukasz S. <szy...@gm...> - 2012-06-23 17:22:21
|
Hello, Hello, How do I get a list of parameters of a function. I can find a function name but I don't know what I can pass to it, or what the function needs me to pass in. How can I do that? I know how to get a list of functions: url='http:.....' from ZSI.ServiceProxy import ServiceProxy as sps=sp(url)#To Enable traceback uncomment below#import sys#s=sp(url,tracefile=sys.stdout)dir(s)#Above will print a list the methods, and other functions you have available#Below will print available methods and their names:from ZSI.schema import GEDprint s._methods.keys() |
From: Dieter M. <di...@ha...> - 2012-02-09 07:42:45
|
??? wrote at 2012-1-9 14:03 +0800: >I have some tried as follows. it works perfect. > > >>>> import datetime >>>> today = datetime.datetime.now() >>>> today+datetime.timedelta(weeks=1) >datetime.datetime(2012, 1, 16, 11, 52, 8, 33220) >>>> today+datetime.timedelta(days=1) >datetime.datetime(2012, 1, 10, 11, 52, 8, 33220) >>>> help(datetime) > > >when i run this piece of code, it failed. > >>>> today+datetime.timedelta(months=1) >Traceback (most recent call last): > File "<stdin>", line 1, in <module> >TypeError: 'months' is an invalid keyword argument for this function The error information tells you that "timedelta" does not support the delta specification in "months". Avoid it by using days instead. It is not surprising that "timedelta" does not support "months" -- because what a "month" is depends on a base time. Sometimes, it is 28 days, another time it is 31 days. "timedelta" has not concept of "base time", internally it is a triple days, seconds, microseconds. Thus, it must everything you specify map on such a triple -- and without a base time, this is impossible for "month". Perhaps, you can use the typical approach in the banking industry: you define that a month is equivalent to 30 days. If this is no option for you, you must implement your own "timedelta". It would need to delay the interpretation of "month", "year" and other base time dependent concepts until such a base time becomes known. -- Dieter |
From: Jim <jim...@gm...> - 2012-02-08 16:58:52
|
Hi all, Have you tried "nmap 192.123.1.1", locally and remotely? I tried to run your code, I got the same result. It looks like the server does not open the port for the IP except for "localhost", I don't know if it is the expected behavior. One workaround is to put the IP directly in the server code: server = SOAPpy.SOAPServer(("192.123.1.1", 8080)) Regards On Wed, Feb 8, 2012 at 2:01 PM, Emlio <uc...@ya...> wrote: > Hi all > > I'm starting to wok with the soappy toolon a linux enviromment and the > usual "hello wolrd" worked fine: > > Lets call soappyServer.py to the file: > import SOAPpy > def hello(): > return "Hello World" > server = SOAPpy.SOAPServer(("localhost", 8080)) > server.registerFunction(hello) > server.serve_forever() > > And soappyClient.py to the file: > import SOAPpy > server = SOAPpy.SOAPProxy("http://localhost:8080/") > print server.hello() > > > Runnning soappyServer.py in order to start the service, and then > soappyClient.py gives the expected result. > > But the problem arises when I try to run server and client from > different computers that are in the same network. The machine running > soappyServer.py has the port 8080 open, and all the tests I occurred to > run to test it are succesful, such as "$ nmap localhost" and similar. > > In the computer with the client file, its content is something similar to: > import SOAPpy > server = SOAPpy.SOAPProxy("http://192.123.1.1:8080/") > print server.hello() > > But the exit I get is: > ... > socket.error: [Errno 113] No route to host > > > I've searched all the ways I've think of related to this error, but I'm > stuck. As I mentioned above, the port 8080 seems to be alright in the > server machine (192.123.1.1). I have ping for that machine too, and I > can access it by ssh. > > Any idea of what I'm missing here? > > Cheers > > ED > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs > |
From: Emlio <uc...@ya...> - 2012-02-08 13:13:53
|
Hi all I'm starting to wok with the soappy toolon a linux enviromment and the usual "hello wolrd" worked fine: Lets call soappyServer.py to the file: import SOAPpy def hello(): return "Hello World" server = SOAPpy.SOAPServer(("localhost", 8080)) server.registerFunction(hello) server.serve_forever() And soappyClient.py to the file: import SOAPpy server = SOAPpy.SOAPProxy("http://localhost:8080/") print server.hello() Runnning soappyServer.py in order to start the service, and then soappyClient.py gives the expected result. But the problem arises when I try to run server and client from different computers that are in the same network. The machine running soappyServer.py has the port 8080 open, and all the tests I occurred to run to test it are succesful, such as "$ nmap localhost" and similar. In the computer with the client file, its content is something similar to: import SOAPpy server = SOAPpy.SOAPProxy("http://192.123.1.1:8080/") print server.hello() But the exit I get is: ... socket.error: [Errno 113] No route to host I've searched all the ways I've think of related to this error, but I'm stuck. As I mentioned above, the port 8080 seems to be alright in the server machine (192.123.1.1). I have ping for that machine too, and I can access it by ssh. Any idea of what I'm missing here? Cheers ED |
From: SourceForge.net <no...@so...> - 2012-02-06 15:30:47
|
Bugs item #3484991, was opened at 2012-02-06 07:30 Message generated for change (Tracker Item Submitted) made by nnseva You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3484991&group_id=26590 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: SOAPpy Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vsevolod Novikov (nnseva) Assigned to: Nobody/Anonymous (nobody) Summary: voidType() value processing in buildSOAP Initial Comment: When the voidType() value is passed as a value for 'kw' parameter of SOAPBuilder.buildSOAP(), it is processed incorrectly, probably because of lost 'return'. The lost 'return' is added in the applied patch. The bug has been met using twisted.soap to process soap requests, when the voidType() value should be returned from the published method to return empty result. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=3484991&group_id=26590 |
From: 贾晓磊 <jia...@gm...> - 2012-01-09 06:15:00
|
sorry for the mis-sending! then, thanks for the url ypu provided. In fact, I know how to solve handle the delay about months and year. what i want to know is that in " >>> import datetime >>> today = datetime.datetime.now()" how to achieve it. sorry again for the interrupting! -- Jia Xiaolei On Mon, Jan 9, 2012 at 2:09 PM, Dmitri Cherniak <dm...@gm...> wrote: > This isn't related to tornado, so you shouldn't send general python > questions like that here. > > A google search for "time delta months" should lead you here: > http://stackoverflow.com/questions/2249956/how-to-get-the-same-day-of-next-month-of-a-given-day-in-python-using-datetime > > On Jan 9, 2012, at 1:03 AM, 贾晓磊 wrote: > > hi, all: > > I have some tried as follows. it works perfect. > > > >>> import datetime > >>> today = datetime.datetime.now() > >>> today+datetime.timedelta(weeks=1) > datetime.datetime(2012, 1, 16, 11, 52, 8, 33220) > >>> today+datetime.timedelta(days=1) > datetime.datetime(2012, 1, 10, 11, 52, 8, 33220) > >>> help(datetime) > > > when i run this piece of code, it failed. > > >>> today+datetime.timedelta(months=1) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: 'months' is an invalid keyword argument for this function > > I try to read the source code, but find it > > NAME > datetime - Fast implementation of the datetime type. > > FILE > /usr/lib/python2.6/lib-dynload/datetime.so > > > In one word, in the method "datetime.timedelta(months=1)", what are the > keys in the method? > if i want to know what key can be used in timedelta(), how should i do ? > > -- Jia Xiaolei > > > -- NAME: 贾晓磊/Jia Xiaolei MOBILE: 13011292217 QQ: 281304051 MICRO-BLOG: http://weibo.com/2183890715 GMAIL: jia...@gm... <gmail%3Aj...@gm...> |
From: 贾晓磊 <jia...@gm...> - 2012-01-09 06:03:38
|
hi, all: I have some tried as follows. it works perfect. >>> import datetime >>> today = datetime.datetime.now() >>> today+datetime.timedelta(weeks=1) datetime.datetime(2012, 1, 16, 11, 52, 8, 33220) >>> today+datetime.timedelta(days=1) datetime.datetime(2012, 1, 10, 11, 52, 8, 33220) >>> help(datetime) when i run this piece of code, it failed. >>> today+datetime.timedelta(months=1) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'months' is an invalid keyword argument for this function I try to read the source code, but find it NAME datetime - Fast implementation of the datetime type. FILE /usr/lib/python2.6/lib-dynload/datetime.so In one word, in the method "datetime.timedelta(months=1)", what are the keys in the method? if i want to know what key can be used in timedelta(), how should i do ? -- Jia Xiaolei |