Thank you for this link I check out if I can use it for my project.

 

I am currently also putting QooxDoo and gSOAP together. I found a interesting link here:

http://www.codeproject.com/soap/_javascript_Proxy_01.asp?df=100&forumid=196063&exp=0&select=1339931

 

It is basically using an XSLT translation to generate _javascript_ objects from the provided WSDL file.

 

I was able to get the whole translation process working for both IE and Gecko in memory through something like this:

Note: this is for Gecko only, the cross browser is just a bit more complex.

<script type="text/_javascript_" src="">
<script language="_javascript_"> <!-- 
    var xslStylesheet;
    var xsltProcessor = new XSLTProcessor();
    var myDOM;
 
    var xmlDoc;
 
    function Init(){
        // load the xslt file, wsdl.xslt
        var myXMLHTTPRequest = new XMLHttpRequest();
        myXMLHTTPRequest.open("GET", "wsdl.xslt", false);
        myXMLHTTPRequest.send(null);
 
        xslStylesheet = myXMLHTTPRequest.responseXML;
        xsltProcessor.importStylesheet(xslStylesheet);
 
        // load the soap generated wsdl - file
        myXMLHTTPRequest = new XMLHttpRequest();
        myXMLHTTPRequest.open("GET", "soap_out.wsdl", false);
        myXMLHTTPRequest.send(null);
 
        xmlDoc = myXMLHTTPRequest.responseXML;
 
        var fragment = xsltProcessor.transformToFragment(xmlDoc, document);
 
        myDOM = fragment;
        document.getElementById("interface").appendChild(fragment);
    }
    Init ();
// --> </script>

 

It has some draw backs and I will need to tweak it a bit but so far it is working nicely

 

 

Varol J

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Adams
Sent: Saturday, March 25, 2006 8:48 PM
To: [email protected]
Subject: Re: [qooxdoo-devel] which additional lib to use with qooxdoo

 

Check out rob rohan's neuromancer library. It is a set of _javascript_ libraries that allows one to unmarshal WSDLs into _javascript_ objects - like a remote interface to web services. As far as I know, it is the first (and only?) set of libraries to do so. It also has a useful set of general collection objects modeled after java.util and also has a neat little object called thin array which can be used to pass a query back and forth from a server in a simple format.  The format looks like the following:

|3|COL1|COL2|COL3|data1|data2|data3
\_/\____________/\_______________...
 header  |              |
        columns        data ...


I've been using it primarily for it's collection and remoteobject methods. Check it out here...

http://neuromancer.sourceforge.net/

On 3/22/06, Lumir Stol < [EMAIL PROTECTED]> wrote:


> love the way that they've hidden all the goo of doing ajax calls :-)
Me too.

Related posts in xajax forum:
http://community.xajaxproject.org/viewtopic.php?pid=4223#p4223
http://community.xajaxproject.org/viewtopic.php?pid=4383#p4383


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 

Reply via email to