cancel
Showing results for 
Search instead for 
Did you mean: 

Flex Application in SAP Web AS

Former Member
0 Kudos

Hai

Can anyone tell me how to implement adobe flex in webdynpro java webdynpro applications?

Kindly provide step by step procedure for Installing Adobe Flex Application in NWDS

Regards

Dhinakar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dheena,

Welcome to SDN

First create flex project and complie. It will generate .swc file.

copy that .swc fine in mimes folder of webdynpro project.

In webdynpro Using "Adobe Flash Island" UI element integrate that flex project.

Refer this [LINK|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/301e6047-01c9-2b10-3998-a08970c23639&overridelayout=true] step by step procedure is there.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Thanks for Answer

With out Flash Island i need to show the Adobe Flex Application in NWDS thru web module project.

How to create the web module project and and adding the ear file to web module project.

Kindly provide those steps .it will be very help full for me

Regards

Dhinakaran J

Former Member
0 Kudos

Hi,

If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.

The following [Link|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11962] [original link is broken] [original link is broken] [original link is broken]; may help you in building the WDJ component with Flash Islands..

If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:

refer the following [Link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163]

Regards

Manohar

Former Member
0 Kudos

Hi,

1)In NWDS open J2ee prespective->new>web module project.

Here u develop the application.

2) Now u have to create the EAR project

File>New>Enterprise Application Project-->give name

Here it will ask for the war. Select the appropriate web module project .

now ur ear project is created.

Rigt click on the created Ear project-->Build application Archive.

Then will create .ear file.

Right click on the .ear-->and say deploy.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Thanks for all answers

I want only to show the Flex Application via web module project from webdynpro java.

i.e Flex on J2EE SAP: how-to create web module project and add the ear file into it and how to deploy?

Kindly Provide the Step by step help

Regards

Dhinakaran J

Former Member
0 Kudos

Hi Dheena,

Folow the steps:-

1)create webmodule project

2)create EAR project and add this webmodule project to EAR project

3)Now create .ear file and deploy it.

Follow this help link,describes step by step procudure to develop webmodule project

http://help.sap.com/saphelp_nw04/helpdata/en/c2/8bbb3eff62847ae10000000a114084/frameset.htm

Regards

Manohar

Former Member
0 Kudos

Hai

I have followed the steps mentioned and deploy the ear file to J2ee engine sucessfully. how do i test that Flex Application in browser . i have tried "http://ip:port/webmodule name/flex html file name" but it says The requested resource does not exist.

Kindly help me

Regards

Dhinakaran J

Former Member
0 Kudos

Hi dheena,

This might come if there are any unknown errors.

Try this.

remove all the code in html , just put display message.Build the ear once and deploy it.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Still I got the error.

Kindly any PDF Steps on that scenario

Regards

Dhinakaran J

Former Member
0 Kudos

Hi,

When u create the html file by right clicking on the project>new>html,it should be created under webcontent folder.

Check that.

Regards,

srikanth

Former Member
0 Kudos

Hai

what should i give that newly created HTML content under webcontetnt.Because

already the xxx.html file is located under bin debug file and that contains some SWF design.

Kindly suggest me.

Regards

Dhinakaran J

Former Member
0 Kudos

Hi,

I think u have not properly created ur html fle.

1)Create ur webmodule project.

File>New>webmodule project.Say Exmaple

2)Right click on project(Example)>new>html-->give file name say xxx

This should be automatically created under webcontent folder.

3)write the logic in it according to the requirement.

4)Now create ear project by selecting this Example Project.

5)Right click on the created EAR project and -->Build Application Archive.

Now ur .ear will be created .Right click on it -->deploy.

Call the html using the URL

http://host:port/Example/xxx.html

Regards,

srikanth

Former Member
0 Kudos

Hai Srikanth

Thanks for quick reply

Step1. I created flex project in flex builder. in that i have 4 input text box and one submit button. when i click submit button

it should give messgae like "Flex in NWDS Sucesss".now its ok in Flex side.

Step2.I created web module project and also create EAR also and copied all the contents of bin folder of flex project to web content folder of web module project. Add this module to EAR or add ear to this module. Build both projects in NWDS and finally deployed that Ear file succesfully.

In that case already bin folder have html file. why we have to create our own logic in new HTML file under web content folder

Simple if i test it the given url " http://ip:port/webmodule name/flex html file " it should give atleast design with 4 input text box and submit button what i have designed in Flex Application

Kindly Suggest me

regards

Dhinakaran J

Former Member
0 Kudos

Hi,

Server will recognise only the web resource which is under web content folder.If ur file is not under this folder the server will not identify the flex.html and gives resource not found exception.

Regards,

srikanth

Former Member
0 Kudos

Hai Srikanth

Solved the Problem.Thank you very much

regards

dhinakar J

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Dhinakar,

what is the version that you are using.

To be able to work with Flex Island you need to install NW EHP1 for standalone Netweaver instances

regards

Manohar