Win a copy of Pipeline as Code this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Axis 2 - MTOM Service problem

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Lasagna is spaghetti flvored cake. Just like this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic