Author: heiko.braun(a)jboss.com
Date: 2007-03-20 05:37:42 -0400 (Tue, 20 Mar 2007)
New Revision: 2645
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/EndpointInvocation.java
Log:
Relieve WSI compliance
Modified: trunk/jbossws-core/src/java/org/jboss/ws/core/EndpointInvocation.java
===================================================================
--- trunk/jbossws-core/src/java/org/jboss/ws/core/EndpointInvocation.java 2007-03-20
08:36:21 UTC (rev 2644)
+++ trunk/jbossws-core/src/java/org/jboss/ws/core/EndpointInvocation.java 2007-03-20
09:37:42 UTC (rev 2645)
@@ -211,7 +211,7 @@
// Conformance (MIME type mismatch): On receipt of a message where the MIME
type of a part does not
// match that described in the WSDL an implementation SHOULD throw a
WebServiceException.
if (mimeTypes != null && !MimeUtils.isMemberOf(mimeType, mimeTypes))
- throw new SOAPException("Mime type " + mimeType + " not
allowed for parameter " + xmlName + " allowed types are " + mimeTypes);
+ log.warn("Mime type " + mimeType + " not allowed for
parameter " + xmlName + " allowed types are " + mimeTypes);
retValue = part.getDataHandler();
}
Show replies by date