code: public static void setMetroDebugSystemProperties (final boolean bDebug)
    {
      // Depending on the used JAX-WS version, the property names are
      // different....
      enableSoapLogging (bDebug);
  
      SystemProperties.setPropertyValue ("com.sun.xml.ws.transport.http.HttpAdapter.dump", Boolean.toString (bDebug));
      SystemProperties.setPropertyValue ("com.sun.xml.internal.ws.transport.http.HttpAdapter.dump",
                                         Boolean.toString (bDebug));
  
      SystemProperties.setPropertyValue ("com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace",
                                         bDebug ? null : "false");
  
      SystemProperties.setPropertyValue ("com.sun.metro.soap.dump", Boolean.toString (bDebug));
      SystemProperties.setPropertyValue ("com.sun.xml.wss.provider.wsit.SecurityTubeFactory.dump",
                                         Boolean.toString (bDebug));
      SystemProperties.setPropertyValue ("com.sun.xml.wss.jaxws.impl.SecurityServerTube.dump", Boolean.toString (bDebug));
      SystemProperties.setPropertyValue ("com.sun.xml.wss.jaxws.impl.SecurityClientTube.dump", Boolean.toString (bDebug));
      SystemProperties.setPropertyValue ("com.sun.xml.ws.rx.rm.runtime.ClientTube.dump", Boolean.toString (bDebug));
    }
docs: Enable advanced JAX-WS debugging on more or less all relevant layers. This
  method internally calls {@link #enableSoapLogging(boolean)} so it does not
  need to be called explicitly. By default all this logging is disabled.
  
  @param bDebug
  <code>true</code> to enabled debugging, <code>false</code> to
  disable it.