Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Information Provided
-
3.3.0
-
None
-
None
-
macOS v10.13.6, 2.8G Intel i7, RAM 16G
Java zulu8.27.0.7-jdk8.0.162-macosx_x64
IntelliJ 2017.2.6
-
Unknown
Description
During an upgrade from 2.7.8 --> 3.3.0, testing uncovered that
org.apache.cxf.tools.validator.internal.SchemaValidator.validate() appears to strongly enforce <mime:content part="partName" type="someType/> as of 3.3.0 and thows exception
testCurrencyConvertor.wsdl: cvc-complex-type.4: Attribute 'part' must appear on element 'mime:content'.
This was not the case in 2.7.8; <mime:content type="someType/> was permissible
Was unable to find release notes/change log information regarding this change in behavior
The area in question was:
<wsdl:binding name="CurrencyConvertorHttpPost" type="tns:CurrencyConvertorHttpPost"> <http:binding verb="POST" /> <wsdl:operation name="ConversionRate"> <http:operation location="/ConversionRate" /> <wsdl:input> <mime:content type="application/x-www-form-urlencoded" /> </wsdl:input> <wsdl:output> <mime:mimeXml part="Body" /> </wsdl:output> </wsdl:operation> </wsdl:binding>