Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays in XML
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Arrays in XML
Divers
Thread ID:
01240449
Message ID:
01240449
Vues:
120
Hello,

I,m trying to create a xml that matches with the wsdl in this url:
https://200.214.130.41:9443/farmaciahomologa/services/ServicoSolicitacaoWS?wsdl
But I think I didn't understand how to create the array. For what I have read so far (there are too many information in the internet, but its not very easy to get the right path for beginners...) an array is just the repetition of the same element. But there is a mistake, I think, in this xml. For a reason I dont't understand it doesn't match with the wsdl.
<SolicitacaoDTO>
 <arrMedicamentoDTO>
   <MedicamentoDTO>
     <coCodigoBarra>"7896523206646"</coCodigoBarra> 
     <vlPrecoVenda>30.00</vlPrecoVenda> 
     <qtSolicitada>60</qtSolicitada> 
     <qtPrescrita>8</qtPrescrita> 
     <qtAutorizada /> 
     <qtDevolvida /> 
     <qtEstornada /> 
     <vlPrecoSubsidiadoMS /> 
     <vlPrecoSubsidiadoPaciente /> 
     <inAutorizacaoMedicamento /> 
     <inAutorizacaoEstorno /> 
     <vlPrecoSubsidiadoMS /> 
     <vlPrecoSubsidiadoPacientePosEstorno /> 
     <vlrSubsidiadoMSPosEstorno /> 
     <vlrTotalVendaPosEstorno /> 
   </MedicamentoDTO>
 </arrMedicamentoDTO>
 <coSolicitacaoFarmacia>0001</coSolicitacaoFarmacia> 
 <dtEmissaoReceita>2007-07-13T15:00:34</dtEmissaoReceita> 
 <nuCnpj>011111111111</nuCnpj> 
 <nuCpf>00106383183</nuCpf> 
 <nuCrm>200015</nuCrm> 
 <sgUfCrm>MG</sgUfCrm> 
</SolicitacaoDTO>
Thank you in advance for any help
Adilson Pimenta
www.lundi.com.br
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform