When building a Mule application targeting Mule Runtime 4.9, the Maven build fails during the mule-maven-plugin:process-classes phase with the following error:
'SOAP12' is not a valid value of union type 'org.mule.soap.api.SoapVersionEnumType'
The APIkit for SOAP schema resolved in Mule Runtime 4.9 requires enum values for the soapVersion attribute to use underscore notation (SOAP_11 and SOAP_12). Older configurations using the legacy enum format without underscores (such as SOAP11 or SOAP12) fail build-time XML schema validation.
Update the apikit-soap:config declarations to use the supported schema enum values.
global.xml).apikit-soap:config element where soapVersion is defined.soapVersion attribute value to include an underscore:soapVersion="SOAP12" to soapVersion="SOAP_12"soapVersion="SOAP11" to soapVersion="SOAP_11"An updated configuration appears as follows:
<apikit-soap:config name="soapkit-config" soapVersion="SOAP_12" ... />
apikit-soap:config elements that use legacy enum values.mvn clean process-classes -U
005465447

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.