× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Will,

I tried to add the code to my project and getting "generation terminated
because the part tools.ServiceMonitor count not be found" error...

Is there something else I have to add to my code besides the "monitor
tools.ServiceMonitor;" definition?



-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of William A Smythe
Sent: Monday, August 17, 2009 6:44 AM
To: EGL on and around the IBM i
Cc: 'EGL on and around the IBM i'; egl-i-bounces@xxxxxxxxxxxx
Subject: Re: [EGL-i] egl service using "prepare" and "get" problem.


Check out the following blog by Chris Laffra (IBM EGL Rich UI Architect) -
http://www-949.ibm.com/software/rational/cafe/blogs/egl-rich-web/2009/02/07/
ground-control-to-major-tom-or-how-to-debug-service-calls

It talks about debugging services. For example, you can have the Rich UI
code call an "onException" method in the client that can provide more
details about why the service failed:

function doit()
try
call foo.bar(...) returning to callback;
onException(exception AnyException)
... // service errors never get here!
end
end

private function handleException(exception AnyException in)
e ServiceInvocationException = exception;
writeStdout("OOPS. " + e.message + " " + e.detail1);
writeStdout("OOPS. " + e.message + " " + e.detail2);
writeStdout("OOPS. " + e.message + " " + e.detail3);
writeStdout("OOPS. " + e.message + " " + e.detail4); end


Will Smythe
Product Line Manager
Rational Business Developer and EGL
IBM Rational Software, RTP, NC
919.254.8771
smythew@xxxxxxxxxx

Visit the EGL Cafe - http://www.ibm.com/rational/eglcafe










[EGL-i] egl service using "prepare" and "get" problem.


tim
to:
'EGL on and around the IBM i'
08/16/2009 11:12 PM




Sent by:
egl-i-bounces@xxxxxxxxxxxx
Please respond to EGL on and around the IBM i














I have a service where all the functions have been doing "calls" to iseries
programs. All is working fine. I added a new function that uses "prepare"
and "get" to retrieve iseries data. In the IDE, this works great. When i
deploy it to my tomcat 6 server, it blows up calling the onException
function with the following error:

EGL1621E An error occurred while trying to invoke function:getinquirydata on
WebService:http://localhost:8080/acbwebprj/services/Acbsvc. EGL0001I The
error occurred in EGL Rich UI Proxy.

I have the feeling i am missing some configuration setting or file, but not
sure.

Any suggestions?

--
This is the EGL on and around the IBM i (EGL-i) mailing list To post a
message email: EGL-i@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/egl-i.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.