Hi
i am using smartclient power edition where i am trying to call wcf service hosted on iis (json web service ) and fetching the data of service in dropdown but i am not getting any output,its showing loading but no result.
Please suggest what is wrong in below mentioned code or any other alternative.It would be really great help from your side.
isc.DataSource.create({
ID: "brand",
dataFormat: "json",
dataTransport: "scriptInclude",
dataProtocol: "postMessage",
callbackParam : "callback",
recordXPath: "{}",
dataURL: "http://8080/Service1.svc/GetDatabaseName",
fields: [
{ name: "namezs"
}
]
});
isc.DynamicForm.create({
ID: "exampleForm",
width: 300,
fields: [
{
name: "namezs",
type: "select",
width: 240,
title: "Item",
optionDataSource: "brand",
valueField: "namezs",
displayField: "namezs",
pickListWidth: 450,
pickListFields: [
{ name: "namezs" }
]
}
]
});
i am using smartclient power edition where i am trying to call wcf service hosted on iis (json web service ) and fetching the data of service in dropdown but i am not getting any output,its showing loading but no result.
Please suggest what is wrong in below mentioned code or any other alternative.It would be really great help from your side.
isc.DataSource.create({
ID: "brand",
dataFormat: "json",
dataTransport: "scriptInclude",
dataProtocol: "postMessage",
callbackParam : "callback",
recordXPath: "{}",
dataURL: "http://8080/Service1.svc/GetDatabaseName",
fields: [
{ name: "namezs"
}
]
});
isc.DynamicForm.create({
ID: "exampleForm",
width: 300,
fields: [
{
name: "namezs",
type: "select",
width: 240,
title: "Item",
optionDataSource: "brand",
valueField: "namezs",
displayField: "namezs",
pickListWidth: 450,
pickListFields: [
{ name: "namezs" }
]
}
]
});
Comment