Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

swf problem

Former Member
0 Likes
500

I have develop a Adobe flex application that consuming SAP Web Service.

I can run the .swf from bin-debug directory, it's fine on my PC.

When run swf file that copied to another computer,

SAP data does not show up in chart area ??

The source code follows;

************************************************************

private var wss:WebService = new WebService();

private function init():void {

wss.wsdl = "http://x.x.com:8000/sap/bc/srt/rfc/sap/zget_qry_data?sap-client=100&wsdl=1.1";

wss.addEventListener(LoadEvent.LOAD, loadListener);

wss.addEventListener(ResultEvent.RESULT, resultTrigger);

wss.loadWSDL();

}

*************************************************************

DEV environment:

SAP NewWeaver 7.1 CE sp05

Eclipse platform 3.3.0

Flex builder Plugin 3.0.2

Regards,

park

Edited by: jinhyoung park on Jun 18, 2009 10:42 AM

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
454

When run swf file that copied to another computer,

Do you mean you just copied the swf alone to another machine and it didnt work?

just copy the swf from bin directory place it in the same machines desktop or some other location and try running it, it wont work.

The issue is wht "crossdomain". Search this forum or google with key word "crossdomain.xml" . This has been discussed many times in the past.

Regards

Raja

2 REPLIES 2
Read only

athavanraja
Active Contributor
0 Likes
455

When run swf file that copied to another computer,

Do you mean you just copied the swf alone to another machine and it didnt work?

just copy the swf from bin directory place it in the same machines desktop or some other location and try running it, it wont work.

The issue is wht "crossdomain". Search this forum or google with key word "crossdomain.xml" . This has been discussed many times in the past.

Regards

Raja

Read only

0 Likes
454

solved.

thanks for reply.