Category "mule"

How to remove %20 (URI encoded space) after split function in Mule 3

I'm using a split function to create an array from the results, so I can use the foreach loop. The foreach loop contain HTTP request connector that takes the ar

validating multiple input query params in Mule 4

I am using Mule 4.4 community edition I have a GET endpoint with 4 query params: empId ( mandatory ) collegeId ( mandatory ) subject ( either subject or

Finding the contentLength for response from Salesforce Connector Mule 4

I have been working on a mule app(4.4.0) where it calls a salesforce query connector and converts the response from SF connector to CSV and then upload the CSV

How to iterate over the fault message in Mule 4

In my case, I tried to convert the below Mule Expression Language (MEL) script to DataWeave 2.0. MEL script on Mule 3: import java.util.Iterator; import org.dom

Unable to validate pom.xml of a mule application in SonarQube

I am using SonarQube to validate artifactId, modelVersion etc in pom.xml file for a mule application.To validate these nodes, I have build some rules in SonarQu

Mulesoft : HTML to JSON conversion?

Is it possible to convert an html input to JSON using mulesoft? For my case specifically, I am trying to convert an HTML table to JSON arrays. Input: <ta

How to add #[payload] as value in the query params Mule 3

Unfortunately I haven't been able to solve it yet. I'd really appreciate it if someone could look into it. thanks everyone I run into an issue with Mule 3 is th

Mule APIKit and multiple RAMLs

It is possible using multiple RAML files in one APIKit Mule Project? Let's say I have two functions /api/func1 and /api/func2. Each of the functions is defin

Looping using dataweave

my input xml: <Root> <Element> <Record att="a">value</Record> <Record att="b">value</Record>

Mule 4 HTTP Request Client to access OAuth 2 end point

There is an external service (lets say "https://external-service.com/service") which is secured by OAuth2. I have client ID (Lets say "123_my_client_id"), Secre

mvn clean test is failing for Mule Munit test cases

I am running mvn clean test command on Mule Mnuit test cases. I end up with an API incompatibility error: [ERROR] Failed to execute goal com.mulesoft.munit.too