Hi
I’ve written a simple VB.NET app which pulls data from a Tamino db into a datagrid for update. The data appears fine, and is updateable without problems when the query I use to initially retrieve the data is along the lines of “input()/ enquiry” (ie it just relates to a document). However, the structure I want to edit is fairly complex and I want to shield the user from having to navigate through it, so I’ve created a FLWOR expression as follows:
for $b in input()/enquiry
where $b/enquiry-no=‘204122’
return { $b/enquiry-no,
$b/service-data/description,
$b/customer-data/forename,
$b/customer-data/surname,
$b/customer-data/paon,
$b/customer-data/street-name,
$b/customer-data/locality,
$b/customer-data/town,
$b/customer-data/postcode,
$b/status,
$b/comments }
The data is retrieved as desired, but when I make a change to the data and attempt an ‘update’ against my TaminoDataAdapter object, it just hangs until the timeout catches it.
Can I use a FLWOR expression as above in an updateable dataset? If so, then can you give me some ideas as to why this isn’t working? I’ve read about the mapping that’s sometimes required for updating subtrees - do I need these setting?
Thanks in advance. Rgds
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs