Greetings,

I've written an Axis client/service pair that uses "soapConnection.call()" to
send SOAP attachments to the service, along with parameters specifying input and
output mime-extensions. The client will not know the actual mime-type of the
response attachment that the server will return after converting the request
file.

The service end is not a servlet, but just a SOAP service.
The service needs to map the request mime-extensions to mime-types according to
<mime-mapping> elements in the Axis web.xml file.

The only call I can find in any docs that does this mapping is the
Context.findMimeMapping(String extension) call.

But its not clear to me how the service end can get a reference to the
appropriate Context so it can make this mapping call. Can someone point me to
the correct methods? Or if I'm just on the wrong path here, point me in a better
direction?

Many thanks! Bill

Bill Barber
Scientific Software Group (CCN-12)
Los Alamos National Laboratory
505-667-8616

Reply via email to