GithubHelp home page GithubHelp logo

tinysoap's People

Contributors

mhzed avatar speedyankur avatar spind42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinysoap's Issues

tinysoap-browser-min.js problem running with requirejs.org

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

Support for function with no arg

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>

Error: This dependency was not found

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

tinysoap-browser-min.js fails when loading with RequireJS.org

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

Does not parse wsdl with wsdl:import: consider updating the underlying node-soap to the latest version

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.