Hello
I'm using the node-soap module created by milewise (and it seems great!).
However, I have a requirement to provide multiple services based on
different WSDLs. Is this possible with node-soap on the same sever:port? or
do I need to combine the services into a single WSDL or perhaps run
multiple services on separate node instances (I guess each on a separate
port) and front that with a proxy?
Any ideas or assistance would be much appreciated.
Thanks!
On Wednesday, September 28, 2011 4:29:55 PM UTC+5:30, venkat wrote:
>
> Hi to all,
>
> I am very new to node and javascript.
>
> I am trying to figure it out how to use node-soap as a client.
>
> the following example code I am using to get the result.
>
> I have installed node-soap and try to test it
>
> var soap = require('./index');
> var url = 'http://www.webservicex.net/stockquote.asmx?WSDL';
> var args = {symbol: 'DOX'};
> soap.createClient(url, function(err, client) {
> client.MyFunction(args, function(err, result) {
> console.log(result);
> });
>
> });
>
> I am getting following error
>
> TypeError: Object [object Object] has no method 'MyFunction'
>
> In my understanding, I need to create MyFunction method inside Client.js
> file no luch :(
>
> In the document also there is no working demo.
>
> Since, I am new to this platform , it would be great if anyone help me to
> figure it out .
>
>
>
>
> Regards,
> Venkat.
>
>
> --
> *Disclaimer*
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Hexolabs Media and Technology Pvt. Ltd. has
> taken every reasonable precaution to minimize this risk, but is not liable
> for any damage you may sustain as a result of any virus in this e-mail. You
> should carry out your own virus checks before opening the e-mail or
> attachment. Hexolabs Media and Technology Pvt. Ltd. reserves the right to
> monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Hexolabs Media and Technology Pvt. Ltd. e-mail system.
> *End of Disclaimer*
>
>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.