Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: SOAP Compression Sender for Apache Axis

Axis can be extended with this transport sender to support the compression of SOAP messages. The sizes of SOAP messages are dramatically reduced resulting in faster transmission over slow network connections. The extension is easy to install and can be us

Tutorial Details:

The sender only covers compression and decompression on the client side. However, it can be combined with features of the Web container or a servlet filter. It is not necessary to change Axis itself to use SOAP compression.

Client Side
The sender is included in the library soap-compression-1.2.jar. This library has to be included into the classpath. After the sender's class is available, Axis must be configured to use the gzip compression sender instead of the HTTP sender. On startup, an Axis client looks for a configuration file named client-config.wsdd in the current directory and in the classpath. To replace the sender, the file client-config.wsdd with a transport element should be used (see below). The easiest way to achieve this is to place the file in the directory where the Axis client is started.

The compression sender is compatible with Axis 1.1 or newer. The configuration is different depending on which version of Axis is used. The difference lies in how parameters are declared in the file client-config.wsdd. These parameters can switch the compression of HTTP requests and decompression of HTTP responses on and off.

Setting the parameter compressRequest to true turns on the compression of requests. Setting the parameter acceptEncodingHeader to true asks the server to compress responses.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
SOAP Compression Sender for Apache Axis

View Tutorial:
SOAP Compression Sender for Apache Axis

Related Tutorials:

Clean up your wire protocol with SOAP, Part 1 - JavaWorld March 2001
Clean up your wire protocol with SOAP, Part 1 - JavaWorld March 2001
 
Clean up your wire protocol with SOAP, Part 2 - JavaWorld April 2001
Clean up your wire protocol with SOAP, Part 2 - JavaWorld April 2001
 
Clean up your wire protocol with SOAP, Part 3 - JavaWorld June 2001
Clean up your wire protocol with SOAP, Part 3 - JavaWorld June 2001
 
XML messaging, Part 2 - JavaWorld June 2001
XML messaging, Part 2 - JavaWorld June 2001
 
Clean up your wire protocol with SOAP, Part 4 - JavaWorld July 2001
Clean up your wire protocol with SOAP, Part 4 - JavaWorld July 2001
 
XML messaging, Part 3
XML messaging, Part 3
 
Axis: The next generation of Apache SOAP
Axis: The next generation of Apache SOAP
 
Jtrix: Web services beyond SOAP
Jtrix: Web services beyond SOAP
 
Publish and find UDDI tModels with JAXR and WSDL
Publish and find UDDI tModels with JAXR and WSDL
 
Axis-orizing objects for SOAP
Axis-orizing objects for SOAP
 
Let the mobile games begin, Part 2
Let the mobile games begin, Part 2
 
SAAJ: No strings attached
SAAJ: No strings attached
 
good design pattern
good design pattern
 
Excerpt from Apache Axis Live
Excerpt from Apache Axis Live This chapter, "Getting Started with the Apache Axis Project," you will take "a brief look at what Axis is and how it implements some of the SOAP services.
 
Capture the benefits of asynchronous logging
Capture the benefits of asynchronous logging Develop an asynchronous log service using JMS and Hibernate This article will help you develop a simple log service. The service creates some log messages, sends them across the network to a JMS provider,
 
2Way HTTP Compression Servlet Filter
2Way HTTP Compression Servlet Filter 2Way compression filter is a Servlet filter that compresses and decompresses both HTTP requests and HTTP responses using gzip. It was originally written to compress SOAP messages, but it can be used for any Web appl
 
SOAP Compression Sender for Apache Axis
Axis can be extended with this transport sender to support the compression of SOAP messages. The sizes of SOAP messages are dramatically reduced resulting in faster transmission over slow network connections. The extension is easy to install and can be us
 
Free SOAP Monitor
Membrane SOAP Monitor is a free Web Services development tool for inspecting and manipulating SOAP messages. It acts as a SOAP proxy between a consumer and a producer. SOAP messages can be intercepted, viewed and modified.
 
Leverage JNLP and SOAP for Java Thick-client Development
Leverage JNLP and SOAP for Java Thick-client Development The hype during the mid-to-late 1990's over Java's utility to run swarms of autonomous applets was greatly exaggerated. This early enthusiasm (and marketing) for Java as a language with which devel
 
Integrating Java Open Single Sign-On in Pluto
This article shows how to integrate Java Open Single Sign-On in Apache\'s Pluto portlet container.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.