O'Reilly logo

Patterns: Implementing Self-Service in an SOA Environment by Fernando Teixeira, Shashi Shrimali, Peter Hood, Sandy Grewal, Diego Cotignola, Anup Aggarwal, Carla Sadtler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

438 Patterns: Implementing Self-Service in an SOA Environment
Set the ServerName to the CICS TG server name.
Set the fully qualified host name (ConnectionURL) to the machine CICS
TG is installed.
Set the PortNumber for CICS TG. The default is 2006.
Figure 12-30 Connection factory Properties
8. Save your changes.
12.5.3 Configure the bus for the Web service
Note: Our scenario assumes that you have done the following:
򐂰 Created a bus called ITSOMartBus and added the application server as a
member.
For information about creating the bus and adding the members, see
“Create a service integration bus” on page 463.
򐂰 Installed the Web services support for the bus. For information about how
to do this, see “Install Web services support for the bus” on page 464.
This section is very much a repeat of the information found in 10.7, “Runtime
guidelines for Web services” on page 331 so we will not go into detail, but just
briefly touch on what needs to be done for the ITSOMart application.
Chapter 12. J2EE Connector Architecture scenario 439
Create an endpoint listener
Create an endpoint listener for the application server using the following settings.
The instructions for this are in “Create an endpoint listener” on page 335.
򐂰 Name: SOAPHTTPChannel2.
򐂰 URL root:
http://localhost:9080/ws2soaphttp
򐂰 WSDL serving HTTP URL root:
http://localhost:9080/JCAWeb/wsdl
򐂰 Add a connection property and select ITSOMartBus as the bus.
Create an outbound service
Use the instructions in 10.7.4, “Create the outbound services” on page 337 to
create an outbound service with the following settings:
򐂰 WSDL location type: URL
򐂰 WSDL location:
http://localhost:9080/JCAWeb/wsdl/com/ibm/patterns/jcaService/MartJ2CBeanIm
pl.wsdl
򐂰 Service: MartJ2CBeanImplService
򐂰 Port: MartJ2CBeanImpl
Create the inbound service
Use the instructions in 10.7.5, “Create the inbound services” on page 340 to
create an inbound service with the following settings:
򐂰 Service destination name:
http://jcaService.patterns.ibm.com:MartJ2CBeanImplService:MartJ2CBeanImpl
򐂰 Template type: URL
򐂰 Template WSDL location:
http://localhost:9080/JCAWeb/services/MartJ2CBeanImpl/wsdl/MartJ2CBeanImpl.
wsdl
򐂰 Inbound service name: MartJ2CBeanImplInboundService
򐂰 Endpoint listener: SOAPHTTPChannel2
򐂰 Port name: JCAPort
The results can be seen in Figure 12-31 on page 440.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required