Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTTP post data from the Oracle database to another web server

user10264958Jan 24 2011 — edited Jan 26 2011
Hi ,

I have searched the forum and the net on this. And yes I have followed the links
http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
http://manib.wordpress.com/2007/12/03/utl_http/
and Eddie Awad's Blog on the same topic. I was successful in calling the servlet but I keep getting errors.
I am using Oracle 10 g and My servlet is part of a ADF BC JSF application.
My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. So Option 1 is to call a procedure passing the doc_blob_id parameter and call the web server passing the parameters.
The errors I am getting is:
First the parameters passed returned null. and
2. Since my servlet directly downloads the document on the response outputStream, gives this error.
'com.evermind.server.http.HttpIOException: An established connection was aborted by the software in your host machine'

Any help please. I am running out of time.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2011
Added on Jan 24 2011
6 comments
631 views