Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Is it possible to access an Ax service directly from Silverlight?

$
0
0

I am very inexperienced with Ax so please excuse me asking what may be a question with a very straightforward answer. 

I created a simple Ax service from the client tool, deployed it to the Ax server and can access it successfully from a Windows Forms application.

However, I would like to access this service from Silverlight, but this seems to be more difficult! In order to make some progress I created an intermediate SOAP service which fields the requests/responses from/to Silverlight and passes them backwards and forwards to the AX Service! This works, but surely there must be an easier way?!

It seems that in my .Net 4 SOAP service VS2010 accesses a DotNetConfig35.xsd file which contains all the possible service-model bindings including netTcp, which is what the Ax service uses.

In my Silverlight project however, it seems to use a file called silverlightConfig2.xsd, which only contains basicHTTP and custom bindings, so as soon as I try to instantiate the Ax service client, it raises an exception related to a missing end-point.

I have read many posts elsewhere which contain the words "wcf", "silverlight" and "netTcp", but none of them have helped me! Is there maybe a way to utilise the "custom" binding protocol, or am I really fighting a losing battle here?

Any help gratefully received.

Ade


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>