Greetings again, I'm wondering if I sent this query to the wrong list, or if no one knows the answer to the question? People generally answer questions so quickly here. Perhaps there is a more appropriate list for this question? Any help would be appreciated!
Thanks! Bill Bill Barber Scientific Software Group (CCN-12) Los Alamos National Laboratory 505-667-8616 ---------- Forwarded message ---------- Date: Wed, 30 Jul 2003 12:16:16 -0600 (MDT) From: William Barber <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to map mime-extentions to mime-types in an Axis service 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
