Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 - MTOM Service problem

 
Manuj Bawa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Services.xml



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...

Thanks,
Manuj
[ December 27, 2007: Message edited by: Manuj Bawa ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic