You are not logged in.
Hey,
i want to work with "ResultAsJSONObjectWithoutResult" set on the Server side.
But if i try to Define a Service on the Client side like this:
HttpClient.ServiceDefine(ITest,sicShared);
I get a error because the Server Result is without "Result".
But as far as i know i can set "ResultAsJSONObjectWithoutResult" on ClientSide too. But this is first possible in the TServiceFactoryClient after i called ServiceDefine() :-(
It works if i use '*' for "expectedContract" --> but i don't want to.
It Works if i set ResultAsJSONObjectWithoutResult to false on the server side --> but i don't want to.
Can anyone help me to solve this problem?
Thanks,
Andreas
Offline
I think the ServiceDefine(...) method is unable to retrieve the Contract (_contract_) because it expects
this:
{
"result": {
"contract": "19AF8D194FF5E7E8"
}
}
but gets this:
{
"contract": "19AF8D194FF5E7E8"
}
Offline
Should be fixed by http://synopse.info/fossil/info/890f86545b
Thanks for the feedback!
Offline
Thanks. It works!
Offline