Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46677 > unrolled thread

xsd:anyType parameter in suds!

Started byTamer Higazi <th982a@googlemail.com>
First post2013-06-02 04:56 +0200
Last post2013-06-02 19:32 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  xsd:anyType parameter in suds! Tamer Higazi <th982a@googlemail.com> - 2013-06-02 04:56 +0200
    Re: xsd:anyType parameter in suds! alex23 <wuwei23@gmail.com> - 2013-06-02 19:32 -0700

#46677 — xsd:anyType parameter in suds!

FromTamer Higazi <th982a@googlemail.com>
Date2013-06-02 04:56 +0200
Subjectxsd:anyType parameter in suds!
Message-ID<mailman.2533.1370142168.3114.python-list@python.org>
Hi people!
I have a problem passing an xs:anyType Parameter in "suds".

The original sample is an application, where a "PHP Array" is being
passed for the remoted method. What is the same type in python to
accomplish the task?!

doc with sample:
http://kasapi.kasserver.com/dokumentation/?open=soap


here the sample code with it's output:


from suds.client import Client

class KasAPI(object):
       def __init__(self):
        self.__WSDL =
'https://kasserver.com/schnittstelle/soap/wsdl/KasAuth.wsdl'
        self.client = Client(self.__WSDL)
       KasOBJ = KasAPI()
print KasOBJ.client


output:


Suds ( https://fedorahosted.org/suds/ )  version: 0.4 GA  build:
R699-20100913

Service ( KasApiAuthenticationService ) tns="https://kasserver.com/"
   Prefixes (0)
   Ports (1):
      (KasApiAuthenticationPort)
         Methods (1):
            KasAuth(xs:anyType Params, )
         Types (0):


[toc] | [next] | [standalone]


#46754

Fromalex23 <wuwei23@gmail.com>
Date2013-06-02 19:32 -0700
Message-ID<64971a53-e6c3-4be0-8f88-5c7ea31f3bd1@mq5g2000pbb.googlegroups.com>
In reply to#46677
On Jun 2, 12:56 pm, Tamer Higazi <th9...@googlemail.com> wrote:
> The original sample is an application, where a "PHP Array" is being
> passed for the remoted method. What is the same type in python to
> accomplish the task?!

In this case, you probably want to use a dict().

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web