File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis 2 - MTOM Service problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 2 - MTOM Service problem" Watch "Axis 2 - MTOM Service problem" New topic

Axis 2 - MTOM Service problem

Manuj Bawa

Joined: Dec 13, 2004
Posts: 7

I have written a webservice which takes in a paramter (file name with path) and returns its binary data within a DataHandler

The WSDL goes as follows:

The webservice works perfectly fine when invoked using a stand alone client, but when invoked from within the web-application that hosts this webservice, it pops up an Axis Fault:

I have tried disabling addressing in axis2.xml completely, tried sending the action explicitly but have not been able to make it work when the WS is invoked from within the web application.


The WebServer is WebSphere 6.1. MTOM is enabled in axis2.xml.

Any Ideas? Help appreciated, my mind has stopped working today to read up about WS-Addressing and analyze this...

[ December 27, 2007: Message edited by: Manuj Bawa ]
I agree. Here's the link:
subject: Axis 2 - MTOM Service problem
It's not a secret anymore!