Options

Silverlight/Flash and Nav2009 web services

mbjmbj Member Posts: 63
edited 2010-02-23 in NAV Three Tier
Whenever Silverlight or Flash connects to a web service it makes two requests prior to the actual web service call. The first is for a file a file called clientaccesspolicy.xml and if this one doesn’t exists it will attempt to call a file called crossdomain.xml – both located in the domains root (ie. http://navserver/crossdomain.xml). These files basically tells clients who is allowed to connect and who is not. If the files are not present then it is inferred that the client is not allowed to access the service.

The Nav09 web services uses an internal web server and there is no obvious way of exposing these files in the domains root and thus not allowing Silverlight and Flash applications to access the Nav09 web services without making another “proxy web service” to process the calls to Navision.

Is there a workaround in place that will let me expose clientaccesspolicy.xml and/or crossdomain.xml in the domains root or is it something we can expect in a later service pack?

Comments

  • Options
    freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    I can say, that there is no way you can place these files accessible in the web service's root in NAV web services - and there isn't any plans to make this happen (which isn't the same as saying that it never is going to happen:-))

    Whether or not there is a workaround so that you can successfully make Flash or Silverlight connect without these files - I don't know.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • Options
    freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • Options
    mbjmbj Member Posts: 63
    Hello freddy.dk

    This really does work - thanks a lot :thumbsup:
  • Options
    freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    It would be fantastic to see some cool Silverlight visualizations in/with NAV on the market:-)
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Sign In or Register to comment.