I created a WCF-service, which connect with Axapta, gets data from it and serializes data to JSON-string. I use "Business Connector" for this.
When I test WCF in "Page Inspector", on localhost, the service works fine. But when I hosted it on IIS, the service stopped getting data from Axapta.
And my Json string becomes empty: {"nomekl":[]} (nomekl is my class for axapta's data).
In localhost, this json contains data:
{"nomekl":
[
{"group_num":"КА470105010404","name":"Part1"},
{"group_num":"КА470105010405","name":"Part2"},
{"group_num":"КА470105010406"... and etc
I'm setting business connector, but it still doesn't work in hosted WCF. How can I resolve this problem?