Re: AW: Compressing SOAP requests and using SSL

Nige White <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <[email protected]>
Malte Kempff wrote:

>Hi Nigel,
>I am using soap2.3.1 for RPCs
>calling the methods takes as far I remember not very much changes
>and it is looking somehting like this:
>
>...
>SOAPHTTPConnection st = new SOAPHTTPConnection();
>...
>SOAPContext ctx = new SOAPContext();
>ctx.setGzip(true);
>Call call = new Call(m_soapServiceName,
>                     callName,
>                     params,
>                     null,
>                     Constants.NS_URI_SOAP_ENC,
>                     ctx
>                    );
>call.setSOAPTransport(st);
>...
>
>Butyou also need to enhance the soap depoloy discriptor looking something
>like this:
>
>   <isd:provider type="java"
>                  scope="Application"
>                  methods= "...">
>    ...
>	<isd:option key="gzip" value="true"/>
>    ...
>  </isd:provider>
>  
>

There is no setGzip() method in SOAPContext in SOAP 2.3.1!

I have no deployment descriptor, I have written/generated the server, 
it's up to me to upzup the HTTP content.

Nige


_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.