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


Groups > comp.lang.python > #54324

Suds and Complex Sequences

Date 2013-09-17 12:51 -0500
Subject Suds and Complex Sequences
From Greg Lindstrom <gslindstrom@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.86.1379440291.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Everyone -

I am trying to use Suds, the very fine library allowing me to use SOAP, to
query a service over the net.  Part of the data structure defined be the
WSDL calls for a sequence of SubscriberDataTypes (this application is used
to test an insurance companys' rating service).

(SubscriberDataType){
   SubscriberID = None
   SubscriberBirthDate = None
   Zip = None
   <snip>
   DependentData[] = <empty>
 }

Which goes into

(MedicalRatingRequest){
   MessageHeader =
      (MessageHeaderType){
         MessageName = None
         MessageID = None
         <snip>
      }
   RequestHeader =
      (RequestHeaderType){
         RequestType =
            (RequestTypeEnum){
               value = None
            }
         <snip>
      }
   <snip>
   SubscriberData[] = <empty>
 }

Note that the Subscriber Data is a sequence of SubscriberDataType.  I have
not been able to find any documentation showing me how to do this.  Does
anyone out there know how I can generate the request?

Thanks for your time,

Greg Lindstrom

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


Thread

Suds and Complex Sequences Greg Lindstrom <gslindstrom@gmail.com> - 2013-09-17 12:51 -0500
  Re: Suds and Complex Sequences John Gordon <gordon@panix.com> - 2013-09-17 18:39 +0000

csiph-web