Forte web sdk
Hi,
We have just started looking at the Forte Web SDK. We've got the two
examples going on our NT Server running Microsoft's Internet
Information Server. One catch was that we needed to rename the
supplied cgi program to fortecgi.exe (adding .exe extension) on the NT
Server, in the forte code, and in the web pages that call the cgi.
The manual discusses that the web access service objects cannot be
replicated, (since they're tied to a specific IP port), and a
suggested application design is to have a page builder service object
replicated to reduce the chance of a bottleneck. This does not make
much sense to us. Or have we got it wrong?
With this structure they suggest the over-ridden HandleRequest method
can now be something like this
if pageName.isEqual('page1', ignoreCase=true) then
response.assignReponse(pageBuilderService.buildPage1(request));
elseif pageName.isEqual('page2', ignoreCase=true) then]
response.assignReponse(pageBuilderService.buildPage2(request));
else
-- repond with error page
end if;
return reponse;
But even if the pageBuilderService is replicated and a reponse comes
in for page1 a further reponse cannot be handle by this method until
the pageBuilderService returns the completed page1. So what is the
point of replicating the pageBuilderService?
Thanks, Richard
Richard Bentley,
Information Services Section,
University of Canterbury,
Private Bag 4800, Fax: +64-3-364-2999
Christchurch, Phone: +64-3-364-2987 ext. 7061
NEW ZEALAND. Email: [email protected]
----------------------------------------------------------------
Hi,
We have just started looking at the Forte Web SDK. We've got the two
examples going on our NT Server running Microsoft's Internet
Information Server. One catch was that we needed to rename the
supplied cgi program to fortecgi.exe (adding .exe extension) on the NT
Server, in the forte code, and in the web pages that call the cgi.
The manual discusses that the web access service objects cannot be
replicated, (since they're tied to a specific IP port), and a
suggested application design is to have a page builder service object
replicated to reduce the chance of a bottleneck. This does not make
much sense to us. Or have we got it wrong?
With this structure they suggest the over-ridden HandleRequest method
can now be something like this
if pageName.isEqual('page1', ignoreCase=true) then
response.assignReponse(pageBuilderService.buildPage1(request));
elseif pageName.isEqual('page2', ignoreCase=true) then]
response.assignReponse(pageBuilderService.buildPage2(request));
else
-- repond with error page
end if;
return reponse;
But even if the pageBuilderService is replicated and a reponse comes
in for page1 a further reponse cannot be handle by this method until
the pageBuilderService returns the completed page1. So what is the
point of replicating the pageBuilderService?
Thanks, Richard
Richard Bentley,
Information Services Section,
University of Canterbury,
Private Bag 4800, Fax: +64-3-364-2999
Christchurch, Phone: +64-3-364-2987 ext. 7061
NEW ZEALAND. Email: [email protected]
----------------------------------------------------------------
Similar Messages
-
The difference is only in the Web Browser or have you changed as well the Web Server?
Have you checked your fortecgi.dat file to see if the line corresposnding to your application is present?
/Stefano
From: Fernandez, Obed
Sent: Monday, June 30, 1997 8:52 PM
To: 'Forte Users'
Subject: prob w/web sdk
Hello Everyone!
We're using and having much success with the Forte Web SDK. I am having
a weird problem that perhaps one of you has encountered. My form
submissions to fortecgi work fine in Internet Explorer but not in any
version of Netscape. Fortecgi gives me an error message that no
serviceName parameter was specified.
Any ideas??
Thanks in Advance,
Obed Fernandez
Webmaster - Programmer/Analyst - Java Guru
Indus Consultancy Services http://www.indcon.com
Phone 201.261.3100 x245
Fax 201.261.1399
Work [email protected]
Home [email protected]Well it is all kinds that should work, like Facebook, ESPN, JC Penny, MMA Junkie, I just read a post on MAC Forums or something and I went it to the wireless advanced settings and disabled the ipv6 under the tcp/ip tab and i am going to try that. It seems to be working so far. have you heard of this setting and what it is for?
-
Hello Everyone!
We're using and having much success with the Forte Web SDK. I am having
a weird problem that perhaps one of you has encountered. My form
submissions to fortecgi work fine in Internet Explorer but not in any
version of Netscape. Fortecgi gives me an error message that no
serviceName parameter was specified.
Any ideas??
Thanks in Advance,
Obed Fernandez
Webmaster - Programmer/Analyst - Java Guru
Indus Consultancy Services http://www.indcon.com
Phone 201.261.3100 x245
Fax 201.261.1399
Work [email protected]
Home [email protected]Well it is all kinds that should work, like Facebook, ESPN, JC Penny, MMA Junkie, I just read a post on MAC Forums or something and I went it to the wireless advanced settings and disabled the ipv6 under the tcp/ip tab and i am going to try that. It seems to be working so far. have you heard of this setting and what it is for?
-
Re: Web SDK Returning Images
Hi Brendan,
Regarding your question on returning images...
At 09:18 AM 5/2/97 U, Brendan Duddridge wrote:
Mail*Link® SMTP Web SDK Returning Images
Hi,
Why on earth does the Web SDK 1.1 allow you to return BinaryData objectsto the web page if there's no way to display them? I can understand why it
lets you return image files stored on disk somewhere, but I can't
understand what the BinaryData version of AssignBinaryResponse method is
used for if not for retrieving images from a database. No one seems to
know what internal format graphic images are stored in when they're stored
as blobs in the database and then read into ImageData objects. I'm still
trying to figure out the MIME type used for BinaryData images read in from
a database.
>
Has anyone ever used AssignBinaryResponse with BinaryData and MimeType asparameters instead of FileName and MimeType as parameters?
>
Help would be greatly appreciated. Thanks,
Brendan DuddridgeOne of the reasons we added binary object support to the WebSDK update 1.1.A
is to allow applications (that make binaries available to end users) to
store the binary files on a machine other than the web server. These
binary files may be images, executables, or whatever.
The intention is to have the application read the binary files into a
binarydata object and passing the contents of that object to the requesting
browser. If in your case, you want your generated html page to use various
images, you would want to read the files into binarydata objects to retain
the data format of your file. You wouldn't read your image files into a
Forte ImageData because the image format (jpeg, gif,bmp) would be translated
to the internal Forte format (ImageData objects are meant to be used with
Forte clients, rather than WEB clients).
Regards,
Peter W. Pang
Forte Technical Support
Technical Support Direct
Hotline: 510-451-5400 | Tel: 510-869-3437
FAX: 510-869-2010 |
MailTo:[email protected] | <a
href="MailTo:[email protected]">MailTo:[email protected]</a>
WWW: http://www.forte.com |
---------------------------------------------------------What is your Traget System?
If ABAP proxy--Follow beloa appraoch
option 1: develop two sync interfaces
Option 2: Develop Receiver response proxy structure and this structure should hold two proxy responses and write proxy logic to send response in one shot.
in this case one interface enough.
Regards,
Raj -
Semantic Layer RESTful Web SDK
Hi,
We are exploring the RESTful SDKs for both WebI documents and Semantic Layer. Our BI Platform environment is v4.1 SP01 running on Windows Server 2008R2
We are able to successfully connect and work with the WebI SDKs. However, when we try to work with the SL SDK we get the below error.
The below response was got when we tried to connect to the server and retreive the list of Universes (UNX) in the server.
Error with Stack Trace enabled:
<error>
<error_code>RWS 00005</error_code>
<message>Not Found (RWS 00005)</message>
<stack_trace>com.sap.bip.rs.exceptions.NotFoundException
at com.sap.bip.rs.RootResource.ResolveRootResource(RootResource.java:64)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)
at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
</stack_trace>
</error>
The RESTful guide gives the status as "Service is not available" and the description is "The requested service is not provided by the RESTful web service SDK" for this error code.
Do we have to separately install any patch/configure for SL Web RESTful SDK? Or is the SL SDK supported only from 4.1SP02?
It will be great if you can provide some sample code for connecting to and extracting a list of Universes from the server.
Any suggestion is appreciated.
Thanks,
PrasannaHi Prasanna,
The functionality that you are asking for i.e. retrieving the list of available universes is present in the Webi REST SDKs. You have to fire the below RESTful call sequence to get the list of available universe:
Step 1: Retrieve the X-SAP-LogonToken for login to enterprise using REST.
URL: http://<server-name>:<port-number>/biprws/logon/long
Method: POST
Headers: Content-type: application/xml
Data:
<attrs xmlns="http://www.sap.com/rws/bip">
<attr name="userName" type="string">XXXXXXX</attr>
<attr name="password" type="string">XXXXXXX</attr>
<attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">secEnterprise</attr>
</attrs>
Step 2: Getting the list of available universes.
URL: http://<server-name>:<port-number>/biprws/raylight/v1/universes
Method: GET
Headers: Content-type: application/xml
X-SAP-LogonToken: "<Your-X-SAP-LogonToken-obtained-in-Step 1>"
Please check in the "Application" tab of CMC is your RESTful Application is installed or not.
BI Semantic Layer is comes with REST SDKs from BI 4.1 SP2 release.
Hope it helps.
Thanks,
Shailendra -
Modificatin webi report using webi SDK
Hello All,
I want to modify web intelligence report and add dropdown in that report
which contain ascending and descending option and according to selection of that option report data will get sorted.
Any one please told me is it possible using WEBI SDK and if yes then how.
Thanks
Prashant JoshiPlease help me out.
there is solution for this problem ?
means we can solve above requirement by using any BO SDK
Thanks.
Prashant Joshi -
Installing Forte Web Enterprise.
Hi,
Need help on installing the Forte Web Enterprise. After installing
the WebEnterprise, I am suppose to test on the IIOP capabilities on each
machine(refer to WebEnterprise Installation Guide r1.0.c).
The steps are:
1 In the Forté workshops, create a project named TestIIOPproject.
2 Create a non-window class named TestMgr.
3 Create a TOOL class service object based on the TestMgr class.
4 Select the new service object in the Project Workshop.
5 Choose File > Configure as Server.
6. In the Partition Workshop, double-click the service object.
7. Click the Export tab.
8 Choose the External Type > IIOP command.
On the server node, all steps were carried out fine, but on my client
node, after I click the <Export> tab, under the <External Type>
droplist, there's no IIOP option. There options available are DCE,
Encina, Tuxedo, Object Broker and OLE. Why?
Anybody knows anything about this?
Alex Chin.Hi,
<pre>
I am not sure what could be the problem. To debug, you
may edit the installer script and add "set -x" on second
line. Perhaps "set -x" is already there commented, remove
that comment. That way you will come to know on which
instruction it is throwing "File not found" error.
Other problems could be 1. file permissions, 2. path settings
3. Improper download.
Thanks
Kalpesh
</pre> -
Welcome to the NEW Skype Web SDK forum!
Hello and welcome to the new Skype Web SDK forum!
This forum is dedicated to the new Skype Web SDK, the html5/javascript web client API for Skype for Business Server 2015. This API also has some compatibility with Lync Server 2013. This API only supports on-premise environments.
When asking a question, please specify your environment: device, OS, browser, server, and any other related information.
-- How To Ask a Question: http://support.microsoft.com/kb/555375 -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htmoutdated self response..after 25 tries i was able to correct my spelling in the real post
-
Conditions and Custom SQL in Webi SDK
I'm porting an application written using REBean in BusinessObjects 3.1 to use the new Webi RESTful SDK. I'm currently working with BI 4.1 SP4. There are two things that I could do in easily REBean that I am having a hard time figuring out in the new SDK.
View condition information on a data provider -- In REBean you could use the ConditionContainer object to navigate the condition tree on a query and see all of the query's conditions, including the object name and operator. This information doesn't seem to be included in the Data Provider Details web service so I'm not sure where to find it. Am I missing something? Is the Query Specification the only place where this information is available?
Identify whether a query is using custom SQL -- As far as I know, this is different than Freehand SQL data providers which are supported in the new SDK. In REBean you could use SQLDataProvider.isCustomSQL() to discover if a particular query had the Custom SQL radio button selected in the universe query panel. Again, this information doesn't seem to be included on the Data Provider Details web service. How can I tell if a query is using Custom SQL in the new Web Services SDK?
Thanks,
RyanHi Ryan,
Both of your questions are possible.
1. you can get the queriesTree and conditions, including names and operators, from the specification of the dataprovider with the following request (text/xml)
GET /raylight/v1/documents/<docId>/dataproviders/<dataproviderId>/specification
2. you can identify custom SQL by returning the queryPlan of the dataprovider (application/xml)
GET /raylight/v1/documents/<docId>/dataproviders/<dataproviderId>/queryplan
Response:
<queryplan editable="true" custom="true">
<statement index="1">
your customized SQL
</statement>
</queryplan>
I hope this helps,
Dan -
Forte & web.xml problem
Hi there,
I hope what I have is a simple problem to fix. I'm running Forte For Java 4 and developing a web application. When I run a servlet (although it works fine) I am getting a run-time error:
ContextConfig[] Configuration error in application web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name ChooseUnit
This has something to do with the fact that I renamed one of my servlets and it didn't update web.xml (when I ran this servlet, it kept trying to use the servlet's old name in the URL). I went into web.xml and added this servlet's new name manually but it still didn't work, so I deleted the offending servlet, making sure that its servlet mappings were also gone from web.xml.
I then made a new servlet of a different name, and every time I run it I get the above error, even though the servlet name in the error no longer exists, nor any reference to it in web.xml.
Anyone got a suggestion as to how to fix this? It seems to be a bug particular to Forte.
Thanks.
Gillian KleeNever mind, it seems to have sorted itself out with a reboot.
-
Hello all,
I'm experiencing a problem passing variables from JavaScript to the Forte
backend. I am using the following function in my html document.
<DEFANGED_script language="JavaScript">
<!--
function OpenPage(pAccNo,pSrcCode,pExpType)
// this is just to view the variable's values
alert("The value of AccNo, Source Code, Exp Type is : "+pAccNo+'
'+pSrcCode+' '+pExpType);
window.open('http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=GroupExpo
sure&TemplateName=GEExpEnq_DirectExposure_Loan.html&pAccountNumber=pAccNo&
pSourceCode=pSrcCode&pExposureType=pExpType','MyWindow',
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,
resizable=no,copyhistory=no,width=400,height=400');
//-->
</script>
The value of the variables pAccNo, pSrcCode and pExpType are obtained from
an array (table) that is returned to my html doc. The following code
opens a window that executes the Forte tag to retrieve the data based on
the variable values.
<a
href="DEFANGED_javascript:OpenPage($$DirectExposure.AccountNumber,'$$DirectExposure
.kSourceCode','$$DirectExposure.ExposureType')">more details</a>
The problem is that the URL in the JavaScript passes the variable name
instead of the variable value. I can successfully open a window directly
using HTML code passing the variables as in this code below but I want to
use JS so that I can open different windows depending on the values on the
table.
<input type="submit" name="MoreBtn" value="More"
onClick="window.open('<a href="http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=">http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=</a>
GroupExposure&TemplateName=GEExpEnq_DirectExposure_Loan.html&pAccountNumbe
rpAccountNumber=$$DirectExposure.AccountNumber&pExposureType=$$DirectExpos
ure.ExposureType&pSourceCode=$$DirectExposure.kSourceCode','NewWin','toolb
ar=no,location=no,status=no,width=400,height=150')">
Does anyone have any ideas on how to pass variables to the Forte backend
using JavaScript?
Thanks in advance.
Regards
Aseesh Jairaj
NBS Bank
South Africa
WARNING:
Any unauthorised use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute nor disclose the
contents to anyone. Save for bona fide company matters, the BoE Group does
not accept any responsibility for the opinions expressed in this email.
For further details please see: http://www.nbs.co.za/emaildisclaim.htmHello all,
I'm experiencing a problem passing variables from JavaScript to the Forte
backend. I am using the following function in my html document.
<DEFANGED_script language="JavaScript">
<!--
function OpenPage(pAccNo,pSrcCode,pExpType)
// this is just to view the variable's values
alert("The value of AccNo, Source Code, Exp Type is : "+pAccNo+'
'+pSrcCode+' '+pExpType);
window.open('http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=GroupExpo
sure&TemplateName=GEExpEnq_DirectExposure_Loan.html&pAccountNumber=pAccNo&
pSourceCode=pSrcCode&pExposureType=pExpType','MyWindow',
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,
resizable=no,copyhistory=no,width=400,height=400');
//-->
</script>
The value of the variables pAccNo, pSrcCode and pExpType are obtained from
an array (table) that is returned to my html doc. The following code
opens a window that executes the Forte tag to retrieve the data based on
the variable values.
<a
href="DEFANGED_javascript:OpenPage($$DirectExposure.AccountNumber,'$$DirectExposure
.kSourceCode','$$DirectExposure.ExposureType')">more details</a>
The problem is that the URL in the JavaScript passes the variable name
instead of the variable value. I can successfully open a window directly
using HTML code passing the variables as in this code below but I want to
use JS so that I can open different windows depending on the values on the
table.
<input type="submit" name="MoreBtn" value="More"
onClick="window.open('<a href="http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=">http://forte_dev/cgi-forte/fortecgi.exe?ServiceName=</a>
GroupExposure&TemplateName=GEExpEnq_DirectExposure_Loan.html&pAccountNumbe
rpAccountNumber=$$DirectExposure.AccountNumber&pExposureType=$$DirectExpos
ure.ExposureType&pSourceCode=$$DirectExposure.kSourceCode','NewWin','toolb
ar=no,location=no,status=no,width=400,height=150')">
Does anyone have any ideas on how to pass variables to the Forte backend
using JavaScript?
Thanks in advance.
Regards
Aseesh Jairaj
NBS Bank
South Africa
WARNING:
Any unauthorised use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute nor disclose the
contents to anyone. Save for bona fide company matters, the BoE Group does
not accept any responsibility for the opinions expressed in this email.
For further details please see: http://www.nbs.co.za/emaildisclaim.htm -
To obtain values from fields in a web page.
Hi everyone,
I am in the process of developing a web based application. I am able to
successfully convert my windows to web page documents.
I have sincerely followed the prescribed steps to be adopted in building
methods for validations and processes, so as to utilise them for my web
pages too.
But the problem that I am facing is to obtain values back from the web
page fields (user entered values) for performing validations.
Unfortunately the explanations provided in the Forte Web SDK Manual
for obtaining the values from the web page fields and load it on to the
source window through LoadParameters() method (a method in the window
converter class of HTMLWindow project) seems to be inadequate.
If some one can site the steps that Iam probably missing or some
examples, it will be of great help.
Thanks in advance.
Pamella.
Get Your Private, Free Email at http://www.hotmail.comHi Dan,
Thanks for your assistance.
But as regards to my application, I have an existing forte application
which Iam trying to web enable.
To summarize my problem let me just consider the openning window (logon
screen) which I have converted to web page using WindowConverter Class
in the HTMLWindow project (obviously, it is my supplier project). The
functionality of this window class has to just accept the user name and
validate it. If the user name is valid then proceed further else
display an error message. I have a separate validation method for the
user name, which I can utilise to validate the user name typed by the
user on the web page, if Iam browsing or on the window, if Iam directly
running the application.
The widgets on the window are <UserId> and <ProceedButton> with
window attribute names as UserId and ProceedButton respectively.
Now my handle request method goes like this :
-- This method is the entry point from the Internet to my
-- application. It is automatically called when a request
-- from the Web arrives.
response : HTTPResponse = new;
-- Find the page name.
pageName : TextData = new;
pageName.SetValue(request.PageName);
-- Generate response pages.
if pageName.IsEqual('processquery',IgnoreCase=TRUE) then
-- Please note that I have not write any HTML to build my web page.
-- Instead Iam using the WindowConverter Class to convert my existing
-- windows on the fly to web pages during run time.
w : LogonWindow = new;
-- my logon window class
Converter : WindowConverter = new(sourceWindow=w);
Converter.AssignButton(sourceField = w.<ProceedButton>,type =
'submit');
loginURL : TextData = self.CGIURL.Clone(deep=TRUE);
loginURL.Concat('?serviceName=').concat('appweb');
loginURL.Concat('&pageName=PwdPage');
w.<ProceedButton>.HTMLLink = loginURL.value;
-- Proceed button is on my window to which
-- I have associated the above HTMLLink
-- This link does not submit the User Name typed by the
-- User browsing my web page, but this User Name has to
-- come as part of the request from the browser to perform the
-- validation, as Iam not sure about obtaining the User name
-- from the web page.
-- My problem is how to get this user name????????
html : HTHtml = new;
head : HTHead = new;
body : HTBody = new;
-- Give the page a title.
head.Add(HTTitle(Text='Application For The Web'));
html.Add(head);
form : HTForm = New();
body.Add(Converter.WindowToForm(Action=self.CGIURL,HTMethod='POST'));
html.Add(body);
response.AssignResponse(html.ConvertToString());
elseif pageName.IsEqual('PwdPage',IgnoreCase=TRUE) then
w : LogonWindow = new;
Conv : WindowConverter = new(sourceWindow=w);
button : PushButton = new();
button = Conv.LoadParameters(request,w.<UserId>);
-- This will fail because the 'Request' has no user Id.
-- Here, the explanation provided in the Forte Web SDK manual for
-- LoadParameters method (method from WindowConverter Class) seems to
-- be inadequate.
If w.UserId <> Nil And w.UserId.Value <> '' And w.UserId.LengthToEnd()
0 ThenIf SQLsSO.IsValidUserId(w.UserId) Then
-- Method to validate the user Name.
w1 : PasswordWindow = new;
Converter : WindowConverter = new(sourceWindow=w1);
Converter.AssignButton(sourceField = w1.<ProceedButton>,type =
'submit');
pwdURL : TextData = self.CGIURL.Clone(deep=TRUE);
pwdURL.Concat('?serviceName=').concat('appweb');
pwdURL.Concat('&pageName=MessagesPage');
-- and here I will have to get the password typed in by the User.
-- once again my same problem?????
w1.<ProceedButton>.HTMLLink = pwdURL.value;
html : HTHtml = new;
head : HTHead = new;
body : HTBody = new;
-- Give the page a title.
head.Add(HTTitle(Text='Application For The Web'));
html.Add(head);
form : HTForm = New();
body.Add(Converter.WindowToForm(Action=self.CGIURL,HTMethod='POST'));
html.Add(body);
response.AssignResponse(html.ConvertToString());
Else
-- Generate an exception for unknown page.
.............. and etc.
In your example, you had sighted about the 'Junktxt'. How does it comes
as part of the request from the browser and what is the reference
associated with the submit button?
If you need further clarifications, please write to me. Iam also still
working on it.
Thanks in advance,
Pamella.
You Wrote :
Hi, Pamella --
It might be easier to help if you could be a little more specific about
what went wrong (ie, the problematic code snippet and the resulting error
message), or what exactly you were trying to do. In any event, it is very
easy in WebEnterprise to pass values up to Forte from web pages. You can
embed them in HTML "hidden" tags or they can accompany standard form
elements.
For instance, say you have the following HTML code ...
<form method="POST" action="$$FORTE.ExecURL">
<input type="hidden" name="ServiceName" value="TestService">
<input type="hidden" name="TemplateName" value="nextpage.htm">
<input type="hidden" name="hiddenParam" value="dog">
<div align="center"><center>
<p>
Type some junk here: <input type="text" name="junkTxt" size="20">
</p>
</center></div>
<div align="center"><center>
<p>
<input type="submit" value="Submit" name="submitBtn">
<input type="reset" value="Reset" name="resetBtn">
</p>
</center></div>
</form>
In addition to what the user types into the text box (junkTxt), say you want
to pass "dog" up to Forte as a hidden parameter (hiddenParam) (hey, done't
ask me why!). You can retrieve these values up in Forte in the HandleTag
method of your scanner service by invoking "FindNameValue" on
request:HTTPRequest, ie
firstItem:TextData = request.FindNameValue('junkTxt');
secondItem:TextData = request.FindNameValue('hiddenParam');
firstItem now contains the value of "junkTxt" and secondItem contains
"dog." You can now do whatever you like with these guys, including putting
them in a ResultSet to be displayed on "nextpage.htm"
Hope this helps,
Dan______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com -
Forte IIOP / Corba / Java more questions...
Hi,
I wonder if any Forte / IIOP / Java people can help...
We are a Forte site developing an application using the Forte Web SDK (
window converter / Javascript etc ) and using the Forte external connection
class to enable direct communication between Fort Service objects and Java
applets. We are considering using Corba / IIOP for Java <-> Forte comms but
I could use some advice.
Has anyone compared data transfer rates for Forte client <-> Forte remote
service object vs Java IIOP client to Forte IIOP Service object ( all
across the same LAN ) ? There are of course many factors that might
influence data transfer speeds - but any info would be appreciated. I
really just want to know IIOP communication rates differ from those handled
end-to-end by Forte.
Secondly, does anyone know about scalability of the Forte IIOP Gateway or
Forte IIOP listeners - how many simultaneous IIOP connections can be
supported ?
Thirdly, does anyone know if there are memory limitations for applets
running in browsers - can an applet request additional memory - or is it
simply part of the browsers overall allocation ( important for the Mac
platform ? )
Finally, has anyone used OrbixWeb as the IIOP Java client - experiences,
warnings etc. appreciated.
Cheers - Dave.
Dave Maclaurin, ITS, University of Otago, Dunedin, New Zealand
mailto:[email protected]
Ph (03) 4798530Hi,
I wonder if any Forte / IIOP / Java people can help...
We are a Forte site developing an application using the Forte Web SDK (
window converter / Javascript etc ) and using the Forte external connection
class to enable direct communication between Fort Service objects and Java
applets. We are considering using Corba / IIOP for Java <-> Forte comms but
I could use some advice.
Has anyone compared data transfer rates for Forte client <-> Forte remote
service object vs Java IIOP client to Forte IIOP Service object ( all
across the same LAN ) ? There are of course many factors that might
influence data transfer speeds - but any info would be appreciated. I
really just want to know IIOP communication rates differ from those handled
end-to-end by Forte.
Secondly, does anyone know about scalability of the Forte IIOP Gateway or
Forte IIOP listeners - how many simultaneous IIOP connections can be
supported ?
Thirdly, does anyone know if there are memory limitations for applets
running in browsers - can an applet request additional memory - or is it
simply part of the browsers overall allocation ( important for the Mac
platform ? )
Finally, has anyone used OrbixWeb as the IIOP Java client - experiences,
warnings etc. appreciated.
Cheers - Dave.
Dave Maclaurin, ITS, University of Otago, Dunedin, New Zealand
mailto:[email protected]
Ph (03) 4798530 -
Subject: RE :(forte-users) Web enterprise & user visibleservice Objects
A few months ago we faced a similar problem while migrating from classic
Forte to Web. We had to protect our investment in various frameworks that we
wrote for the classic Forte apps, which made use of extensive
user-level-caching among other things.
We solved the problem using a custom routing mechanism. In brief, we created
several( replicated) server partitions that contains all the user-level
Service objects that existed in the class-Forte apps. Then we wrote a
'custom-router' which mimics Forte load-balanced router( dialog duration =
session ) to intelligently route incoming HTTPRequests to one of these
replicated partitions. The router would look at the some tag on the session
and then route the request to one of these replicated "client clone" using
the tag. Successive requests from the same client will go to the same
replicated partition so that you can use the client-cache or any other
per-user services.
The advantages of this approach are
1) You can continue to make use of caching and other user-level components
that you may have.
2) The web and classic Forte clients can work seamlessly if you write them
to use reference partitions that hosts the other shared( Environment visible
) service objects.
Ofcourse you will have to write ( and maintain )the custom-routing code and
also pay attention to house-keeping. For example, the burdon of cleaning up
the cache on logout or session expiration lies on you. If you don't do this,
then your new user might be looking at an old cache of some other user.
Hope this helps,
Ajith
Forte Systems Consultant.
Subject: (forte-users) Web enterprise & user visible service objects
Hi
We have taken a forte application and converted it to run on the web using
* forte web enterprise &
* fortecgi.exe
In the forte application we have a user visible Local Cache Manager
Service Object (i.e. each users has their own copy) for storing things
like
* the details of the current user id
* the details of the current client chosen
* arrays that are needed by other windows
With web enterprise this service object is no longer user visible, how can
we make it user visible?
Thanks in advance.
Deborah Wallis
dwallisnbs.co.za
WARNING:
Any unauthorised use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute nor disclose the
contents to anyone. Save for bona fide company matters, the BoE Group does
not accept any responsibility for the opinions expressed in this email.
For further details please see: http://www.nbs.co.za/emaildisclaim.htm
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comA few months ago we faced a similar problem while migrating from classic
Forte to Web. We had to protect our investment in various frameworks that we
wrote for the classic Forte apps, which made use of extensive
user-level-caching among other things.
We solved the problem using a custom routing mechanism. In brief, we created
several( replicated) server partitions that contains all the user-level
Service objects that existed in the class-Forte apps. Then we wrote a
'custom-router' which mimics Forte load-balanced router( dialog duration =
session ) to intelligently route incoming HTTPRequests to one of these
replicated partitions. The router would look at the some tag on the session
and then route the request to one of these replicated "client clone" using
the tag. Successive requests from the same client will go to the same
replicated partition so that you can use the client-cache or any other
per-user services.
The advantages of this approach are
1) You can continue to make use of caching and other user-level components
that you may have.
2) The web and classic Forte clients can work seamlessly if you write them
to use reference partitions that hosts the other shared( Environment visible
) service objects.
Ofcourse you will have to write ( and maintain )the custom-routing code and
also pay attention to house-keeping. For example, the burdon of cleaning up
the cache on logout or session expiration lies on you. If you don't do this,
then your new user might be looking at an old cache of some other user.
Hope this helps,
Ajith
Forte Systems Consultant.
Subject: (forte-users) Web enterprise & user visible service objects
Hi
We have taken a forte application and converted it to run on the web using
* forte web enterprise &
* fortecgi.exe
In the forte application we have a user visible Local Cache Manager
Service Object (i.e. each users has their own copy) for storing things
like
* the details of the current user id
* the details of the current client chosen
* arrays that are needed by other windows
With web enterprise this service object is no longer user visible, how can
we make it user visible?
Thanks in advance.
Deborah Wallis
dwallisnbs.co.za
WARNING:
Any unauthorised use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute nor disclose the
contents to anyone. Save for bona fide company matters, the BoE Group does
not accept any responsibility for the opinions expressed in this email.
For further details please see: http://www.nbs.co.za/emaildisclaim.htm
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
[1]Forte and the Web
[1]Forte and the Web 4/17/96
I will be out of town from 4/5 to 4/12. For issues concerning:
TRACS - Please use the TRACS Support Beeper 973-5171
Napa Migration - Paula Cue
Regards,
Jackie
Date: 4/8/96 10:25 PM
To: Jackie Lefton
From: [email protected]
I saw an article briefly explaining the forthcoming Forte Web Kit.
Is there any more information available somewhere? The article
stated that a few lines of code will be capable of transforming your
app into a Web Application. How will it handle ArrayFields, window-
nesting, and some of the other aspects of Forte that HTML/the
Web does not support? What is the nature of the JAVA
integration? Release date?
John Werry
MEDecision, Inc.
------------------ RFC822 Header Follows ------------------
Received: by quickmail.apple.com with SMTP;8 Apr 1996 22:21:45 -0800
Received: from sagesun.Sagesoln.com ([206.80.24.106]) by
federal-excess.apple.com (SMI-8.6/8.6.12) with ESMTP id KAA13868; Tue, 9 Apr
1996 10:20:14 -0700
Received: (from majordom@localhost) by sagesun.Sagesoln.com (8.6.12/8.6.9) id
KAA29574 for forte-users-outgoing; Tue, 9 Apr 1996 10:14:33 -0700
Received: (from uucp@localhost) by sagesun.Sagesoln.com (8.6.12/8.6.9) id
KAA29569 for <[email protected]>; Tue, 9 Apr 1996 10:14:30 -0700
Received: from dub-img-1.compuserve.com(198.4.9.1) by sagesun via smap (V1.3)
id tma029567; Tue Apr 9 10:14:08 1996
Received: by dub-img-1.compuserve.com (8.6.10/5.950515)
id LAA14028; Tue, 9 Apr 1996 11:37:03 -0400
Date: 09 Apr 96 11:35:10 EDT
From: John Werry <[email protected]>
To: "'Inter Forte Mailing List'" <[email protected]>
Subject: Forte and the Web
Message-ID: <[email protected]>
Sender: [email protected]
Precedence: bulk
Reply-To: [email protected]I will be presenting at the Forum on a first stab at integrating Java/IIOP
with Forte frameworks on 5/13 at 4:15pm (if you're going to be there.) Forte
will also be presenting on general IIOP/Forte interaction in a separate
presentation (I'm not sure when their presentation is.)
-DFR
Bryan Gentile <[email protected]> on 05/05/97 10:35:43 AM
To: forte-users <[email protected]> @ INTERNET
cc:
Subject: Forte and the Web
I was wondering if anyone has developed Forte applications on the web using
JAVA rather than the HTML based WebSDK stuff? If anyone has any information
about using JAVA with Forte, I would appreciate it greatly. Thanks.
------ Message Header Follows ------
Received: from pebble.Sagesoln.com by notes.bsginc.com
(PostalUnion/SMTP(tm) v2.1.9c for Windows NT(tm))
id AA-1997May05.113135.1771.264872; Mon, 05 May 1997 11:31:36 -0500
Received: (from sync@localhost) by pebble.Sagesoln.com (8.6.10/8.6.9) id
IAA11563 for forte-users-outgoing; Mon, 5 May 1997 08:39:56 -0700
Received: (from uucp@localhost) by pebble.Sagesoln.com (8.6.10/8.6.9) id
IAA11557 for <[email protected]>; Mon, 5 May 1997 08:39:50 -0700
Received: from gatekeeper.bdsinc.com(205.246.109.50) by pebble.sagesoln.com via
smap (V1.3)
id sma011555; Mon May 5 08:39:32 1997
Received: from Bryan.bdsinc.com ([192.9.201.78]) by gatekeeper.bdsinc.com
(8.6.10/8.6.9) with SMTP id LAA10419 for <[email protected]>; Mon, 5 May
1997 11:42:51 -0400
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 05 May 1997 11:39:03 -0400
To: [email protected]
From: Bryan Gentile <[email protected]>
Subject: Forte and the Web
Sender: [email protected]
Precedence: bulk
Reply-To: Bryan Gentile <[email protected]>
Maybe you are looking for
-
TS4020 Is there a way to copy or transfer contacts from one icloud account to another?
My wife and I just upgraded from the 4S to the 5C, but apparently we were using the same icloud account, and now we need to separate them so that we can make changes and not have it affect the other phone.
-
Get an off-screen thumbnail from a webpage
Hello everyone! This is my first post on this forums. I'm developing an application to get a thumbnail from a webpage, and save that thumbnail to a file. It has to be a "non-visual", off-screen appllication, because it will run on a machine with no s
-
Max Number of items for an FI document (999) has been exceded
Dear Guru's I hav production Bom For A ( Truck) , and now when i declare the production it gives me an ERROR :- Max Number of items for an FI document (999) has been exceded. How i can overcome this error!! Please help Regards Rahul Bhardwaj
-
i am buying a monitor for my macbook and was looking to spend aroung £130- £160 for sometihng ner a 20 inch screen, does anyone have any ideas whihc model woud be the best to buy,
-
MAPI.Session for Office 2010
Hi all, This code works fine in office 2003 but not in office 2010 (Raise NO_MAPI). Do you have an idea ? CREATE OBJECT SESSION 'MAPI.Session'. IF SY-SUBRC NE 0. RAISE NO_MAPI. ENDIF. Now log into the session with the given profile CAL