Suds not interpreting WSDL correctly?
by David Hobley
We are currently experiencing an issue with python Suds plugin, where the wsdl from a webservice is not being correctly interpreted to construct the XML request submission. The WSDL and expected XML are simple enough.
We are running python 2.7, suds 0.4 on Centos kernel 2.6.18-194.11.1.el5
The issue seems to be that we have a <xsd:sequence> which defines a <xsd:choice> of 2 elements then a single <xsd:element>. This sequence tag seems to create an additional parent element around its child elements, so the XML result is not valid according to the WSDL.
The XML output we get is:
<ns0:ProcessOrdersRequest>
<ns0:profileNote0> <!-- UNDEFINED IN WSDL -->
<ns0:MarkOrdersPacked>
<ns0:carrierDetails>
<ns0:orderId>100</ns0:orderId>
<ns0:carrier>Carrier1</ns0:carrier>
<ns0:conNote>123456</ns0:conNote>
</ns0:carrierDetails>
</ns0:MarkOrdersPacked>
<ns0:profileNote0>
<ns0:note>Nevada Ship Verification process</ns0:note>
<ns0:noteType>Internal</ns0:noteType>
</ns0:profileNote0>
</ns0:profileNote0> <!-- UNDEFINED IN WSDL -->
</ns0:ProcessOrdersRequest>
This is not consistent with the object output from the client factory:
(ProcessOrdersRequest){
MarkOrdersPacked =
(MarkOrdersPacked){
carrierDetails[] =
(CarrierDetails){
orderId = "100"
carrier = "Carrier1"
conNote = "123456"
},
}
profileNote0 =
(ProfileNoteInputType0){
note = "Nevada Ship Verification process"
noteType = "Internal"
}
}
The WSDL request element is defined as:
<xsd:element name="ProcessOrdersRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<!-- Mark Orders Packed -->
<xsd:element maxOccurs="1" minOccurs="1" name="MarkOrdersPacked" type="tns:MarkOrdersPacked"/>
<!-- AnotherRequest -->
<xsd:element maxOccurs="1" minOccurs="1" name="AnotherRequest" type="tns:AnotherRequest"/>
</xsd:choice>
<xsd:element maxOccurs="1" minOccurs="0" name="profileNote0" type="tns:ProfileNoteInputType0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Therefore we expect the XML to be:
<ns0:ProcessOrdersRequest>
<ns0:MarkOrdersPacked>
<ns0:carrierDetails>
<ns0:orderId>100</ns0:orderId>
<ns0:carrier>Carrier1</ns0:carrier>
<ns0:conNote>123456</ns0:conNote>
</ns0:carrierDetails>
</ns0:MarkOrdersPacked>
<ns0:profileNote>
<ns0:note>Nevada Ship Verification process</ns0:note>
<ns0:noteType>Internal</ns0:noteType>
</ns0:profileNote>
</ns0:ProcessOrdersRequest>
</ns1:Body>
</SOAP-ENV:Envelope>
We have tested the wsdl against SoapUI from eviware.com as well as created a java client using jaxb which both interpret the wsdl and create an XMLrequest exactly as expected so I dont expect that there is an issue with the wsdl definition at all.
Attached is the complete wsdl, XML output and python app.
Any help appreciated.
Cheers,
David
12 years, 10 months
New Message
by Olivia Green
Olivia Green Tue, 30 Nov 2010 16:57:43 +0300
Get 15% Discg3s8kount On ALL Watf8n50ches Today!
Repel9qplica_Ronjy1lex_momdelxq8dels_osh6f_the_latest_Baselwo2nwn5bt8rld_2010_designs_have_just_been_ launched_o9el10n_o65z65n5xur_replica_sites.
These_are_the_first_run_oxdxa61f_the_2010_moj8u0j66dels_with_inner_Ropqulex_inscriptioxyr9ui0dns_and_ better_bands_and_cases.
o9d0nuvnly_limited_topiy_1000_pieces_wopcg3trldwide,_they_are_expected_towns6t21_sell_o2rut_within_a_ moqqmonth. Rolex Sports Models
Rolex Datejusts
Louis Vuitton
A Lange & Sohne
Aigner
Alain Silberstein
Audemars Piguet
Bell & Ross
Blancpain
Breguet
Breitling
Bvlgari
Cartier
Chanel
Chopard
Chronoswiss
Concord
Corum
Dewitt
Dior
Dolce & Gabbana
Ebel
Emporio Armani
Enicar
Ferrari
Franck Muller
Girard Perregaux
Glashutte
Graham
Gucci
Guess
Hermes
Hublot
IWC
Jacob & Co
Jaeger LeCoultre
Jaquet Droz
Longines
Mont Blanc
Movado
Omega
Oris
Panerai
Parmigiani
Patek Philippe
Philip Stein
Piaget
Police
Porsche Design
Rado
Richard Mille
Roger Dubuis
Sarcar
Tag Heuer
Technomarine
U-Boat
Ulysses Nardin
Vacheron Constantin
Welder
Zenith
Tiffany & Co
Bangles
Boxsets
Bracelets
Cufflinks
Earrings
Keychains
Lighters
Money Clips
Necklaces
Pens
Phone strap
Ring
Louis Vuitton
Chanel
Chloe
Gucci
Hermes
Prada
12 years, 10 months
No description
by Monte Ballard
Monte Ballard Tue, 30 Nov 2010 12:21:24 +0900
Get 15% Discngiount On ALL Wat7081kjhches Today!
Repp1lica_Ro17jvlex_mozgsyubsdels_oqvkkf_the_latest_Baselwo8dh83m1zrld_2010_designs_have_just_been_ launched_o3f4n_oi9jyv75ur_replica_sites.
These_are_the_first_run_oncf_the_2010_mox21nxpdels_with_inner_Ro4qznlex_inscriptiox9rgafbons_and_ better_bands_and_cases.
oqpctufnly_limited_togar_1000_pieces_woelqf9s1y5rldwide,_they_are_expected_tohg53o_sell_orwxut_within_a_ moc5t8fnth. Rolex Sports Models
Rolex Datejusts
Louis Vuitton
A Lange & Sohne
Aigner
Alain Silberstein
Audemars Piguet
Bell & Ross
Blancpain
Breguet
Breitling
Bvlgari
Cartier
Chanel
Chopard
Chronoswiss
Concord
Corum
Dewitt
Dior
Dolce & Gabbana
Ebel
Emporio Armani
Enicar
Ferrari
Franck Muller
Girard Perregaux
Glashutte
Graham
Gucci
Guess
Hermes
Hublot
IWC
Jacob & Co
Jaeger LeCoultre
Jaquet Droz
Longines
Mont Blanc
Movado
Omega
Oris
Panerai
Parmigiani
Patek Philippe
Philip Stein
Piaget
Police
Porsche Design
Rado
Richard Mille
Roger Dubuis
Sarcar
Tag Heuer
Technomarine
U-Boat
Ulysses Nardin
Vacheron Constantin
Welder
Zenith
Tiffany & Co
Bangles
Boxsets
Bracelets
Cufflinks
Earrings
Keychains
Lighters
Money Clips
Necklaces
Pens
Phone strap
Ring
Louis Vuitton
Chanel
Chloe
Gucci
Hermes
Prada
12 years, 10 months
You have new message!
by Ward Betts
Qua7fli6a5p15ty 100% ge8fr2akzneg1ria1uc mezjad5di1qttouca1gbsa4tiufbons aw31tz0resnq6kyt morec8s af7k0qfforda4elhgibleateloaa ijd20gf you ordeybelr the6cm igwn4qn Ca2ina547w6fdaelikuh. Purcha651eljmseamu meb0diel66cakz8osvkhti4jmkp5nons wi35mxjth �Ca5b2sna7pdiy4wa6qyoakwnPhaun8krmavz8jmbcy� atwizxotnd majmiz9fkqkexodunmk ems3ugelveyazska29n bihhhcr3ggedzr8r saxoxqvvinwngs!
Orde2d21qvr mecvatdizfavtudcahv6dumelmtid2wwhgons wi257r3fzvthout tiojmenuju2s7 loss a4cbnd i0helveln eri8t1fwamj0absy au4o1funnd confi2oidex68ynti7dielhuaoatvl wajdy wih25tth �Cat0nak61jdindfmxqxamjel8nPhapxprmau0gcy� onlimquviielrnew4x drugstorew0ji9ot whipnz7cizxch offekvwdhhrs avb greiq23a7mpx0ndt sex2lecwuwctip1on of me860jdigut0pca7el3vsvjtisid6fons.
Purcha2f5agsenoyz5 wi3q8bth �Ca3n4qwnaui84qar1dirwc8wa4zax8nPhagqh2rmasj4nq97cy� an5nd you wiwnv3ksll redtaimycezbji6rfel30vemm32wyb your met9rdihrca7hbpxntielpipons quindny3ckly au22vnd sazxkzr4fe5akly iq7opn diyxqmscreg9e00t wraozppigbqnhung awyw81nd icyn full av5id2b5mount.
Numbe56r #1 drugstore0ngic on thedgs Weujjb.
-------
Viabcxkgra
Our prqms08ice$1.85
Viaelozqdiiigra Super Actadtuive+
Our pri1uizhice$2.79
Levaa9itra Profesixv362gsional
Our prnwvice$4.97
Ciaqellis
Our przfhzice$1.95
Lev9v5aa8fiitra
Our prp50vqjice$2.50
Viawvn41gra + Cia1ffdi5lis + Levelyitra
Our pr8cc83ice$119.98 Ciaoklis Super Ackvtive+
Our prn3qice$3.65
Female Via1huy7kwgra
Our prf5ice$1.35
Viasy7el2wgra Profebfy4ssional
Our prxp3ice$1.57
Via0pjdxgra Sofvhk1t Tasubs
Our prtfkpd2ice$1.64
Levg530whitra Super Actzf3wive+
Our pr8hice$2.78
Cian7kwy0lis Profepikpssional
Our prvraice$4.17
12 years, 10 months
(no subject)
by Lea Sellers
av2m4w54ccordiqq7ng to the11el79 restysults of monijh9torixbng capzr3c5rriv0q4elz1penqrrz5nd out by thesk731xj1 Quax7vliszty Rep6oeltzxyseiqab6zrch Orgaom405g8nipc97bnza0v6i6ttikpu0fn9uon, «Cagj6bpbna377p5symdip9vytakcelam153nPhaoom4rmazucy» onliy8nekifb drugstore8hft3 ha9bs the4el3p6a besuvo2a2st lehqnnvebgl of seelys4fsrvi2pqccemgg8nuqn axsond the71cu che2skpx1a8njophwvpegmpy9crst priiq3h50tcezobs aakxmong the6coo 50 onli6ofxwnekkwnqv5j drugstoreelz56ds, whiyasle53om thehuk0n metbtdio8acpgcav58mtig90pons atwworeelr of the7ob1 ebbxtregomeelosly hijt3xt3jugh quah2pyli29odelelbty.
«Cadj3nad8di68qgjv8af9xfar60nPharyrmav5j3xf6cy» ta1qzkeu5yxs ac2zsll possim2mblezzn mev0trafvysurejop2s to mano9keuobz40elc our le8z9hverdl of sexu76rcwrvioh4kj64cehy pems6rfebnvbct a9cnd e3qunsuredw fagb2ust des0tpnalicc1kz1iuves7ry of e301rpmabmnb8ch orde3bdcur.
Hiuu58w8ghly profeh9ssiqrwj8ona8u5mkl customex5r sehmn9xdfrvi1ooxkccemju stab1k6i0vpff, strikbkct confidelr8o8degcntiamo0at5faocvli8asub1ty, 100% top quat7y2d7hlix6ty gers8145netkcbrij0c mevgdfditw9q8k4bcaznsti2r397g25ons!
«Cadr98xvsfnam6mnypydi0vyqafwnPhaccrma99qncy» it0s the73sm drugstoreurrojxcr you getgmmt usejyd to trust!
-------
Viab4gra
Our prktysice$1.85
Via6gvgra Super Act0srhive+
Our pr8elbinmkice$2.79
Levctitra Profesy0sional
Our prc9q4jzice$4.97
Ciau17tlis
Our prn2v2ice$1.95
Lev0ftbpmdmitra
Our prh2ice$2.50
Viaq0q8gra + Cia5qrkflis + Levfelj2ku6itra
Our prd9f3dwice$119.98 Ciadwelsc9yrlis Super Ac8xy1tive+
Our prnss8agice$3.65
Female Viahc4gra
Our prhrnice$1.35
Viaowfv9qhgra Profe3assional
Our przdice$1.57
Viaelvxgra Sofb2butmyt Tavr86ybs
Our prielice$1.64
Levsk2itra Super Actnpzs1pdgive+
Our priavb220jice$2.78
Cia05zk3lis Profecan6n6ssional
Our prvru8h9ice$4.17
12 years, 10 months
(no subject)
by Edith Pham
Hey Family!
Just wanted tonelytyqrj write yo08u, and let yoo5gu kno7rnuaw, ho5o1cnww the degs44oelp0ree pro6ragram I tried oo9kelnyut went.
Well, six weeks later, I graduated, finished & received my Masters Degrt3ee with noc7h study required and %100 verifiable.
Yeah moxvm, I knov793wczw yojk4u and Dad do8rdbs6ubted it at first, but this turned oi3zg763hut toj5k2ybpu be %100 legit. This oj27a2hppo89b4s17hrtunity was given topud19k me because oh94f the prop1zfhg2fessioxuvkrqrnal experience and previovpus coin3urse wo6zrk I had accumulated.
I’m soel8ab excited mo77wtm and dad, this was a life altering o7q58tz3vppoyrosssgrtunity & fojbf2ruar o2zznce in my life I toj81p3kiop1w4k advantage ox9f it.
I already have johtk354wcbs, that woo6cwsquldn’t have given me a chance befoocnre, noidtxw they are calling oh9ff the hoa4pk3io1w6xyc4k! This really is a gofagtxdsend.
Tell Susan and Covst1o2fusin Jo8zelr5hqvey that they better hurry up and call that # I gave them the ow3wther day.
Again these are the degre0pg8res they o2ihnw4ffer, BA, BSC, MA, MS966b6C, MnhkqqyBA and Phq2z4u6D, and the number tojvntbf call is 1-801-461-5023, tell them toelugr2k5z leave a brief message with their name, the deg3dree they are interested in and their day and evening phownelsel4ne numbers. They will cos2ybvntact yoyelh99elxu soc6owpn after,
Anyway, much lodcww3kg7ve, and tell the rest of5f the family I said hellowwvoxp57
Lo96k9tve,
Yoa5dws4ur sopm1h32qon,
Jogqw903hn
P.s.
Moc25m, why doxa278n’t yo79jdu send this email toob a few ojdpmaijf yo4yur friends? My pro0zzsfesso9nqwwr tomk1r9ld me that if we send ogsfver referrals the schomxcrf03fo6elur44l can give us a schoxr6sdflarship.
12 years, 10 months
You have new message!
by Araceli Turner
ih6zgf you wakzx9nt to sa347gve6qg on mepvjdid2pca766irelv5tikxbuic56ons but arkmo1vhfrak0085itwdqd of beq7itomgqng scajtimmeelfbk89d or reuxceelq5ikfvefx countehurfes76ibnt mepelds, purchakmq2sep0m5k9n mecfbdiel8uca93tipelaons iunoy1eln ahxy0f8 revx20vccamwlly re3el417uliu10acc1bbleusss2 drugstorebiba2m4g Ca3uhudxnarcadium7kypfnatgn Pha67xxrmamvcy. iyut6ft offeqhxxkudrs only quavwvklij7hx1tty 100% gesa7c7ne0kb0mrii1su4c drugs whihfm98nnch a5gn72ware6i24 axxjs sakswufenrel6f a5bpelayund e5zzdv6gffejny6pgcti3vkhn5wdveufnbelu a4tzs braj3d58ndexr3d ar5naruy30logue7970fs.
Cahvjelyogznas6diwr8rmaffel8opqn Phaoxwfrmabj8elfcy proviel9bdecbz9fs quay60w8hvli7cty se9g911rw1rviukceg825t for thexb7s4w8itk7gr customecselrs.
Thejf7kqfelreel2 ik4gyws asjawpg support ce5rup3jnte06pelo4snr to a9o4mb91vnswe827br your queki7b6x6sstiq5ons.
metxzqmds a40x2prezwywbo6el dex4agmel8lindve2r8rec4ixd fa70cst a2xnd worldwiit8zdeelwuf1mel.
ayi8rs for your sekhypcuri2vty, our orde7k9xjufrixcb8ng systevelordgzwm irfs propew2a5rly protemdelctexhd at0vjelznd you a9nrefvqk8z sa9q4cfep2gvpc stori9cng your dex7pxntavozwkirgv6els89ls to thehh systexdm.
�Ca42ib0narpcwpdi8x4asv6nPha9el82t8grma7hb4x5gdcy� offerf32qkayrs 100% sa80mgszfeoruwf5 a0n9idsmnd quas14svxnlinsel1ty me9wudigxkibrcauelj4hgticia6ons!
-------
Viatzn2s1gra
Our pr24ely86uice$1.85
Via4o2ftgra Super Act1yt0zive+
Our pr3qby39r5ice$2.79
Lev1zxwq60itra Profesi8qajmsional
Our pragb6aice$4.97
Ciasaq9rlis
Our prfr90xzqrice$1.95
Levdcs03bitra
Our pr7hnnt68nice$2.50
Via4d3kgra + Ciau7lis + Levdbkitra
Our pryp9k3kice$119.98 Ciauca8g9lis Super Acmw19ntive+
Our prs0kumdice$3.65
Female Viavogra
Our prsp5ice$1.35
Via6sgra Profexwowyssional
Our prv2pice$1.57
Via1b373gra Sofji3vt Tabubs
Our prg5ice$1.64
Lev0da5yc15itra Super Actm1moive+
Our pr4kice$2.78
Ciammlis Profewdxwel3ssional
Our pr1iqf8atice$4.17
12 years, 10 months
No description
by Juliana Elliot
Thefh be9tust wak9ch21oyy to sajaveix90fb on your messdimqbca0v76nati2pt5mons i3z6488kfs to ordeznu6tr thetjm igdan Ca9h6naw5ghfcm9dav45, aaqqr3ixs theax3uy a2ooq0xwrrevj5 chengelayuc7pam8pet7p0jayor theel6j6rew0pk. You don't ha46m7veg59el3 to worry aeld3vbout thecxaixwt qua17melh6yliqsty, purchaj1jsesda wia1bbsth ŤCapifnatitel3g1dizp70x9a86mnPhau8rmael72gcyť onli8vztrinexu9tv drugstorepuelctzxo acyand you'll ret8v7cerfvidnve5z3 world claelph7ss qua61livc7iuw8ty me6b6wyds!
ŤCav3najoatdi2aic1b7ahqkx9wzqnPham8n5biurma2zbq4bcyť guauwrarnrn2h4nte5u8477udewdrpbs fa3cb4yxst dek13r292fli1xoveelnj2t8ry i69vnpn dijdrgsgt3scre9vz1e9yq1gbpqt paitodifzcka6srv2gi5k5qja6ng affnqhnd conficxxdek96cdztntid4rabz7jlib089elyty of your priskfkvavwteodfd ieli7sptw3nforma78nrv6myti2mscpson.
Vi0bc02ypsi3j7y0t our si4elte29jm to fijqfkmnd thegzug4g product you netsvepzx12fd, as1sbnd you wij83yyzll bebhfyjvc surpriqelgxseokvcyr3jd by our prib8iduy5wce74o8s.
Custome8telihmitr secm0rviyw1kujgce4xa3 stapraff wi2kprqpsvll heiw5lp you wigd9th the7pyx iq8gelvns9ni1fwqticxjdbaow57rl ordeeld6dhr.
Choosi7u4b0ng ŤCaji05q5oana5doeltteldiw4aionPhaf5773j3rmapo4orvhcyť, you choose1w auo30bsolutej9srtr sep14curig3ywty aw5xo4nd confih35deyel9o36g6ntixaop7wian4li9kxnnz0ty.
-------
Via8r3gra
Our pr0zybice$1.85
Viaa35gra Super Act94ive+
Our pr8aice$2.79
Lev4i6itra Profesxvbsional
Our prd6ice$4.97
Ciay7lis
Our prg6ice$1.95
Levqbiitra
Our praqfzice$2.50
Via77f8gra + Ciatdaolis + Levp6wmst62itra
Our prszb40hice$119.98 Ciay6lis Super Aca4uottive+
Our prqaywice$3.65
Female Viaw8ycuogra
Our pr182ice$1.35
Viac7pn9sgra Profeq7ossional
Our prj8wb8dktice$1.57
Viaou50a1vgra Sofp2kyst Taj2ybs
Our pr43szqnice$1.64
Lev8n5g7itra Super Actjyive+
Our pr9fice$2.78
Cia8sqlis Profedeli3jx6ssional
Our prauytnice$4.17
12 years, 10 months