Skip to Content

In the 360° View on enterprise SOA: Provide and consume your own enterprise services – NetWeaver Developer Studio Installation and Update (Part 6) we prepared our development environment with the installation and update of SAP NetWeaver Developer Studio 7.1 (NWDS). In this blog we use the updated Enhancement Pack 1 (EhP1) Version available here, but the installation is pretty much the same so we’ll ommit it here.

Now we are going to use new NWDS of SAP NetWeaver CE 7.1 EhP1 to implement the business functionality that the service will expose with the Composite Application Framework (CAF) as shown in the attached screencam and explained below.

 

Missed out the first part(s) of the series? Start up with 360° View on enterprise SOA : Provide and consume your own enterprise services-  Introduction (Part 1).

Blog overview

This blog series describes how to reengineer “existing offerings into a set of well-governed, harmonized and technology-agnostic enterprise services”, to ultimately consume these. This installment shows the service implementation starting with the configuration of the environment and the actual implementation and deployment of these services.

What are we going to implement?

For the scope of the implementation you can refer back to the original 360° View on enterprise SOA: Provide and consume your own enterprise services – Implement the provided Enterprise service within the SAP NetWeaver Developer Studio using Java (Part 7) of the blog series.

How do we do it?

In contrast to the original implementation that used plain JavaEE technology we now use the Composite Application Framework (CAF) and leverage some new features like the Enterprise Service Repository Browser to retrieve the service definition that we created in the previous steps. We will also use Development Components (DCs) as the base for our projects.

We can only scratch the surface on implementing Enterprise Services in this blog. There are many more aspects that need to be considered.

If you plan to adopt this approach for your product or custom development we encourage you to attend the SOA300 training in an SAP University location near you.

Screencam Storyboard: Provisioning Enterprise Services with CAF

 

1. Import reference application

We rely on the functionality of a reference application and reuse it to implement the Enterprise Services.

2. Create DC projects

The new projects will be based on Development Components.

3. Convert projects

In order to be able to use the existing reference application in a clean way we convert it to DCs. In the future there will be more automated support for this conversation.

4. Adjust DCs

5. Create CAF project

6. Import WSDL from ESR

Use the Enterprise Services Repository Browser to get the WSDL of the designed services.

7. Service Implementation

Create the actual Java code. This is almost identical to the original code in Part 7 as the underlying implementation for CAF Application Services are EJBs.

8. Classify services

Do the classification right from the Composite Tools.

9. Deploy

Deploy the Development Components.

10. Test service

Use the WSNavigator to test the service.

11. Summary

                      

In a nutshell: From having your IDE ready -> your Enterprise Service implemented, classified and deployed with CAF.

 

You’ve seen that CAF based development is even more convenient then with the plain JavaEE approach and you learned about Development Components.

From here you can go to 360° View on enterprise SOA: Provide and consume you own Enterprise Services – Consume your Enterprise Services within Visual Composer (Part 9) to see the usage of the services in Visual Composer.

 

In the following the links to the other blogs from the series:  

1. 360° View on enterprise SOA : Provide and consume your own enterprise services-  Introduction (Part 1)
2. 360° View on enterprise SOA: Provide and consume your own enterprise services – The End-to-End Scenario (Part 2)
3. 360° View on enterprise SOA: Provide and consume your own enterprise services – Obtaining SAP Composition Environment 7.1 with ESR (Part 3)
4. 360° View on enterprise SOA: Provide and consume your own enterprise services – Installing and Configuring SAP Composition Environment 7.1 with ESR (Part 4)
5. 360° View on enterprise SOA: Provide and consume your own enterprise services – Model and define your own Enterprise Services (Part 5)
6. 360° View on enterprise SOA: Provide and consume your own enterprise services – NetWeaver Developer Studio Installation and Update (Part 6)
7. 360° View on enterprise SOA: Provide and consume your own enterprise services – Implement the provided Enterprise service within the SAP NetWeaver Developer Studio using Java (Part 7)
7b. 360° View on enterprise SOA: Provide and consume your own enterprise services – Enterprise Service Provisioning on SAP NetWeaver Using Apache Axis Web Services Framework (Part 7b)
7c. 360° View on enterprise SOA: Provide and consume your own enterprise services – Using the Composite Application Framework (CAF) of SAP NetWeaver CE 7.1 EhP1 to implement the provided Enterprise service (Part 7c) (This blog)
8. 360° View on enterprise SOA: Provide and consume your own enterprise Services – Publish, discover and test the Enterprise Services within the Services Registry (Part 8)
9. 360° View on enterprise SOA: Provide and consume you own Enterprise Services – Consume your Enterprise Services within Visual Composer (Part 9)
10. 360° View on enterprise SOA: Provisioning and Consumption Blog Series Summary (Final Part)

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply