Tag: Java
-
Call a Java Method from a *.jar file in DataWeave
Overview Reuse is a major tenant of the MuleSoft Anypoint Platform. Instead of being a black box where developers don’t know what the code is doing under the covers, they can reuse code or leverage their own code within a Mule application. Sometimes this code can be sitting in a *.jar file and the developer…
-
Document object to String object (Java Code)
Converting a Document object to a String object in Java is an issue I’ve run into a couple times at work. I wanted to see the output of a WebService call response that was in XML in the console. Here’s a quick code snippet I found that handles this: // xmlDoc is the Document object…