How to generate sequence number in XSLT

I got a requirement in SOA 11.1.1.6---

From a webservice call to db insert XSLT,  i have 10 elements at source side and 11 elements at target side.
  • From source to target first 10 mappings are done.
  • Now requirement is, for the 11th element in target- we need pass a sequence number to the targeted database, means---(sequence number has to be generated for every execution of XSLT)
 How to do the last point???

Solution: 

We can pass the sequence number in the 11th element using oraext:sequence-next-val("Sequence name as a string", "Datasource as a string") function.

Comments

Popular posts from this blog

OSB actions in proxy service

Difference between Route, Service Callout, Publish

XQuery functions that supported by OSB