cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice model with ejb

Former Member
0 Kudos

i have one project in webdynpro prospective .

That contain webservice model which having the methods in ejb.

Now i want to rebuild the that model .

how to do that.

i have only project that contain model.

how to get into j2ee prospective , and how to do that.

Edited by: Jagan G on Jul 30, 2008 4:52 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi Jagan,

In NWDS, in menu bar click on Windows. Menu appears. Goto Open perspective -> Select Other->Wizard appears-> select J2EE Development. In J2EE Explorer view you can see all you J2EE Projects. Select your project & right click -> Build your project.

Regards,

Siva

Former Member
0 Kudos

Hi Rama Krishana, thanks for giving reply.

here i have webdynpro project,that have the model .

i want that model edit in j2ee prospective for modification of model.

i have only that project only.

Former Member
0 Kudos

Hi Jagan,

I think u r using a J2EE and java project for ejb..

n than u r creating a web service for Ear project..

now u r calling tht webservice model to Web Dynpro ..

If I'm right then if u want to edit ur J2EE or java projct ,go to windows -> open perspective->J2EE Development...

Here u can edit ur .java files for Bean in left pane..

After doin this save them..n create jar file again for ejb projct..

then create .ear file agn for Ear projct...

n Deploy this new Ear file....

If I hav mis understood then lemme knw...

Reward if its helpful.

Regards,

Khushboo

Edited by: Armin Reichert on Oct 24, 2008 10:02 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Eswar,

According to my understanding, you want to change the implementation of webservice. For that you need to change in particular EJB Bean method. After that you have the latest changes to the server. If the changes are not related to any method signature, you need not do any changes at dynpro side. If there are any changes in method signature, like adding of new input parameters, changing of return type etc... you have to delete and recreate the model for latest changes.

To do the changes in EJB method you have to do the following:

1. Switch to J2EE perspective.

a. If you are using DC, go to J2EE DC Explorer.

2. Open the Session Bean, do the necessary changes.

3. Build the EJB project.

4. Build the EAR project which is containing your EJB Module project.

5. Deploy the EAR project to the server.

Note: If your changes to the method includes, any signature change, then you need to create the webservice again.

Do let me know if you need any further clarification.

Regards,

VJR.