Hi,
I'm confused so please bear with me.
I'm on Smartclient LPGL 11.1 and I'm using RestDataSource, I see the raw request as this:
My BaseX rest server is looking for a specific root node name from an xml post request such as <run> or <query>.
I tried this code below but it didn't change <request> to <run> when I checked the raw request.
I'm guessing that's not supported but I tried anyway.
I looked at transformRequest with postMessage for dataProtocol but I can't tell if that is what I need. I've also tried postParams but that doesn't seem the way I should be going.
Is this possible and is there a correct approach?
Thanks You!
I'm confused so please bear with me.
I'm on Smartclient LPGL 11.1 and I'm using RestDataSource, I see the raw request as this:
Code:
<request> <dataSource>rds</dataSource> <operationType>fetch</operationType> <operationId>rds_fetch</operationId> <textMatchStyle>exact</textMatchStyle> <componentId>(cacheAllData fetch)</componentId> <data></data> <oldValues></oldValues> </request>
I tried this code below but it didn't change <request> to <run> when I checked the raw request.
Code:
operationBindings:[ {operationType:"fetch", dataProtocol:"postXML", requestProperties:{tagName:"run"}}]
I looked at transformRequest with postMessage for dataProtocol but I can't tell if that is what I need. I've also tried postParams but that doesn't seem the way I should be going.
Is this possible and is there a correct approach?
Thanks You!
Comment