QUery about parmeterzation
Hi Team,
I have doubt regarding parameterization of part of an xml file
i have used a Data Source ( Read Contents from File) to save a chunk of xml
this chunk is then used in my response.
PFB an eg:
File name =Chunk.txt
has the below content
Pool
TID_DSL_V4_SA
in the response Xml i have parameterized it as
<?xml version="1.0" encoding="UTF-8"?><com:allocateIPAddress> <com:customer>TID</com:customer> <com:service>TID DSL</com:service> <com:resourceType>IPV4</com:resourceType> <com:filterCriteria> ${Chunk.txt} <com:allocationSize>1</com:allocationSize> <com:status>Active</com:status> </com:allocateIPAddress>
But in response the Chunk.txt remains parameterized
Could you please help us with this
Best Answer
-
From a quick review it seems the file data source doesn't access the contents by the name of the file. If you switch to "form input" then you can select "parameterized" for the filterCriteria element and see what the available column names are.
5
Answers
-
Cunk.txt has the below chunk
Pool
TID_DSL_V4_SA0 -
Thanks William.It worked
0