External procedure problem

Use this board to ask questions or have discussions with other Universal Displays users.
aa73
New User
Posts: 19
Joined: Fri Aug 23, 2019 5:13 am
First Name: Alexis
Last Name: ALABERT
Company Name: LOISELET & DAIGREMONT
Country: France
Contact:

External procedure problem

Post by aa73 »

Hello,

I have a problem with a program that uses UNIVERSAL to do a web service.

In my program, I use an external procedure.
When I run my program in my browser I have the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.




When I debug my program in my green screen, I have no error.

If I copy the external procedure in my program, I have no error in my browser.


Does this mean that we can not use a procedure in a program that makes the web service?

Thank you

Regards
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: External procedure problem

Post by Scott Klement »

All this means is that some sort of error occurred. We don't know enough about the problem to tell you anything more.

I suggest looking in the latest error_log file when the error occurred. This is found in the IFS under /www/YOUR-INSTANCE/logs

It may tell you to look at the job log, and if so, will provide the job number. In that case, look at the job log and see if you can tell what is causing the error.
aa73
New User
Posts: 19
Joined: Fri Aug 23, 2019 5:13 am
First Name: Alexis
Last Name: ALABERT
Company Name: LOISELET & DAIGREMONT
Country: France
Contact:

Re: External procedure problem

Post by aa73 »

Hello,

I just found the log file (see attachment).

I do not understand why I have an authorization problem.



Thank you

cordially
Attachments
log.pdf
(10.46 KiB) Downloaded 983 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: External procedure problem

Post by Scott Klement »

The error I see in your log is this one:
Impossible d'adresser objet XURL_ type et sous-type X'0203' droit X'0000'

In English that would be:
Cannot resolve to object XURL_. Type and Subtype X'0203' Authority X'0000'.

This is not related to authority. It is trying to call a service program named XURL_ but it cannot find it in your library list.
aa73
New User
Posts: 19
Joined: Fri Aug 23, 2019 5:13 am
First Name: Alexis
Last Name: ALABERT
Company Name: LOISELET & DAIGREMONT
Country: France
Contact:

Re: External procedure problem

Post by aa73 »

Hello,

"XURL_" is an "/INCLUDE" in my source file.

I do not have an error while compiling the program.

The source of "XURL_" is in the library list (I make a addlible before).

I have an error while running the program with firefox.

When I run the program with a green screen, I have no error.



I tried to copy all the instructions of "/INCLUDE" in my program, and there I have no error.


But I want to keep "XURL_" out of the program.

This will prevent me from maintaining two programs.



Thank you

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest