If this is related to your question about token caching, this is a really bad idea due to filesystem space limitations. If you have a RAID, you're much better off for a number of reasons, the main one being more space.
However, to answer this question, the above content must be Base64 encoded.
------------------------------
Joseph Morgan
CEO - Independent
------------------------------
Original Message:
Sent: Tue April 14, 2026 10:44 AM
From: Sai Thota
Subject: Help to write to xml file in datapower
I tried
<dp:soap-call
target="https://<<IPAddress:5550/service/mgmt/current"
username="uname"
password="pwd">
<env:Envelope>
<env:Body>
<mgmt:request domain="default">
<mgmt:set-file name="local:///token.xml">
<TokenStore>
<access_token>SOMA_TEST_OK</access_token>
</TokenStore>
</mgmt:set-file>
</mgmt:request>
</env:Body>
</env:Envelope>
</dp:soap-call>
this snippet to make a call but i don't see it making the call.Could you please help me with a sample
------------------------------
Sai Thota
------------------------------
Original Message:
Sent: Tue April 14, 2026 09:25 AM
From: Jeroen Willems
Subject: Help to write to xml file in datapower
afik you can't write directly to the store or local directory with xslt/gwscript, only to the temporary directory.
dirty workaround can be done via soma/roma call from within xslt/gwscript.
------------------------------
Jeroen Willems
Integration Architect - Managing Partner
Integration Designers