Saxon:query input arguments, Get Order Response data at parameters
Hello,
I'm trying to run saxon:query function from xquery file in Oracle Communications Order and Service Management suite.
At params I'm trying to propagate get order response as an input to my function but getting: Required item type of value of variable $taskData is element(); supplied value has item type xs:untypedAtomic
Is there any way to cast $taskData as element to the parameters?
Below you may find a code sample.
declare variable $declarations := fn:concat(
'import module namespace tomrequestgisorderhandler = "http://ordermanagement.tom.common/xquery/automation/tom/transformation/tomrequestgisorderhandler" at "http://ordermanagement.tom.common/xquery/automation/tom/transformation/TOMRequestGISOrderHandler.xquery";',