08-29-2006 01:53 AM - edited 03-14-2019 12:02 AM
Hello,
I want to launch an IPCC Express application from a web page using a HTTP trigger. Can someone help me to make that?
08-29-2006 02:12 AM
Hi,
You can take a look to this guide, in the 'Designing a Web-Enabled Script':
There is a simple example taht it can be used as a start point.
Hope this helps,
Juan Luis
08-29-2006 03:55 AM
I created a web page that I put in the 'Tomcat\webapps\root\' directory. I also configured a http trigger with the url : '\greeting' (it's the form name in the web page) just like the example welcome.html in cisco docs. But it didn't work. I also noticed that the web page doesn't open if i type in the browser http://myserver:80/mypage.html.
Thanks for the help
08-29-2006 03:59 AM
Try to use IIS instead of Tomacat.
Regards,
Juan Luis
08-29-2006 11:43 AM
09-01-2006 01:29 AM
hello
Please find hereafter what was working for me on a 4.0(3) version :
- Two web servers are installed on the IPCC server : IIS and Tomcat.
- The IIS server listens on port 80 and its "default" directory is c:\inetpub\wwwroot\
- The Tomcat server listens on port 8080 and its "default" directory (for html documents) is
C:\Program Files\wfavvid\Documents\user\default\webapps\ROOT\
(and not C:\ProgramFiles\wfavvid\Tomcat\webapps\ROOT\) as stated in the "Getting startde with scrtipts" manual)
- So, you should
- put the "welcome.html" file in the "C:\Program Files\wfavvid\Documents\user\default\webapps\ROOT\" folder
- access the "welcome.html" web file at the web address "http://localhost:8080/welcome.html"
(or "http://(type here your server name):8080/welcome.html")
- The html code for the welcome.html file should be like this :
Cisco forgot the clause 'value="Submit"' in the second tag.
This tag defines the "Submit" button of the web page.
- The "sayhello.html" file should be placed in C:\Program Files\wfavvid\template\.
- When the user clicks on the "Submit" button on the "welcome.html" page, the browser sends back a "GET" request to the web server. This request looks like this : http://(Your Server Name):8080/greeting?name=MyName
The Tomcat server on your IPCC server is configured to trap this request and trigger the IPCC "web-enabled" application.
I'm not sure that the IIS Server is configured (by the Cisco IPCC setup program) to do this trapping and so I don't think that it will work with the IIS server.
- Now, you have to create and configure a IPCC application triggered by an HTTP trigger.
- In the "Cisco Application Administration" web interface, you should create or modify an application to test the web-enabled script.
- In the "script" field of the "Cisco Script Application" window for this application, type "hello.aef" (without the quotes).
- Create a new trigger of the HTTP type for this application.
In the "URL" field of the "HTTP Trigger Configuration" window, type "/greeting" (without the quotes).
I suppose that this trigger creation somehow tells the Tomcat server that it should trap the "/greeting" GET request and trigger the "hello.aef" script.
Hope This Helps
P. Brognon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide