Skip to Main Content

Oracle Forms

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!

How to call a web service from forms

288091Aug 24 2004 — edited Aug 26 2004
I have went through oracle's demo on calling a web service in forms, but now I want to call a different web service. I have set up everything just like the demo, but I am not sure how to code the call from the when-button-pressed I have the following code so far ( from the demo):
DECLARE
jo ora_java.jobject;
rv ora_java.jobject;
ex ora_java.jobject;
BEGIN
Jo := HELLOWSSTUB.new;
--

--
rv := HELLOWSSTUB.sayHelloWorld(jo,':Name');
-- message (float_.floatValue(rv));
/*EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message(Exception_.toString(ex));*/
END;essed trigger.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2004
Added on Aug 24 2004
3 comments
431 views