mhzed / tinysoap Goto Github PK
View Code? Open in Web Editor NEWsoap client in pure javascript, runs in browser
soap client in pure javascript, runs in browser
Hi there!,
First of all, thank you for the amazing work you have done! ๐ช .
I'm just opening this issue because I have been playing around with this library and I have noticed there is a problem at the begging of the script. When it checks if typeof require === undefined
while the requirejs library is loaded it fails because it tries to load NodeJS core modules.
Would it make sense to replace that condition for something like this: if (typeof window === 'undefined')
? If you think it does I'll be have to send a PR.
You can see more at this thread
Best regards,
Raul
How to CORS?
Hi all,
I'm trying out your library but I can't perform a call to my getVersion(). It fails because there is no input.parts and the style of that function is rpc
tinysoap.createClient(wsdl, function(err, client) {
client.getVersion(
{},
function(err, result) {
var v = result['version'];
console.log(v)
});
});
Error: invalid message definition for rpc style binding
client.describe().....getVersion
{
"input": null,
"output": {
"version": "xsd:string"
}
}
<message name="getVersionRequest">
</message>
<message name="getVersionResponse">
<part name="version" type="xsd:string"/>
</message>
<operation name="getVersion">
<input message="tns:getVersionRequest"/>
<output message="tns:getVersionResponse"/>
</operation>
<operation name="getVersion">
<soap:operation soapAction="getVersion"/>
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="anamespace" use="encoded"/>
</input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="anamespace" use="encoded"/>
</output>
</operation>
Hi I have the next error:
This dependency was not found:
* fs in ./~/node-xml/lib/node-xml.js
To install it, you can run: npm install --save fs
I install fs and the error is persistent
Hi there!,
First of all, thank you for the amazing work you have done! ๐ช .
I'm just opening this issue because I have been playing around with this library and I have noticed there is a problem at the begging of the script. When it checks if typeof require === undefined
while the requirejs library is loaded it fails because it tries to load NodeJS core modules.
Would it make sense to replace that condition for something like this: if (typeof window === 'undefined')
? If you think it does I'll be have to send a PR.
You can see more at this thread
Best regards,
Raul
Hi!
I've noticed that it's a great library, but it does not parse my more-or-less complex WSDL.
Tinysoap is based on a very old version of node-soap (0.2.6).
Any chance you are still using that library and have a newer version? I compared your code with original [email protected] and you made quite a few changes, so I doubt I will be able to help you and do the same thing with the latest version.
Is it possible that you explain your approach in a more detailed way? Then I might be able to help in send you a pull-request.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.