Debugging SOAP

soapUI is a great tool for tracking down SOAP problems.

The start script, soapui.sh, needed to be modified to use my TLS and client certificates

# Original
#java -cp $SOAPUI_CLASSPATH com.eviware.soapui.SoapUI $1

# Modified
java -Djavax.net.ssl.trustStore=${CERT_PATH}/tls-trust.jks \
-Djavax.net.ssl.trustStorePassword=secret \
-Djavax.net.ssl.keyStore=${CERT_PATH}/my-keystore.jks \
-Djavax.net.ssl.keyStorePassword=password \
-cp $SOAPUI_CLASSPATH com.eviware.soapui.SoapUI $1

Note: on OS X soapUI 1.5 uses the Control key instead of Command for operations like cut and paste.

Advertisements
Posted in soap

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: