Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Enable gzip in soap message. Apache soap caller.  RSS feed

Imesh Damith
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I want to zip my soap request message. below is the code i use to send. I do not use axiz. i use just soap caller.

Message message_ = new Message ();
ApacheMessageBody ourBody = new ApacheMessageBody ();

this.envelope_.setBody (ourBody);

message_.send (this.getEndPoint(), this.soapActionUri_, this.envelope_);
this.soapMessage_ = this.message_.receive();
return this.soapMessage_.getInputStream();
please let me know how to enable gzip here.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!