Results 1 to 2 of 2

Thread: How to stream a MTOM response from within a WebServiceTemplate

  1. #1
    Join Date
    Nov 2012
    Posts
    2

    Default How to stream a MTOM response from within a WebServiceTemplate

    Hi,

    I hope someone can give me some advice.
    I'm developing a webserviceclient (wsc) using Spring WS 1.0.
    The webservice I'm calling with my wsc responds with a MTOM message.
    I dont want to hold the complete message in memory because it could become large.
    So what i want to do is to stream the MTOM attachment directly to a file on disk.
    How can I achieve this? What is the way to do this?

    Alexander

  2. #2
    Join Date
    Nov 2012
    Posts
    2

    Default

    I've found an example using Axiom which looks like what I'm looking for. I'm going to try it out.
    https://fisheye.springsource.org/bro...ent/spring-ws/

Tags for this Thread

Posting Permissions

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