tiaguinho / gosoap

🦉SOAP package for Go
MIT License
508 stars 176 forks source link

How to use array of params? #7

Closed AlexDias79 closed 6 years ago

AlexDias79 commented 6 years ago

Hello,

I'm looking for a way to send params with an array of strings but can't figure out how.

the struct I'm looking for would be the equivalent to

    <SaveDoc xmlns="http://localhost/">
      <privKey>string</privKey>
      <Codigo>string</Codigo>
      <CodigoPrivado>string</CodigoPrivado>
      <Nif>string</Nif>
      <Artigos>
        <Linhas>
          <Artigo>string</Artigo>
          <Quantidade>double</Quantidade>
          <Unidade>string</Unidade>
        </Linhas>
        <Linhas>
          <Artigo>string</Artigo>
          <Quantidade>double</Quantidade>
          <Unidade>string</Unidade>
        </Linhas>
      </Artigos>
    </SaveDoc>
  </soap:Body>

Any ideia?

Fale commented 6 years ago

This gets fixed by #8