strongloop-community / loopback-example-connector

HTTP connector examples for LoopBack.
Other
30 stars 25 forks source link

[BUG] invalid message definition for rpc style binding #10

Closed mercuriete closed 8 years ago

mercuriete commented 8 years ago

When a soap method has no parameters, the soap nodejs client fails and return an error:

invalid message definition for rpc style binding

I think i hit that problem:

http://stackoverflow.com/questions/22021944/node-js-soap-invalid-message-definition-for-rpc-style-binding

I did a project to reproduce the problem: GetMasterList is a method that takes no arguments and return only one.

https://github.com/mercuriete/loopback-example-connector/tree/soap

steps to reproduce: 1) git clone -b soap https://github.com/mercuriete/loopback-example-connector.git 2) npm install 3) node weather-rest.js 3) go to loopback-explorer 4) try to send something to GetMasterList 5) You get the error.

Im using latest libraries as you can see in package.json

I need support in order to workaround this problem if is possible.

Thanks.

PS: Your work is awesome.

sorry i will post this bug to the correct repository... sorry. close it