Skip to Main Content
Enterprise SOA
book

Enterprise SOA

by Dan Woods, Thomas Mattern
April 2006
Intermediate to advanced content levelIntermediate to advanced
456 pages
15h 32m
English
O'Reilly Media, Inc.
Content preview from Enterprise SOA

How do you create a service provider in Java?

In Chapter 15, we described how to service enable a Remote Function Call (RFC), creating a service from the inside out using ABAP. The process for service enabling a method in a Java class or EJB is quite similar, but it is worth taking a detailed look from the Java side. Similar to the example in Chapter 15, we will be providing employee address data through the web service we create in this section.

Since we are enabling existing functionality, we will assume that the EJB to be exposed already exists and that it has been imported into SAP NetWeaver Developer Studio or created in that development environment. We will also assume that an existing Enterprise Archive (EAR) project is associated with this EJB. In this example, we will work with a stateful session bean.

We start the Web Service Creation Wizard by right-clicking on the bean we want to service enable and selecting New → Web Service, as shown in Figure 16-2.

Service enabling an EJB

Figure 16-2. Service enabling an EJB

The Web Service Creation Wizard starts, as shown in Figure 16-3.

The Web Service Creation Wizard

Figure 16-3. The Web Service Creation Wizard

If you read Chapter 15, you may notice that the Java version of this wizard looks a bit different from the ABAP version. The Source Folder and Endpoint fields default to values appropriate ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Patterns: Extended Enterprise SOA and Web Services

Patterns: Extended Enterprise SOA and Web Services

Martin Keen, Hong Hua Chin, Chidambaram Ganapathi, David Ghazaleh, Pål Krogdahl, Wendy Neave, Mandeep Sahni, Jacob Thorwart
Smart SOA Connectivity Patterns: Unleash the Power of WebSphere Connectivity Portfolio

Smart SOA Connectivity Patterns: Unleash the Power of WebSphere Connectivity Portfolio

Virendar Solanki, Joao Emilio Santos Bento da Silva, Shishir Narain, Matt McLarty, Rajan Kumar, Rahul Gupta, Vineet Gupta, Vasfi Gucer, Lingachary Eswarachary, Ulas Cubuk, Peter Broadhurst
SOA Governance

SOA Governance

William A. Brown, Robert G. Laird, Clive Gee, Tilak Mitra

Publisher Resources

ISBN: 0596102380Errata Page