We have installed DBEStudio 1.0.2 and ExE 0.3.14 with new DBEPortal (removing old proxyframework jar).
We have created a HelloWorld example with DBEStudio and we have generated the GUI interface with the DBEStudio wizard automatically.
The service is deployed and searched OK, but when we try to execute it in the lazslo, it is shown right but there is an error when showing results.
This is the error shown in the ExE console:
39250 [SocketListener0-0] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Getting method parameter types...
2007-08-01 11:27:29,799 [SocketListener0-0] DEBUG org.dbe.toolkit.portal.client.
DBEPortalClient - Getting SDL of the service:
39250 [SocketListener0-0] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Getting SDL of the service:
39250 [SocketListener0-0] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Getting SDL of the service:
39250 [SocketListener0-0] DEBUG org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Getting SDL of the service:
2007-08-01 11:27:29,830 [SocketListener0-0] ERROR org.dbe.toolkit.portal.client.
DBEPortalClient - Exception in invoking: , decirHola... There was no SDL found f
or this SMID: Has the service been published? SDL is retreived from the service
manifest of the service
39281 [SocketListener0-0] ERROR org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Exception in invoking: , decirHola... There was no SDL found for th
is SMID: Has the service been published? SDL is retreived from the service manif
est of the service
39281 [SocketListener0-0] ERROR org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Exception in invoking: , decirHola... There was no SDL found for th
is SMID: Has the service been published? SDL is retreived from the service manif
est of the service
39281 [SocketListener0-0] ERROR org.dbe.toolkit.portal.client.DBEPortalClient 12
7.0.0.1 33 - Exception in invoking: , decirHola... There was no SDL found for th
is SMID: Has the service been published? SDL is retreived from the service manif
est of the service
org.dbe.toolkit.portal.DBEPortalException: There was no SDL found for this SMID:
Has the service been published? SDL is retreived from the service manifest of t
he service
at org.dbe.toolkit.portal.execution.ExecutionDelegate.getMethodParameter
sTypes(ExecutionDelegate.java:233)
at org.dbe.toolkit.portal.execution.ExecutionDelegate.execute(ExecutionD
elegate.java:139)
at org.dbe.toolkit.portal.DBEPortal.execute(DBEPortal.java:46)
at org.dbe.toolkit.portal.client.DBEPortalClient.invoke(DBEPortalClient.
java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.openlaszlo.data.JavaDataSource.execute(Unknown Source)
at org.openlaszlo.data.JavaDataSource.getData(Unknown Source)
at org.openlaszlo.data.DataSource.getAsSWF(Unknown Source)
at org.openlaszlo.servlets.responders.ResponderCache.respondImpl(Unknown
Source)
at org.openlaszlo.servlets.responders.Responder.respond(Unknown Source)
at org.openlaszlo.servlets.LZServlet._doGet(Unknown Source)
at org.openlaszlo.servlets.LZServlet.doGet(Unknown Source)
at org.openlaszlo.servlets.LZServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
This is the SMID SM-1039ed181573acf1705a77ee3d4f18343c8137ee-6 which is correctly deployed in the ExE (it is shown in the FADA website http://localhost:2002/services\)
And finally this is the source code of the web page with laszlo included:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="SHORTCUT ICON" href="http://www.laszlosystems.com/favicon.ico">
<link rel="stylesheet" href="/portal/lps/includes/console.css" type="text/css">
<title>OpenLaszlo Application</title><style type="text/css">
img {border: 0}
</style><script language="JavaScript1.1" src="/portal/lps/includes/vbembed.js" type="text/javascript"></script><script src="/portal/lps/includes/embed.js" type="text/javascript"></script></head>
<body style="margin: 0">
<div style="background-color: #ffffff"><script type="text/javascript">
lzLPSRoot = '/portal';
lzCanvasRuntimeVersion = 7 * 1;
if (lzCanvasRuntimeVersion == 6) {
lzCanvasRuntimeVersion = 6.65;
}
if (isIE && isWin || detectFlash() >= lzCanvasRuntimeVersion) {
lzEmbed({url: 'ITAHolaMundo.lzx?lzt=swf&__lzhistconn='+top.connuid+'&__lzhisturl=' + escape('/portal/lps/includes/h.html?h='), bgcolor: '#ffffff', width: '100%', height: '100%', id: 'lzapp', accessible: 'false'}, lzCanvasRuntimeVersion);
lzHistEmbed(lzLPSRoot);
} else {
document.write('This application requires Flash player ' + lzCanvasRuntimeVersion + '. <a href="http://www.macromedia.com/go/getflashplayer" target="fpupgrade">Click here</a> to upgrade.');
}
</script><noscript>
Please enable JavaScript in order to use this application.
</noscript>
</div>
<div id="footer"><script type="text/javascript">
lzEmbed({url: '/portal/lps/admin/dev-console.lzx.swf?lzappuid=ITAHolaMundo.lzx&lzt=swf&appinfo=%3Cdata%3E%3Crequest+lps%3D%22%2Fportal%22+url%3D%22ITAHolaMundo.lzx%22+relurl%3D%22uicache%2FSM-1039ed181573acf1705a77ee3d4f18343c8137ee-6%2FITAHolaMundo.lzx%22+fullpath%3D%22%2Fportal%2Fuicache%2FSM-1039ed181573acf1705a77ee3d4f18343c8137ee-6%2FITAHolaMundo.lzx%22+opt-url%3D%22ITAHolaMundo.lzo%22+unopt-url%3D%22ITAHolaMundo.lzx%22+query_args%3D%22%22+pocketpc%3D%22false%22+console-remote-debug%3D%22null%22+console-floating-window%3D%22null%22+appuid%3D%221185960440924%22+windows%3D%22true%22+opt-exists%3D%22false%22+%3E%0A%3C%2Frequest%3E%3Cinfo+size%3D%22105191%22+gz-size%3D%220%22+debug%3D%22false%22+encoding%3D%22%22+debug-exists%3D%22false%22+debug-up-to-date%3D%22false%22+nondebug-exists%3D%22true%22+nondebug-up-to-date%3D%22true%22+runtime%3D%22swf7%22+%2F%3E%3C%2Fdata%3E', bgcolor: '#9494ad', width: '100%', height: '70'});
</script></div>
<div class="info"><b>Runtime Target: </b>swf7<br><b>Application Size: </b>103K
(105,191 bytes)
<a target="_blank" href="ITAHolaMundo.lzx?lzt=info">Size profile</a></div>
</body>
</html>
Can anybody help us? Thanks in advance,
ITA
Logged In: YES
user_id=1300343
Originator: YES
As additional information, the service is not invoked, it crashes between the laszlo GUI and the service inside...
Logged In: YES
user_id=228477
Originator: NO
The messages say the SDL can't be retrieved. They also say it should be in the service manifest. Please check the SDL exists, and it is in the service manifest. Also, drop a line to the DBEStudio support guys, they may be of greater help regarding the invocation of services by using Laszlo. HTH.
Service Manifest deployed in the service-manifest folder
Logged In: YES
user_id=1300343
Originator: YES
The manifest is deployed as attached
File Added: new_file.sm
Logged In: YES
user_id=1300343
Originator: YES
Ok, I think the problem was the UI was generated before creaging a new manifest file.
So that every time the manifest file is re-generated, the UI has to be re-created too
Thanks,
ITA
http://www.ita.es/dbe