Open 4GL
WebServices
What is the Javascript Adapter Generator

While o4glws is designed to generate server entry points for webservices, o4glwsdl2js is designed to generate clients in Javascript using AJAX.

There are similar efforts to do this the most recent (to my knowledge) is WSDL2JS but the difference is that o4glwsdl2js is entirely written in Javascript, this gives it some pro and cons:

  • It can run on any browser, but cannot be scheduled
  • It can generate the code, but cannot generate the files
  • It can load any wsdl file from internet, but only if the browser's security allows it
  • If the server don't send the correct MIME type AJAX cann't load the WSDL as a valid XML file