Skip to content

SOAP Compression

A useful performance enhancement, dynamic compression can be set up to allow JustWare to compress all SOAP (Simple Object Access Protocol) network requests. This effectively reduces the overall amount of network traffic from JustWare. Dynamic compression does not reduce the number of network requests; it simply reduces the overall size of each request. Although dynamic compression only affects JustWare after it is installed, installation is a good time to configure compression. For performance increases during installation, enable static HTTP compression as well. HTTP Compression.

Note: SOAP compression is an optional performance enhancement, and all JustWare components function without it. However, it is highly recommended that you take advantage of the overall performance increases that SOAP compression provides.

Configuring SOAP Compression for IIS 6

Caution: You must have server administrator privileges to complete the configuration.

  1. Click Start | Control Panel | Administrative Tools | Internet Information Services (IIS) Manager.
  2. In the IIS Manager window, click on the server name in the left-hand navigation pane. The Web services associated with the server appear in the right-hand pane.
  3. Right-click on the Web Sites service and click Properties. The Web Sites Properties dialog box appears.
  4. Select the Service tab.
  5. Select the boxes for Compress application files and Compress static files.
  6. If you choose, create a new folder and change the Temporary Directory location to that folder (the IUSR_{machinename} will need write permission to the folder), or leave it at its default.
  7. Set the Maximum temporary directory size to something that the hard drive can handle, e.g., 1000.
  8. Click Apply to save the changes, then click OK to close the Web Sites Properties dialog box. Now that compression is enabled, you must change the default compression level.
  9. Open a command prompt session. To do this, click Start | Run.
  10. In the Open field of the dialog box, type cmdand click OK. A command prompt window opens.
  11. When first opened, the command prompt will look in the Documents and Settings Directory by default. You will need to access settings in the root directory (usually the C: drive). Type cd C:\ and press Enter.
  12. Change the directory to the \InetPub\AdminScripts folder. To do this, type cd \Inetpub\AdminScripts and then press Enter.
  13. Type CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcDynamicCompressionLevel 5 and press Enter.
  14. Type IISRESET.EXE and press Enter to reset IIS.

Configuring SOAP Compression for IIS 7

Caution: You must have server administrator privileges to complete the configuration.

  1. Click Start | Control Panel | Administrative Tools | Internet Information Services (IIS) Manager.
  2. In the IIS Manager window, click on the plus sign next to the server name in the left-hand navigation pane to expand the menu.
  3. Expand the Sites menu and click on Default Web Site. The Default Web Site page appears to the right in Features View.
  4. In the IIS group, double-click Compression. The Compression options appear.
  5. Select the Enable dynamic content compression check box.
  6. In the Actions pane, click Apply to save the changes. Now that compression is enabled, you must change the default compression level.
  7. Open a command prompt session. To do this, click Start | Run.
  8. In the Open field of the Run dialog box, type cmd and click OK. A command prompt window opens.
  9. You will need to access files in the main Windows directory in the root directory (usually the C: drive). Type cd C:\windows and press Enter.
  10. Type System32\Inetsrv\appcmd.exe set config -section:httpCompression -\[name='gzip'\].dynamicCompressionLevel:5 and press Enter.
  11. Type IISRESET.EXE and press Enter to reset IIS.