Results 1 to 2 of 2

Thread: Spring, Axis and Gzip

  1. #1

    Default Spring, Axis and Gzip

    Hi folks,

    I need to enable gzip compression but I am unable to find out how to do this.
    From look around on the web, I can a set a custom property within the bean

    <code>
    <bean id="test" class="com.doc.MyJaxRpcPortProxyFactoryBean" singleton="true">
    <property name="serviceFactoryClass">
    <value>org.apache.axis.client.ServiceFactory</value>
    </property>
    <property name="wsdlDocumentUrl">
    <value>wsdl location ..</value>
    </property>
    <property name="namespaceUri">
    <value>..</value>
    </property>
    <property name="serviceName" value="..."/>
    <property name="serviceInterface">
    <value>..</value>
    </property>
    <property name="portName">
    <value>...</value>
    </property>
    <property name="customProperties">
    <props>
    <prop key="transport.http.acceptGzip">true</prop>
    <prop key="transport.http.gzipRequest">true</prop>
    </props>
    </property>

    </code>

    And this was taken from
    http://www.pocketsoap.com/weblog/2005/10/1565.html

    But i am unable to set the transport entry to be CommonsHTTPSender instead of the default HTTPSender, which does not have gzip compression enabled.
    Any ideas on how to do this or how we can set gzip up within spring with axis


    Regards
    Danny

  2. #2

    Default

    Ok,

    Got it resolved..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •