Thanks for the quick help. The spec you refer to is actually for SOAP12, therfore it is understandable to prohibit SOAP11. But I want to stay with SOAP11 completely. I specified my WSDL (I hope completely) for SOAP11 and expected the generated client-stub and server-sekelton to use also only SOAP11. But during the processing of the incoming attachment on the server-side the SimpleMailListener is called. And as it is part of the product it is unchangable.
I am not sure, that I understand, where to specify the used SOAP-version. I can include bindings for 1.1 and 1.2 in the WSDL. But where do I tell client and server which version to use? Thanks, Christopher PS: I very much appreciate the time you (all) spend to help all the axis-users. Hi, This is done by definition. Mail transport listener has been written to tally with spec [1]. This spec strictly prohibits of using SOAP11. There is no interoperable way to set some of the header parameters for SOAP 11. I believe it's time to make some amendments to spec to cope with all user cases. Please do create a JIRA. Thank you! Saminda Reference: [1]. http://people.apache.org/~pzf/SMTPBase64Binding.html On Thu, May 29, 2008 at 9:59 AM, Deepal jayasinghe <[EMAIL PROTECTED]> wrote: Please create a JIRA. Thank you! Deepal Hi Team, I have to send my SOAP-messages with SOAP11. But the server does not accept mails with the content-type text/xml: [ERROR] According to the mail sepec, mail transport should support only application/soap+xml [ERROR] Error in SimpleMailListener - processing mail org.apache.axis2.AxisFault: According to the mail sepec, mail transport should support only application/soap+xml at org.apache.axis2.transport.mail.SimpleMailListener.buildSOAPEnvelope(SimpleMailListener.java:470) ... Unfortunately this check is hardcoded into the SimpleMailListener: if (contentType.indexOf(SOAP12Constants.SOAP_12_CONTENT_TYPE) > -1) { TransportUtils .processContentTypeForAction(contentType, msgContext); } else {... Is there any way around or did I simply miss some property to be set? Thanks for helping, Christopher --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Saminda Abeyruwan Senior Software Engineer WSO2 Inc. - www.wso2.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]