cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
633
Views
2
Helpful
3
Replies

HTTP Response File not Found

shiquan
Level 1
Level 1

Hi,

I have been working on this for days and could not get it resolved.

I am using UCCX 8.5 Pre to receive an http trigger and send response with some parameters and variables mapping. I followed the scripting guide to create the html template and do the keyword transform. However, when I start to send the response, I always see the error from reactive debug that shows "FileNotFoundException".

I then try to simply follow the guide to build the testing script (hello), and still see the same error. I think I upload the template html file into a wrong folder. So verified the trigger language and uploaded the template file almost in all folders I could think still with no luck. I even tried in a different UCCX 8.0 system and it is the same.

What could be the problem? Installation directory?

Any input would be highly appreciated.

Thanks,

Q

3 Replies 3

Gergely Szabo
VIP Alumni
VIP Alumni

Hi,

which step throws the FileNotFoundException?

Can you please post your script, or at least a screenshot of it?

G.

Thanks for the quick response,

Now I am using the sample script and still get the same result. I got the error message on the 'Send HTTP Response' step.

I put the test.html (static file) file to default/webapps/ROOT folder, and the hello.html (dynamic) file into the same folder. I can access both files using a browser pointing at:

http://ip:9080/test.html

http://ip:9080/hello.html

Q

Er... not absolutely sure what you are trying to achieve, but try this:

1. Upload the hello.html file to the Document Repository, to the default language folder of your UCCX. For instance, if the default language of UCCX is US English, the folder we're looking for is en_US.

2. Change the second step to doc = Create File Document(DOC[hello.html]). This DOC[] thing points to the document repository.

Remember, the Create URL/File Document steps do not actually load the documents, just create references to them.

G.