Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

In the blog series we outline how to model and develop Enterprise Services with SAP NetWeaver CE 7.1, but what about the previous release NetWeaver 7.0 can that be used as well?

 

Find out by reading on and downloading the detailed document created by our colleague Hans-Joachim Odlozinski.

 

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 ....

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 with the help of Axis2 and the deployment of these services.

Please see the 360° View on enterprise SOA: Provide and consume your own enterprise services – Implement the provid... part for the background of the services we're going to implement.

How do we do it?

  • Download and install Axis2 from http://ws.apache.org/axis2
  • Download and install Ant if you don't have it (http://ant.apache.org/)
  • Use the WSDL2Java tool to create the skeletons for you service from the WSDL
  • Implement the service in the generated Java class
  • Generate the *.aar file with "ant jar.server"
  • Package the resulting file in a WAR and then EAR file
  • Create a J2EE Library with the NetWeaver 7.0 Developer Studio for Axis
  • Deploy both the Axis2 Library and the EAR file containing the service
  • Validate and configure the Aixs2 runtime
  • Upload the *.aar file created earlier with the Axis2 web frontend
  • Test your service
To get the full step-by-step details please read Enterprise Service Provisioning on SAP NetWeaver Using Apache Axis Web Services Framework

Why is this so complicated?

 

First of all NetWeaver 7.0 and it's tools doesn't have the capability to generated a web service top-down from a existing interface description (WSDL). So we add this functionality to the stack using the Axis2 framework. Second Axis2 comes with a different version of some common libraries that are also part of the NetWeaver Java Server, but in a different version. The resulting classloading conflicts has the be worked around with a slightly more complex application architecture consisting of a library and an application.

The good news is that some of the steps above need to be done only once and subsequent service implementation will be much easier.

The easiest solution however is to move up to SAP NetWeaver CE 7.1 if that's feasible for you.

 

In a nutshell: From having your WSDL handy -> running your service on SAP NetWeaver 7.0

You've now implemented the Enterprise Service modeled in Part 5 using Axis2. Publication and classification of the service into a existing Services Registry needs to be done manually.

From here you can jump to Part8 for a view on the Services Registry or Part 9 if you want to start using your service with 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 ...
2. 360° View on enterprise SOA: Provide and consume your own enterprise services – The End-to-End Scena...
3. 360° View on enterprise SOA: Provide and consume your own enterprise services – Obtaining SAP Compos...
4. 360° View on enterprise SOA: Provide and consume your own enterprise services – Installing and Confi...
5. 360° View on enterprise SOA: Provide and consume your own enterprise services – Model and define you...
6. 360° View on enterprise SOA: Provide and consume your own enterprise services – NetWeaver Developer ...
7. 360° View on enterprise SOA: Provide and consume your own enterprise services – Implement the provid... 
7b. 360° View on enterprise SOA: Provide and consume your own enterprise services – Enterprise Service P... (This blog)
7c. 360° View on enterprise SOA: Provide and consume your own enterprise services – Using the Composite ...
8. 360° View on enterprise SOA: Provide and consume your own enterprise Services – Publish, discover an...
9. 360° View on enterprise SOA: Provide and consume you own Enterprise Services - Consume your Enterpri...
10. 360° View on enterprise SOA: Provisioning and Consumption Blog Series Summary (Final Part)
6 Comments