Use Secure Sockets Layers (SSL) to allow the service integration
bus to invoke external Web services that include https:// in
their addresses.
To enable service integration technologies to use SSL configurations
to send and receive SOAP over HTTPS messages, complete the following steps:
- Start the administrative console.
- In the navigation pane, click . The SSL configuration
repertoires panel is displayed.
- Click New JSSE Repertoire to create a new Secure Sockets
Layer repertoire configuration entry.
- Create a new JAX-RPC
handler class that sets the property ssl.configName to
a value that is the name of the SSL repertoire configuration that you have
just created. For example:
public class SSLHandler extends GenericHandler {
public QName[] getHeaders() {
return null;
}
public boolean handleRequest(MessageContext mc) {
// Insert SSL property
mc.setProperty("ssl.configName", "myNode/SSLConfig");
return super.handleRequest(mc);
}
}
- Create a new JAX-RPC handler configuration for the handler.
- Create
a new JAX-RPC handler list, then select the handler that sets the SSL
configuration name property and add it to the handler list.
- Use the instructions given in Modifying an existing outbound service configuration to navigate to the administrative console page bus_nameservice_nameport_name, where service and port indicate
the outbound port that is to use SSL.
- Set the JAX-RPC Handler list property by selecting, from
the selection list, the handler list that sets the SSL configuration name
property.
- Save your changes to the master configuration.