Forum Post: RE: _oeping error with progress.jsdo.3.0.js

  • Thread starter Thread starter Anil Kumar
  • Start date Start date
Status
Not open for further replies.
A

Anil Kumar

Guest
Hi Stefan, The error about _oeping not being found is essentially a warning and is expected in certain situations and handled by the JSDO client. This is typically used for online/offline feature functionality which was introduced in OpenEdge 11.4 release. Currently the client invokes OE ping (which checks the availability of mobile service) on the server to see if 'ping' exists. If this is not there, the client handles this situation gracefully. However, as a side effect there will be an error in the console. This error can be safely ignored and should not have any impact on your application. Thanks and Regards, Anil Kumar. From: agent_008_nl [mailto:bounce-agent_008_nl@community.progress.com] Sent: Tuesday, December 09, 2014 7:00 PM To: TU.Mobile@community.progress.com Subject: [Technical Users - Mobile] _oeping error with progress.jsdo.3.0.js _oeping error with progress.jsdo.3.0.js Thread created by agent_008_nl Hi, OE11.3.0 I have this code (see below the error) which gives me a customerdata in a html table. With F12 in chrome I get this in the console GET http://localhost:8980/CustomerMobile/rest/_oeping?_ts=141813121-1381780000-1 404 (Not Found) progress.jsdo.3.0.js:6773 Is this a bug? !DOCTYPE html html head script src=" http://localhost:8980/jsdo/progress.jsdo.3.0.js" /script script session = new progress.data.Session(); var loginResult = session.login(" http://localhost:8980/CustomerMobile ", "", ""); session.addCatalog(" http://localhost:8980/CustomerMobile/static/mobile/CustomerMobile.json "); jsdo = new progress.data.JSDO({ name: "dsCustomer" }); jsdo.subscribe("AfterFill", onAfterFillCustomers, this); jsdo.fill(); function onAfterFillCustomers(jsdo, success, request) { document.write(' table border="1" cellspacing="1" cellpadding="5" '); jsdo.eCustomer.foreach(function(customer) { document.write(' tr td ' + customer.data.CustNum + ' /td td ' + customer.data.Name + ' /td /tr '); }); document.write(' /table '); } /script /head body /body /html -- Kind regards, Stefan Houtzager Houtzager ICT consultancy & development www.linkedin.com/in/stefanhoutzager Stop receiving emails on this subject. Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Back
Top