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


Groups > comp.lang.python > #46677

xsd:anyType parameter in suds!

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <th982a@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'method.': 0.07; 'parameter': 0.09; 'prefixes': 0.09; 'python': 0.11; 'def': 0.12; 'self.client': 0.16; '(0)': 0.16; 'charset:iso-8859-15': 0.16; 'passing': 0.19; 'import': 0.22; 'print': 0.22; 'header:User- Agent:1': 0.23; 'skip:( 20': 0.30; 'code': 0.31; 'doc': 0.31; 'class': 0.32; 'skip:_ 10': 0.34; 'problem': 0.35; 'received:google.com': 0.35; 'version:': 0.36; 'url:org': 0.36; 'being': 0.38; 'from:addr:googlemail.com': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'here': 0.66; 'sample': 0.67; 'subject::': 0.85; 'ports': 0.93; 'url:open': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=DIYky+WS7HFuDLMymKZjF7npLhJR1ZsbynMh4i6jl84=; b=lFD6xrgjaNiJE0vKLw/XAUksQo07QzrsHSfPQsnvpzJZszlYF5fIgcQwM5MLdLy3Go RrIsvXXoyXtpDtEReWMX22lwgzVoBRhuZQhtJzAIx2FIjRSiwIBoRo4wH2yv6BBvsOSy 9aS+2vpu+WJiX6H/sDe1fugQ88yqNy+f2jj6dPHTKXpgg6rp9cluSrzLh2t0oLVK72Ay biEbUxMZvKJEbBRV8cVbSAZCQXCI2K/i2A+ycQ46fu2NYP9bTRvcYIfe+kR2jshZltxY ZVcMCtg7IBFFIY9Ma5wdD8zCEpIc3YYGTRSBcp8u2tJDUHBYT9zullxiNb3rP5XiqfnQ mfNA==
X-Received by 10.14.220.130 with SMTP id o2mr18367078eep.63.1370141778965; Sat, 01 Jun 2013 19:56:18 -0700 (PDT)
Date Sun, 02 Jun 2013 04:56:17 +0200
From Tamer Higazi <th982a@googlemail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version 1.0
To python-list@python.org
Subject xsd:anyType parameter in suds!
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2533.1370142168.3114.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370142168 news.xs4all.nl 15908 [2001:888:2000:d::a6]:55201
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46677

Show key headers only | View raw


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):


Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web