Hi guys,
I know this is a really old post - but I need some help - please…
I am simple trying to have selected rows of my output on my CAF view to be inserted into a table in my database…
[FONT=Helv][SIZE=2][FONT=Helv][SIZE=2]Here’s what I’ve achieved thus far in a simple test case scenario…
- I have two very simple tables in my SOA db - products and products1 with just two fields productID and descrption on the products table and productID, description and status and the products1 table.
- I have a service flwGetProducts - based on an adapter service adpGetProducts
- I created a web service provider - wspGetProducts_WSD using flwGetProducts
- I have a new web application call myWebProject in which I have a view called products.view
- From my designer (UI) I drag my wspGetProducts_WSD to my ProductsView page bean creating my web service - flwGetProducts
- I then into my flwGetProducts web service and go to my results that is - my output of my service “productOut” and create new content provider using “updatable table with selection”
- I drag my web service into my view delete the async table and then drag the content provider into the output results of the view - RUN this and all 4 records from products table appear on my page.
- Then inserted a standard column as first column and dragged controls “select all rows checkbox” as header and “select row checkbox” as field - set its multiple property to true.
- Now I have a batch insert adapter service adpBInsertProducts1 to insert into table products1 and a flow service flwInsertProducts1 with my input spec being products1In - do a manual test on this services it works great.
- I created a web service provider wspInsertProducts1_WSD - drag this onto my page bean - flwGetProducts
- I then added an action insertProducts and made the necessary assigments
At the this point (11) is where my problem is - making my assignments to my action.
Thanks for your help
Regards
Vikash
[/size][/font][/SIZE][/FONT]
#If-it-doesn-t-fit-anywhere-else#webMethods-Archive#webMethods