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


Groups > comp.lang.python > #81058

Re: about suds and soap and parameters.

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'ideally': 0.04; 'definitions.': 0.07; 'soap': 0.07; 'parameter': 0.09; 'prefix': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'semantic': 0.09; 'defined.': 0.16; 'means.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'shorthand': 0.16; 'xs:': 0.16; 'trying': 0.19; 'seems': 0.21; 'header:User-Agent:1': 0.23; '(or': 0.24; 'defined': 0.27; 'header:X-Complaints-To:1': 0.27; 'points': 0.29; "i'm": 0.30; 'included': 0.31; 'are.': 0.31; 'stands': 0.31; 'writes:': 0.31; 'there,': 0.34; 'definition': 0.35; 'there': 0.35; 'method': 0.36; 'shows': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'to:addr :python-list': 0.38; 'itself': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'information': 0.63; 'refer': 0.63; 'here': 0.66; 'determine': 0.67; 'forward.': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: about suds and soap and parameters.
Date Thu, 20 Nov 2014 07:50:30 +0100
References <6ef1db47-b967-4798-bc79-290ef0b755b1@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0aba0.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:tXcIB/mTZr1D0Kll+C0zVGET1KI=
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16007.1416466246.18130.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416466246 news.xs4all.nl 2862 [2001:888:2000:d::a6]:34990
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81058

Show key headers only | View raw


JustSomeGuy <brian.obrien@calgaryscientific.com> writes:

> I'm trying to call a soap method with suds.
> The parameter however is not straight forward.
>
>
> queryContent (
>     xs:string mpiId, 
>     tmPidAndIssuer[] idsAndIssuers, 
>     tmPersonName name, 
>     xs:string patientAge, 
>     tmAccessionNumberAndIssuer accNumAndIssuer, 
>     xs:string studyUID,
>     xs:string studyID, 
>     tmDateRange studyDateRange, 
>     xs:string studyDescription, 
>     xs:string[] modalities, 
>     xs:string stmo, 
>     xs:string folderName, 
>     xs:string folderDescription, 
>     tmDateRange folderDateRange, 
>     xs:string[] labels
> )
>
> What are these xs: ?

Likely, "xs" stands for "Xml-Schema" and then would refer to
the XML-Schema standard datatypes.

In general, "suds" shows you type information in the
form "[<namespace prefix>:]<type name>". It uses the information
from the WSDL description. The prefix itself is without semantic
meaning; it is just a shorthand for an "uri" which ideally
points to some relevant definitions. The WSDL will have
information for this "prefix -> uri" mapping. You will
need to look there, in order to determine precisely, what
the prefix means.

If "<namespace prefix>" is missing, then the type is locally
defined. You should find its definition in the WSDL (or
included resources).

> there seems to be other other types defined here that I'm not sure what they are.

Look at the WSDL defintions.

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


Thread

about suds and soap and parameters. JustSomeGuy <brian.obrien@calgaryscientific.com> - 2014-11-19 17:37 -0800
  Re: about suds and soap and parameters. dieter <dieter@handshake.de> - 2014-11-20 07:50 +0100
    Re: about suds and soap and parameters. Marko Rauhamaa <marko@pacujo.net> - 2014-11-20 09:14 +0200

csiph-web