Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.081 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'lindstrom': 0.16; 'soap,': 0.16; 'library': 0.18; 'trying': 0.19; 'subscriber': 0.19; '8bit%:5': 0.22; 'greg': 0.24; 'skip:\xa0 20': 0.24; 'fine': 0.24; 'query': 0.26; 'defined': 0.27; '(this': 0.29; 'message- id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; 'anyone': 0.31; 'this.': 0.32; 'everyone': 0.33; 'test': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'sequence': 0.36; 'thanks': 0.36; 'application': 0.37; 'skip:& 10': 0.38; '8bit%:4': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'structure': 0.39; 'to:addr:python.org': 0.39; '8bit%:6': 0.40; 'how': 0.40; 'zip': 0.64; 'rating': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7y4pBiyBbHRRe25vWVF52JlM+O2KKXdvtCd0I5d0TSE=; b=Sn5F2g2bncmTtJ2PN6vUnTeR+l5gwpC4fPpQpjEo0ogHyVVV2rQBZdQXfVycnVzl10 TOcWb7wljUeC80B97Ryh51q2H0ewkgUyVNG6Lu1ttcP6vd19uTKhFpzUGi4u0XqYDqd+ yFMOzzKkkWwiBpZ1l69aimJeffrHA3LSgYTwM8Mu2MhyLecrIvlfALkolczyzYAjOgL3 B01tm1yxIX1NHTxoox6tYDFEIPlePSd43LMZjKkyhjLIp1C0z0nyIIU35KKUUHf4gOAM qOAmlgJ2GFjjthPJ5ARjzQ25zpfqFu13srABIEfEdMVowpi4u2ZetFEjRkt9EqwcVGuE J/qw== MIME-Version: 1.0 X-Received: by 10.112.156.74 with SMTP id wc10mr2083095lbb.44.1379440284659; Tue, 17 Sep 2013 10:51:24 -0700 (PDT) Date: Tue, 17 Sep 2013 12:51:24 -0500 Subject: Suds and Complex Sequences From: Greg Lindstrom To: python-list@python.org Content-Type: multipart/alternative; boundary=089e0122976c27f48b04e697f887 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 80 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379440291 news.xs4all.nl 15926 [2001:888:2000:d::a6]:40435 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54324 --089e0122976c27f48b04e697f887 Content-Type: text/plain; charset=ISO-8859-1 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 DependentData[] = } Which goes into (MedicalRatingRequest){ MessageHeader = (MessageHeaderType){ MessageName = None MessageID = None } RequestHeader = (RequestHeaderType){ RequestType = (RequestTypeEnum){ value = None } } SubscriberData[] = } 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 --089e0122976c27f48b04e697f887 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Everyone -=A0

I am trying to use = Suds, the very fine library allowing me to use SOAP, to query a service ove= r the net. =A0Part of the data structure defined be the WSDL calls for a se= quence of SubscriberDataTypes (this application is used to test an insuranc= e companys' rating service).

(SubscriberDataType){
=A0 =A0SubscriberI= D =3D None
=A0 =A0SubscriberBirthDate =3D None
=A0 =A0Z= ip =3D None
=A0 =A0<snip>
=A0 =A0DependentData[] = =3D <empty>
=A0}

Which goes into

(MedicalRatingRequest){
=A0 =A0MessageHeader =3D=A0
=A0 =A0 =A0 (MessageHeaderType){
=A0 =A0 =A0 =A0 =A0Mess= ageName =3D None
=A0 =A0 =A0 =A0 =A0MessageID =3D None
=A0 =A0 =A0 =A0 =A0<snip= >
=A0 =A0 =A0 }
=A0 =A0RequestHeader =3D=A0
=A0 =A0 =A0 (RequestHeaderType){
=A0 =A0 =A0 =A0 =A0RequestType= =3D=A0
=A0 =A0 =A0 =A0 =A0 =A0 (RequestTypeEnum){
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0value =3D None
=A0 =A0 =A0 = =A0 =A0 =A0 }
=A0 =A0 =A0 =A0 =A0<snip>
=A0 =A0 = =A0 }
=A0 =A0<snip>
=A0 =A0SubscriberData[] = =3D <empty>
=A0}

Note that the Subscriber Data is a sequence of SubscriberDataType. =A0= I have not been able to find any documentation showing me how to do this. = =A0Does anyone out there know how I can generate the request?
Thanks for your time,

Greg Lindstrom

--089e0122976c27f48b04e697f887--