Step 1: Update Configuration.properties of the web server.
Step 2: Scroll down to the XML Link Setting and verify the user and password is a valid PS ID and Password.
Step 3: Bounce the Web Server for the webserver to import the configuration file.
Step 4: Go to the PeopleSoft Application and verify the XML Link Registry is valid for the service needed to run. See Screenshot below:
Step 5: Verify the user in PS Security has access to the WEBLIB_GL web library.
Below is a resolution from the GSC. This should provide a list of steps to check for resolving issues with the XMLLINK.
**********************************************************************
RESOLUTION:
Check in the Iscript into one of the Weblib_***** record, Fieldformula.
Function IScript_Echotest()
&blob = %Request.GetContentBody();
%Response.Write("testing");
End-Function;
2. Register the Function in the maintain security --> use --> Permission Lists --> Web Libraries and give full access.
3. Register the XMLLINK at Go --> Peopletools -->Utilities --> Use --> XML Link Function Registry --> Add.
Make sure that you add something on the page for 'Input DTD'. field.
4. Test the XMLLINK on the web.
Test your set-up. For example, you can do a POST to the following URL:
Release 8.1x: http://host/servlet/xmllink/PIApath/servicename?userid=PTDMO&pwd=PTDMO
Release 8.4x: http://host:port/xmllink/PIApath/servicename?userid=PTDMO&pwd=PTDMO
Release 8.4x: http://host:port/xmllink/PIApath/servicename/
8.4x example http://gsplas55.peoplesoft.com:7013/xmllink/E841C70P/Test/
my 8.4x example http://mzygarew040103/xmllink/ps/Test/
where host is your server name, PIApath is the default path for PIA (this is usually peoplesoft8), and PTDMO is the username, and the password. servicename is the name of the service: in this example, that is Echotest.
The XMLLINK should echo back what you had written on the 'Input DTD' field.
Extract from PeopleBooks - Home > PeopleBooks Library > PeopleSoft Business Interlink Used with XML Guide > Creating an Inbound Business Interlink
Setting up the configuration.properties
File for Inbound Business InterlinksIn order to use Inbound Business Interlinks, you must set up the configuration.properties file. This file is located in the following location if you use a Weblogic web server.
weblogic/myserver/psftdocs/piapath/configuration.properties
On 8.4x (WebLogic 6.1) it is bea\wlserver6.1\config\peoplesoft\applications\PORTAL\WEB-INF\psftdocs\ps\configuration.properties
This file is located in the following location if you use an Apache web server.
Apache Group/Apache/psftdocs/piapath/configuration.properties
Set the following line, where USER is the user ID.
DefaultXMLLinkUSERID = USER
Set the following line, where PASSWORD is the password.
DefaultXMLLinkPWD = PASSWORD
If you are using HTTPS, and your HTTP server is using a port other than 80, then uncomment the PortalHTTPPort setting and set PORTNUMBER equal to the HTTP Port number.
PortalHTTPPort = PORTNUMBER
If you are using HTTPS, and your HTTPS server is using a port other than 443, then uncomment the PortalHTTPSPort setting and set PORTNUMBER equal to the HTTPS Port number.
PortalHTTPSPort = PORTNUMBER
Set the XMLLinkUseHttpForSameServer property to true when you wish to use the http protocol instead of https for requests issued by the XmlLink for content hosted on the same server as the XmlLink servelet. In cases such as this, the request is hosted on the same server, so the http protocol is preferred.
XMLLinkUseHttpForSameServer = true
Setting up the Inbound Business Interlink Environment for an IScript Function
To set up the environment for the IScript function (PeopleCode program) that performs Inbound Business Interlink functionality Open or create a record named WEBLIB_name, where name is the name that you want for your IScript record.
Within that record, select the FieldFormula field (FFo). Write your IScript function (PeopleCode program) within this field. The following shows the IScript function named IScript_Test, contained in the WEBLIB_test record, its TEST field containing the IScript function within FieldFormula.
IScript Function in Test Field: Field Formula
For more information about writing the PeopleCode program, see Writing the IScript Function. Register the IScript function by service name (steps 3 through 7). Within the Application Designer page, select Go, PeopleTools, Maintain Security.
Within the Maintain Security page, select Use, Permission Lists, Web Libraries, Update/Display.
Within the Update/Display -- Permission Lists page, click OK, then double-click on the type of permission that you want from the Permission List listbox. For example, ALLPANLS provides the most generic permissions.
Update/Display -- Permission Lists
Within the Permission Lists page, click on the Edit button next to your WEBLIB_name. If your WEBLIB_name does not appear in this panel, add it by clicking on Click On This Row To Enter Data and selecting your WEBLIB_name from the drop-down list.
Maintain Security -- Permission Lists
Associate a service name to the IScript function (steps 7 through 9). Within the WebLib Permissions page, select Full Access (All) for your IScript and click OK.
WebLib Permissions
Grant security/permission to your WEBLIB_name by repeating steps 6 and 7 for WEBLIB_XMLLINK.
(PT 8.1x) Within the Application Designer, select Go, PeopleTools, Utilities. Within the Utilities page, select Use, XML Link Function Registry, Update/Display and click OK.
For PT 8.4x Go to PIA HOME > PeopleTools > Utilities > Administration > XML Link Function Registry
Within the Utilities _ Use _ XML Link Function Registry page, enter the name you want for your service. Then, in the following order, select from the drop-down lists, and then select Save:
Record: Enter the name of the record containing your IScript function (PeopleCode program).
Field: Enter the name of the record field.
Event: Select Field Formula.
Function Name: Select your IScript function name.
Utilities _ Use _ XML Link Function Registry
Testing the Inbound Business Interlink
Access the xmllink servlet and check if your service appears in the list. Using the browser, get the URL http://host/servlet/xmllink/PIApath, where host is your server name, and PIApath is the default path for PIA (this is usually peoplesoft8). This will provide the list of registered services.
Test your set-up. For example, you can do a POST to the following URL:
Release 8.1x: http://host/servlet/xmllink/PIApath/servicename?userid=PTDMO&pwd=PTDMO
Release 8.4x: http://host:port/xmllink/PIApath/servicename?userid=PTDMO&pwd=PTDMO
where host is your server name, PIApath is the default path for PIA (this is usually peoplesoft8), and PTDMO is the username, and the password. servicename is the name of the service: in this example, that is SkillsSearch.