Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOAP Client #254

Open
lobosan opened this issue Sep 14, 2017 · 1 comment
Open

SOAP Client #254

lobosan opened this issue Sep 14, 2017 · 1 comment

Comments

@lobosan
Copy link

lobosan commented Sep 14, 2017

Hi guys, thanks for creating this package. It makes things much easier and elegant.

I'm creating a soap client and at the moment I'm passing a raw xml to the data option as follows.

data: `
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://servicio.interoperadorws.interoperacion.dinardap.gob.ec/">
      <soapenv:Header/>
      <soapenv:Body>
          <ser:getFichaGeneral>
            <!--Optional:-->
            <codigoPaquete>622</codigoPaquete>
            <!--Optional:-->
            <numeroIdentificacion>1718896580</numeroIdentificacion>
          </ser:getFichaGeneral>
      </soapenv:Body>
    </soapenv:Envelope>
  `

So I'm wondering if there is a way to send the soap action/method and the arguments as an object similar to the one below?, I'm just trying to avoid the raw xml syntax

data: {
  soap {
    action: 'getFichaGeneral',
    args: {
      codigoPaquete: 622,
      numeroIdentificacion: '1718896580'
    }
  }
}
@amitguptagwl
Copy link

This project seems inactive from last 2 years. But you can have a look on https://www.npmjs.com/package/restler-base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants