Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Maven Build Fails with SoapVersionEnumType Validation Error

게시 일자: Oct 28, 2026
상세 설명

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'
솔루션

CAUSE

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.

SOLUTION

Update the apikit-soap:config declarations to use the supported schema enum values.

  1. Open your Mule application XML configuration file (such as global.xml).
  2. Locate the apikit-soap:config element where soapVersion is defined.
  3. Update the soapVersion attribute value to include an underscore:
  • Change soapVersion="SOAP12" to soapVersion="SOAP_12"
  • Change soapVersion="SOAP11" to soapVersion="SOAP_11"

An updated configuration appears as follows:

<apikit-soap:config name="soapkit-config" soapVersion="SOAP_12" ... />
  1. Repeat this change for any other apikit-soap:config elements that use legacy enum values.
  2. Rebuild the application and force dependency updates:
mvn clean process-classes -U

APPLIES TO

  • Mule Runtime 4.9
  • Mule Maven Plugin
  • APIkit for SOAP
Knowledge 기사 번호

005465447

 
로드 중
Salesforce Help | Article