Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Application Services developed with SAP NW CE 7.1 - CAF (EJB Model ?)

Hello!

First of all I use the SAP NetWeaver Developer Studio of the SAP NetWeaver Composition Environment 7.1 (SP01).

Now to my question:

I have 2 projects in my workspace. A "Development component"-project where I developed the Application Services and a "Web Dynpro Development Component"-project.

Now I want to use my Application Services in the Web Dynpro Application. All the howtos write something like this: "The developer only needs to call the generated get<b><AS_NAME></b>Service method to get reference to application service <b><AS_NAME></b>."

In the Build Path of the "Web Dynpro Development Component"-project I add the "Development Component"-project. But I can only instanciate an object of the class <b><AS_NAME></b>BeanImpl and call the methods.

Which is the correct way to get reference to an application service?

Or do one typically don't use application service in Web Dynpro?

Regards,

Armin

Former Member
Former Member replied

Hi Armin,

Consume the BAPIs from the CAF as external service do the external configuration in service registry to maintain backend connections for your external services.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370">Using a Web Service as External Service</a>

Right click on the Application Service Name then select <b>Expose Service as webservice</b> .Then use this webservice from Webdynpro application by <b>Import Adaptive Web Service Model</b>.

Migration Guide: Web Service Model to Adaptive Web Service Model

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/b5/ce88b82d7bfe4799ba7e175558d0ba/frameset.htm">Consuming a Web Service</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07de95b-d81c-2a10-3daf-96172e846d00">Migration Guide: Web Service Model to Adaptive Web Service Model</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50b39b93-275d-2a10-4d94-d0b2e262bc75">Service Composition with SAP Composition Application Framework</a>

Regards,

Mithu

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question