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


Groups > comp.lang.python > #81058

Re: about suds and soap and parameters.

From dieter <dieter@handshake.de>
Subject Re: about suds and soap and parameters.
Date 2014-11-20 07:50 +0100
References <6ef1db47-b967-4798-bc79-290ef0b755b1@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.16007.1416466246.18130.python-list@python.org> (permalink)

Show all headers | 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