From: Clemens E. <lin...@we...> - 2004-10-18 06:00:01
|
Hi there! First of all I want to speak out a very big thank you to all dynapi-developers. It is amazing what you guys made possible with cross-browser javascript. The Soda-Servlet makes the whole situation even better. I tried to create an simply SODA-RPC example, however I dont see any requests at server-side. Mozilla simply tells me that the request timed out (but I know that the URL is valid, it even works when hand-typing). Any ideas whats wrong? PS: Running with Opera or Konqueror I get the following error: "IOElement Error: no load element". Is this a bug in my code or in dynapi. I am using dynapi_cvs. PS2: I have some problems running the tree-demo using Opera-7.5. I complains that it cant fine TreeNode (or NodeInfo or something like that). Should I post the problems (maybe a bug in library-loading code or opera, since code seems to be fine). Heres the code: <script language="Javascript"> function initWS(con, s, errorText) { if(s != true) { alert("Error occured: "+errorText); } } var io = new IOElement(1); io.createWebService('SodaTest', "http://localhost:3355/soda", initWS, false); io.SodaTest.call('test', {}, null); </script> Thanks in advance and good luck with dynapi, lg Clemens __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 |
From: Leif W <war...@us...> - 2004-10-18 06:37:31
|
Hello, What server-side script are you using? The library has both client-side and server-side components. Does http://localhost:3355/soda refer to a renamed version of the ASP-JScript, ASP-VBScript, PHP or Perl version, or something custom? The files are found in the examples folder, ioelmsrv.langext and ioelmsrv.soda.langext where langext is the language extension. The ASP is likely functional, the PHP likely buggy, the Perl version is not complete. If at all possible, you need access to the web server's log file. I also highly recommend the "Live HTTP Headers" plugin for Mozilla to view the programmatic (non-visible) requests and responses. I have no time to develop or fix the PHP or Perl versions which I started, but I really want to see them working. Tomorrow I will take a look. Must sleep soon. Leif ----- Original Message ----- From: "Clemens Eisserer" <lin...@we...> To: <dyn...@li...> Sent: Monday, October 18, 2004 01:59 Subject: [Dynapi-Help] Need some help with IOElement, please. > Hi there! > > First of all I want to speak out a very big thank you to all dynapi-developers. It is amazing what you guys made possible with cross-browser javascript. > The Soda-Servlet makes the whole situation even better. > > I tried to create an simply SODA-RPC example, however I dont see any requests at server-side. > Mozilla simply tells me that the request timed out (but I know that the URL is valid, it even works when hand-typing). > Any ideas whats wrong? > > PS: Running with Opera or Konqueror I get the following error: "IOElement Error: no load element". Is this a bug in my code or in dynapi. I am using dynapi_cvs. > PS2: I have some problems running the tree-demo using Opera-7.5. I complains that it cant fine TreeNode (or NodeInfo or something like that). Should I post the problems (maybe a bug in library-loading code or opera, since code seems to be fine). > > Heres the code: > > <script language="Javascript"> > function initWS(con, s, errorText) > { > if(s != true) > { > alert("Error occured: "+errorText); > } > } > > var io = new IOElement(1); > io.createWebService('SodaTest', "http://localhost:3355/soda", initWS, false); > io.SodaTest.call('test', {}, null); > </script> > > Thanks in advance and good luck with dynapi, lg Clemens > __________________________________________________________ > Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. > weltweit telefonieren! http://freephone.web.de/?mc=021201 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > |
From: Andrew G. <an...@zo...> - 2004-10-18 06:58:01
|
I'm guessing that http://localhost:3355/soda is mapped to a servlet. If so, and if the servlet container is Tomcat, make sure the "access_log" is enabled (see conf/server.xml) and you should see something there. The other thing is to look at is the Mozilla javascript console for any javascript errors. Andrew Leif W wrote: >Hello, > >What server-side script are you using? The library has both client-side >and server-side components. Does http://localhost:3355/soda refer to a >renamed version of the ASP-JScript, ASP-VBScript, PHP or Perl version, >or something custom? The files are found in the examples folder, >ioelmsrv.langext and ioelmsrv.soda.langext where langext is the language >extension. The ASP is likely functional, the PHP likely buggy, the Perl >version is not complete. If at all possible, you need access to the web >server's log file. I also highly recommend the "Live HTTP Headers" >plugin for Mozilla to view the programmatic (non-visible) requests and >responses. > Live HTTP Headers? I'll have to look at that. :) > >I have no time to develop or fix the PHP or Perl versions which I >started, but I really want to see them working. Tomorrow I will take a >look. Must sleep soon. > >Leif > >----- Original Message ----- >From: "Clemens Eisserer" <lin...@we...> >To: <dyn...@li...> >Sent: Monday, October 18, 2004 01:59 >Subject: [Dynapi-Help] Need some help with IOElement, please. > > > >>Hi there! >> >>First of all I want to speak out a very big thank you to all >> >dynapi-developers. It is amazing what you guys made possible with >cross-browser javascript. > >>The Soda-Servlet makes the whole situation even better. >> >>I tried to create an simply SODA-RPC example, however I dont see any >> >requests at server-side. > >>Mozilla simply tells me that the request timed out (but I know that >> >the URL is valid, it even works when hand-typing). > >>Any ideas whats wrong? >> >>PS: Running with Opera or Konqueror I get the following error: >> >"IOElement Error: no load element". Is this a bug in my code or in >dynapi. I am using dynapi_cvs. > >>PS2: I have some problems running the tree-demo using Opera-7.5. I >> >complains that it cant fine TreeNode (or NodeInfo or something like >that). Should I post the problems (maybe a bug in library-loading code >or opera, since code seems to be fine). > >>Heres the code: >> >><script language="Javascript"> >> function initWS(con, s, errorText) >> { >> if(s != true) >> { >> alert("Error occured: "+errorText); >> } >> } >> >> var io = new IOElement(1); >> io.createWebService('SodaTest', "http://localhost:3355/soda", >> >initWS, false); > >> io.SodaTest.call('test', {}, null); >></script> >> >>Thanks in advance and good luck with dynapi, lg Clemens >>__________________________________________________________ >>Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. >>weltweit telefonieren! http://freephone.web.de/?mc=021201 >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on >> >ITManagersJournal > >>Use IT products in your business? Tell us what you think of them. Give >> >us > >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >> >more > >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Dynapi-Help mailing list >>Dyn...@li... >>https://lists.sourceforge.net/lists/listinfo/dynapi-help >> >> >> > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Dynapi-Help mailing list >Dyn...@li... >https://lists.sourceforge.net/lists/listinfo/dynapi-help > > |