Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays in XML
Message
From
14/07/2007 11:40:12
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Miscellaneous
Thread ID:
01240449
Message ID:
01240459
Views:
22
Hi,

Doesn't look as if your elements match the order or number specified in the WSDL.....


>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform