使用base64string节点js soap空结果
我试图发送一个文件(大小为64Kb)的base64格式到我的.Net Web服务节点js使用soap,但结果是空的。 我不知道是否是因为base64string的大小,因为当我发送这个string为空时,它正常响应。
file = req.file; if(file){ file64 = base64_encode('public/assets/uploads/' + file.filename); } var args = {file: file64}; soapClient.uploadFile(args, function(err, result) { if(err){ console.log(err); }else{ var response = JSON.parse(result.uploadFileResult); if(!response.response){ console.log(response.message); }else{ //Handlers } } });
当我在控制台中输出结果时,显示:{}
- 有没有可能在linux上执行dotnet exe与node.jssubprocess?
- ASP.NET MVC,Node.JS. 他们可以互动吗?
- SignalR客户端应用程序在Mac上
- 节点JS和MS构build – 这是可能的吗?
- AES在.NET中encryption并使用Node.jsencryption解密?
- Powershell西里尔input编码通过节点js
- 操作系统升级后,无法在OSX El Capitan上启动NodeJS应用程序(Appium)
- Docker容器Windows + Node.js + .NET
- Javascriptdependency injection和节点中的DIP:require vs构造函数注入