protected void openSoapMonitor( WsdlProject target, int listenPort, String incomingRequestWss,
String incomingResponseWss, boolean setAsProxy, String sslEndpoint )
{
if( sslEndpoint == null )
{
UISupport.showDesktopPanel( new SoapMonitorDesktopPanel( target, listenPort, incomingRequestWss,
incomingResponseWss, setAsProxy, null ) );
}
else
{
String ssl = validate( sslEndpoint );
if( ssl == null )
{
UISupport.showErrorMessage( "SSL Monitor needs endpoint." );
}
else
{
UISupport.showDesktopPanel( new SoapMonitorDesktopPanel( target, listenPort, incomingRequestWss,
incomingResponseWss, setAsProxy, ssl ) );
}
}
}