Skip navigation
Currently Being Moderated

Interactive Statement unable to access Web Service

Nov 14, 2011 5:12 AM

I have a working Flash Builder project from which I generate a nav file which I use to generate an Interactive Statement using a process in Workbench.

The Interactive Statement works fine with all the Flash content and data merged from xml.

 

When I incorporate using a Web Service in the Flash Builder project code to populate a data grid, and regenerate the nav file to generate the interactive statement, the interactive statement gives the following security error when opened:

 

Security error accessing url

Destination: DefaultHTTP

 

It seemed that this issue is related to cross domain policy or something like that, BUT I do not get this error when:

1. I run the Flash Builder project directly from Flash Builder that fires up IE and my flash content works perfectly fine in the HTML wrapper, including the web service call that works fine. This works fine both from the bin-debug and the bin-release folders of my Flash Builder project.

2. I created an AIR application from scratch, and consumed the same webservice as used in the earlier Flash Builder project being used to generate nav file for Interactive Statement. The AIR application also works perfectly fine in invoking the web service and does not give any errors.

 

Question: Why is my Interactive Statement unable to access the web service and gives the error as mentioned above when the same web service is being accessed and consumed successfully by the same flash content in an html wrapper and in an AIR application. How to make my flash content embedded in the PDF container to access and consume the web service?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points