X

Shay Shmeltzer's Oracle Development Tools Tips

Passing Parameters Between Web-Services and JSF Pages

Shay Shmeltzer
Director of Product Management - Oracle

 

This is another quick demo that shows a common scenario that combines several demos I did in the past.

The scenario – we have two web services, one returns a list of objects, the other allows us to update an object. We want to build a page flow where the first page shows us the list of objects, allows us to select one, and then we can edit that instance in the next page and call the second web service to update our data source.

The demo shows:

How to select a row and save the object value in a pageFlowScope. (using setPropertyListener).

How to create a page that allows me to modify the value of the pageFlowScope object, and how to pass the object as a parameter to the second Web service.

Check it out here:

 

Join the discussion

Comments ( 4 )
  • Darren Monday, August 29, 2011

    Hi Shay,

    I am consuming a web service from my ADF form, but the service in question (which comes from a third party) expects 2 additional HTTP request headers; headerVal1 and headerVal2. Although I can easily add these 2 header fields in the HTTP Analyzer tool (and SoapUI), I cannot figure out how to set these values in jDeveloper. This is currently preventing me from using the web service.

    Can you explain how I can do this in ADF?

    Thanks,

    Darren


  • guest Thursday, July 18, 2013

    Hi Shay,

    I am very new to ADF. I am developing an app where I have to use login username as a parameter to pass it to a .jsp page where I display the user's profile.

    How do I go about doing this. I know you have demos where we can convert a row into a link and by clicking on the link user can see the details of the row. I am trying to use username as parameter to be passed to the detail page. Can you pls let me know, Thanks


  • guest Thursday, July 18, 2013

    guest - see https://blogs.oracle.com/shay/entry/passing_value_between_pages_to for further question try the OTN JDeveloper discussion forum


  • guest Tuesday, July 23, 2013

    Hi Shay,

    Thanks for your reply. I could try and do method call with execute with param and call the profile page. One thing I didn't understand is that when doing edit binding. I see backing_bean and you have selected input_text.value from the list.

    In my case I have a login bean method and get_username, set_username parameters. I have to use username as the parameter being passed to the next page. How do I do that. If I select request_scope/login_bean/get_username as binding it doesn't work.

    Can you help. Thanks


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.