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


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

about suds and soap and parameters.

Started byJustSomeGuy <brian.obrien@calgaryscientific.com>
First post2014-11-19 17:37 -0800
Last post2014-11-20 09:14 +0200
Articles 3 — 3 participants

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


Contents

  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

#81046 — about suds and soap and parameters.

FromJustSomeGuy <brian.obrien@calgaryscientific.com>
Date2014-11-19 17:37 -0800
Subjectabout suds and soap and parameters.
Message-ID<6ef1db47-b967-4798-bc79-290ef0b755b1@googlegroups.com>
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: ?
there seems to be other other types defined here that I'm not sure what they are.

      

-- 

------------------------------
If you believe you have received this electronic transmission in error, 
please notify the original sender of this email and destroy all copies of 
this communication.

[toc] | [next] | [standalone]


#81058

Fromdieter <dieter@handshake.de>
Date2014-11-20 07:50 +0100
Message-ID<mailman.16007.1416466246.18130.python-list@python.org>
In reply to#81046
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.

[toc] | [prev] | [next] | [standalone]


#81059

FromMarko Rauhamaa <marko@pacujo.net>
Date2014-11-20 09:14 +0200
Message-ID<87y4r68htb.fsf@elektro.pacujo.net>
In reply to#81058
dieter <dieter@handshake.de>:

> The [namespace] 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.

FWIW, even the URI is without inherent meaning. It's just a
funny-looking identifier for a namespace.


Marko

[toc] | [prev] | [standalone]


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


csiph-web