Hi,
I am getting an error message "This message is for C/AL programmers: The call to member TextCase failed: Method
Adapter.AddressService.ValidateRequest.TextCase not found"
Where TextCase is of type Enum.
Actually the codeunit I am using is calling a method of COM object (dll) which in turn calls the webservice method.
I am not seeing this kind of error message in the Classic Version. Please guide me to resolve this error.
Thanks,
N.Sridhar
0
Answers
Additional Info: TextCase is of Enum type at the dll side and I am passing integer value to the TextCase at the Nav end.
Thanks.
any ways thanks for the reply.
First time I've encountered it was while using a StringBuilder as a parameter for calling an automation method:
There's no problem using this function with the classic client. It works. Calling it on the RTC it leads to the error "method not found". It did work some time ago. But something changed and since then it doesn't work anymore. So I've changed the method signature to
Casting the object to string in the method stub. Works fine.
Today I've tried to use another automations library, which is rather large on the RTC. Most of the funtion have a signature like this:
where PropertyQueue is an automation of its own. Using this on the classic client works fine. On the RTC again the error message. It seems to me, that the Service Tier does not support complex data types as parameters besides "Object". If there were only one or two methods, I'd change them using Object, but there are plenty of them and I'd like to keep the type safety.
Another thing that doesn't work on the Service Tier is overloading methods.
Is there any solution / suggestion for this problem?