{"action":"opened","issue":{"url":"https://api.github.com/repos/zardak/meteor-soap/issues/4","labels_url":"https://api.github.com/repos/zardak/meteor-soap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zardak/meteor-soap/issues/4/comments","events_url":"https://api.github.com/repos/zardak/meteor-soap/issues/4/events","html_url":"https://github.com/zardak/meteor-soap/issues/4","id":90062028,"number":4,"title":"Not working for me","user":{"login":"tandrew","id":8017453,"avatar_url":"https://avatars.githubusercontent.com/u/8017453?v=3","gravatar_id":"","url":"https://api.github.com/users/tandrew","html_url":"https://github.com/tandrew","followers_url":"https://api.github.com/users/tandrew/followers","following_url":"https://api.github.com/users/tandrew/following{/other_user}","gists_url":"https://api.github.com/users/tandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/tandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tandrew/subscriptions","organizations_url":"https://api.github.com/users/tandrew/orgs","repos_url":"https://api.github.com/users/tandrew/repos","events_url":"https://api.github.com/users/tandrew/events{/privacy}","received_events_url":"https://api.github.com/users/tandrew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-22T10:20:30Z","updated_at":"2015-06-22T10:20:30Z","closed_at":null,"body":"Hi, \r\nI am new to node and meteor, but somehow I would have thought that this examples works:\r\n\r\n```javascript\r\nif (Meteor.isServer) {\r\n  Meteor.startup(function () {\r\n    // code to run on server at startup\r\n  });\r\n\r\n    var url = \"http://www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl\";\r\n    var args = {\"tns:request\":\"GOOG\"};\r\n\r\n    var soapClient = Soap.createClient(url);\r\n    console.log(soapClient.describe().StockQuoteService.BasicHttpBinding_IStockQuoteService.GetStockQuote);\r\n\r\n    var result = soapClient.StockQuoteService.BasicHttpBinding_IStockQuoteService.GetStockQuote(args);\r\n\r\n    console.log(result);\r\n\r\n\r\n}\r\n```\r\n\r\nI get the following error:\r\n```\r\n\r\nI20150622-12:15:52.502(2)? { input: { request: 'xs:string' },\r\nI20150622-12:15:52.502(2)?   output: { GetStockQuoteResult: 'q1:StockQuote' } }\r\nW20150622-12:15:52.502(2)? (STDERR) \r\nW20150622-12:15:52.502(2)? (STDERR) /Users/andrew/.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245\r\nW20150622-12:15:52.503(2)? (STDERR) \t\t\t\t\t\tthrow(ex);\r\nW20150622-12:15:52.503(2)? (STDERR) \t\t\t\t\t\t      ^\r\nW20150622-12:15:52.508(2)? (STDERR) Error: Soap method call failed [soap-method]\r\nW20150622-12:15:52.508(2)? (STDERR)     at Object.GetStockQuote (packages/zardak:soap/client.coffee:8:17)\r\nW20150622-12:15:52.508(2)? (STDERR)     at app/soap-test.js:30:83\r\nW20150622-12:15:52.508(2)? (STDERR)     at app/soap-test.js:38:3\r\nW20150622-12:15:52.508(2)? (STDERR)     at /Users/andrew/WebstormProjects/soap-test/.meteor/local/build/programs/server/boot.js:222:10\r\nW20150622-12:15:52.508(2)? (STDERR)     at Array.forEach (native)\r\nW20150622-12:15:52.508(2)? (STDERR)     at Function._.each._.forEach (/Users/andrew/.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)\r\nW20150622-12:15:52.509(2)? (STDERR)     at /Users/andrew/WebstormProjects/soap-test/.meteor/local/build/programs/server/boot.js:117:5\r\n````\r\n\r\nIt works fine in a pure nodejs application:\r\n\r\n```javascript\r\n\r\nvar soap = require('soap');\r\n\r\nvar url = \"http://www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl\";\r\n\r\nvar args = {\"tns:request\":\"GOOG\"};\r\n\r\nsoap.createClient(url, function(err, client){\r\n\r\n  console.log(client.describe().StockQuoteService.BasicHttpBinding_IStockQuoteService.GetStockQuote);\r\n  console.log(client.describe().StockQuoteService);\r\n\r\n  client.StockQuoteService.BasicHttpBinding_IStockQuoteService.GetStockQuote(args, function(err, result){\r\n    if (err) throw err;\r\n    console.log(result);\r\n  });\r\n});\r\n\r\n````\r\nWhere am I wrong?\r\nThanks for any help.\r\n\r\nAndrew\r\n"}}