Utilisation de webservice importé dans Windev
Bonjour,
J'ai importé un webservice (https://preprod.solmis.agoraplus.com...rator.svc?wsdl) dans windev qui est composé de plusieurs objets.
Un de mes objets (AppointmentStatenature) a hérité d'un autre objet (StateNature) qui lui est appelé dans une méthode UpdatemandateStates . Comment faire avec windev pour affecter un membre complexe à une méthode.
Voila ce que ça donne en xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<UpdateMandatesStates xmlns="http://tempuri.org/">
<mandateStates xmlns:a="http://schemas.datacontract.org/2004/07/Agora.Mandate.Contracts.Dto" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:MandateState>
<a:ManufacturerId>3</a:ManufacturerId>
<a:MissionOrderNumber>GASZMDT52</a:MissionOrderNumber>
<a:StateNatures>
<a:StateNature i:type="a:AppointmentStateNature">
<a:Code>102/1</a:Code>
<a:Comment>2015-11-13 09:25:56||AVM-RTETEST</a:Comment>
<a:AppointmentDate>2015-11-13T22:25:56.0542294+02:00</a:AppointmentDate>
<a:AppointmentEndDate>2015-11-13T22:25:56.0552294+02:00</a:AppointmentEndDate>
<a:AppointmentNumber>1</a:AppointmentNumber>
</a:StateNature>
</a:StateNatures>
</a:MandateState>
</mandateStates>
</UpdateMandatesStates> |