Not able to update Web service process in APEX 4.1
Last month I created a simple APEX application with enabled mobile support and latest version of jQuery, which integrates with HP Service Manager through web services. The purpose was to give option for company engineers to open and update incidents through mobile in few easy steps.
The first step was to create form and report by using the web service. At this point web service request process is created where authentication and input parameter are described. The problem appears if you try to change any parameter and update the web service process. This is the error:
Error error updating web service parameters ORA-01403: no data found
At the time I got the error patch set wasn’t released yet and I went with the patch only to fix this issue. Later I’ve decided to update the APEX to latest version 4.1.1 and I’ll review the update process at glance.
To upgrade to APEX 4.1.1 make sure first to review the release notes here. The process is really simple and takes few minutes.
Before applying the patch make sure to prevent access to the APEX. In my case I’m using Oracle Database 11g Express Edition and I’m using Embedded PL/SQL gateway. Then apply the patch using apxpatch.sql and update the images directory. Because I’m using Express Edition, my images are stored in the XML DB repository and script apxldimg.sql has to be used to upload the new images within the repository.
Disabling Oracle XML DB HTTP Server:
SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; GETHTTPPORT ----------- 0 SQL> EXEC DBMS_XDB.SETHTTPPORT(0); PL/SQL procedure successfully completed. SQL> COMMIT; Commit complete. SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL; GETHTTPPORT ----------- 0
Run apxpatch.sql to patch the system:
SQL> @apxpatch.sql ....... timing for: Complete Patch Elapsed: 00:06:25.48
Updating the Images Directory When Running the Embedded PL/SQL Gateway:
@apxldimg.sql /tmp/patch ....... Commit complete. timing for: Load Images Elapsed: 00:04:12.56 Directory dropped.
Enabling Oracle XML DB HTTP Server:
SQL> EXEC DBMS_XDB.SETHTTPPORT(8080); PL/SQL procedure successfully completed. SQL> COMMIT; Commit complete.
APEX is now updated to version 4.1.1
- How to run standalone Oracle APEX Listener 2.0 with Oracle 11g XE and APEX 4.1.1
- Unable to load Audit Vault console after login
- Oracle Exadata Database Recommended Patch (BP9) came out
- Automatically backup Oracle APEX applications to Subversion
- Cannot apply BP10 to Oracle Database 220.127.116.11 on Windows Server 2008 R2