mulemulesoftmule4cloudhub

"mulexml:namespace-manager" not resolving, showing unknown


I am trying to declare few XML namespaces globally in a Mule 4 application, using "mulexml:namespace-manager".

https://docs.mulesoft.com/xml-module/0.3.9/xml-namespaces

But the element "mulexml:namespace-manager" not resolving, showing as "unknown" and build is failing.

Can anyone let me know what dependency needed to be added from the exchange to work with this? Tried few things and tried to get details from MuleSoft documentation, but no luck.


Solution

  • You are trying to use a Mule 3 feature in Mule 4 but that feature is not supported in the newer version. Using DataWeave modules to share namespace declarations for DataWeave scripts is the alternative way that is compatible with Mule 4.

    Note that CloudHub is only where you deploy the Mule 4 application so it is not relevant to this question.