Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Configuring secured Web service calls from WebSphere Process Server V7 to a non-WebSphere server via SSL

Photo of Keerthana Sharath
Keerthana Sharath is an Application Integration and Middleware Solutions Specialist with WebSphere Lab Services at IBM India Software Labs. She has worked on customer engagements involving various products, such as WebSphere Application Server, WebSphere Process Server, ILOG, and WebSphere Lombardi. She has also worked with WebSphere Education Development to develop and deliver WebSphere courses. Keetharna is a certified WebSphere Application Server Administrator, Process Server Administrator, and Lombardi Business Process Developer.

Summary:  This tutorial provides steps to configure an SSL for a Web service call from WebSphere® Process Server to a non-WebSphere Web service. It covers generating client and sample server keys, importing certificates, configuring the SOAP UI for SSL, mocking up the Web service, and testing the SSL.

Date:  21 Dec 2011
Level:  Intermediate PDF:  A4 and Letter (1447 KB | 25 pages)Get Adobe® Reader®

Activity:  15506 views
Comments:  

Before you start

Configuring a Secure Sockets Layer (SSL) is important to implement security during Web service calls. The SSL is used to transport SOAP messages between a client and a Web service over HTTP.

This tutorial provides steps to configure an SSL for a Web service request from WebSphere Process Server (hereafter called Process Server) to a Web service running outside the WebSphere environment. In many scenarios, during the development of Process Server and WebSphere Enterprise Service Bus (ESB) modules, a developer is dependent on the external systems or Web services to be available to configure and test the SSL. This tutorial isolates the need of having the endpoint available and running by generating the sample server keys and mocking the Web services by using the SOAP UI to test and configure the SSL.

Consider the Process Server module as a client and the endpoint outside the WebSphere environment as the server. Since the client connects to the server, the client has to import the server's public key into its truststore, and the server decrypts the data using its private key as shown in Figure 1.


Figure 1. Client server key and trust stores
Client server key and trust stores

In the above scenario, the SSL is configured for server authentication. However, if the SSL is configured for client authentication, it will fail because the server does not have the client's public key in its truststore.

This tutorial covers the following steps:

  • Generating the client and sample server keystore and truststore using the ikeyman tool
  • Importing the server certificate into the Process Server trust store
  • Mocking the Web services using the SOAP UI
  • Testing the SSL connection

Note: The SOAP UI is the world's leading Open Source Functional Testing tool for Web service testing. It is the leading desktop application for inspecting, invoking, monitoring, simulating or mocking, as well as functional testing, security testing, and so on.

Prerequisites

  • You must be familiar with the SOAP UI.
  • You need to have good hands-on experience in configuring Process Server and performing administrative activities.
  • You need to have an understanding of Web services.
  • You must be familiar with WebSphere Integration Developer (hereafter called Integration Developer) and using it as a development tool.

System requirements

  • Microsoft® Windows® machine
  • SOAP UI
  • IBM® WebSphere Integration Developer V7 installed with a WebSphere Process Server V7 test environment

Preparing the environment

In this tutorial, the following directories are used as the installation paths for the components:

  • WebSphere Integration Developer root: C:\IBM\WID7
  • WebSphere Process Server root: C:\IBM\WID7_WTE\runtimes\bi_v7

Duration

This tutorial will take about 2 to 3 hours to complete.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere, SOA and web services
ArticleID=781835
TutorialTitle=Configuring secured Web service calls from WebSphere Process Server V7 to a non-WebSphere server via SSL
publish-date=12212011
author1-email=keerthana.sharath@in.ibm.com
author1-email-cc=dwu@us.ibm.com

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.