Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

How to Use SOAP Compression Message and Attachment with Apache Axis 1.X

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,


I wanna do compress SOAP message and attachment. I am using Apache Axis 1.X.

Is there any inbuilt function or we have to do compress before send message and attachment. And decompress while receiving in other side.

If any one know please help.


Thanks

Raj
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you transferring your attachment as BASE64 encoded form then you can use soap with attachment (SWA) supported by axis 1.0. If you want to optimize it further use MTOM support provided in AXIS2 for attachments.
 
Raj Shri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Shiv

Please can you tell me how to set in SOAP with attachment (SWA) supported. Can I do like below.

<transport name="http" pivot="java:com.osmoticweb.soapcompression.CompressionHTTPSender">
<parameter name="compressRequest" value="true"/>
<parameter name="acceptEncodingHeader" value="true"/>
</transport>

One more thing Should I do somthing on client side also. Because my serve is in java and client is in C#.


Thanks

Raj
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic