I created a custom IA that will call my Web Service. The response from the rest call will be an array of objects. However I am having difficulty in displaying it to scene as I am having difficulty in binding the result because it does not appear from the selection after clicking data binding. I created my .ifd file by following this link.
Property binding for the IA I created is not available
Can someone please tell me on how to properly implement displaying to the scene the response I got from the Web Service. I plan to display it in AssetGrid.
You should have a look at this article which explains how to generate the ifd automatically for your REST service using the new feature API Explorer introduced with IntuiFace 6. This will probably fix the issues you have in the ifd you wrote manually.
Just FYI, the response shouldn’t be an “event” but a property of the “method” object.
I’m pretty sure the API Explorer will do that for you. Keep us informed after trying it!
Thanks for replying. Our Web Service is deployed at a locally setup environment which I believe is a limitation for the API Explorer. This is why I’m trying to create the ifd manually. I’ll try to transfer the response inside the “method” and see what will happend.
Can you confirm that your local web service returns a JSON or XML response?
On our side, we confirm that local web services were a limitation when we released IntuiFace 6.0 which has been removed end of June, so it should now work on your side.
Sorry for the late reply, I had a different task and I just got back to doing this again. The web service returns an array of objects as I mentioned before.
[
{
"field1": "test data 1",
"field2": "test data 1",
"field3": "test data 1",
"field4": "test data 1",
"field5": "test data 1"
},
{
"field1": "test data 1",
"field2": "test data 1",
"field3": "test data 1",
"field4": "test data 1",
"field5": "test data 1"
}
]
I’m using the current version of intuiface composer and I still can’t call my web service that is setup locally