Questions tagged [mulesoft]

This tag is not clearly aligned with a specific MuleSoft product. If the question is related to the Mule ESB or Mule Runtime product please use the mule-esb tag instead.

MuleSoft is a company name, not a product.

MuleSoft was acquired by Salesforce in 2018.

MuleSoft produces the Anypoint Platform, which consists of:

  • Anypoint Exchange
  • Anypoint Security
  • Anypoint Analytics
  • Anypoint Studio
  • Mule runtime engine
  • etc.
1619 questions
2
votes
1 answer

How to remove the DTOSteps node which contains id using mule 4

I am trying to remove DTOSteps node if it contains an ID attribute. Input XML:
codey_08
  • 249
  • 1
  • 11
2
votes
1 answer

concatenate file name and time for the file Name/pattern Mule 3

I'm trying to concatenate the filename and dateTime inside the file connector as name for the output file. I get a syntax error. This because MEL expressions already appear enclosed in double quotes in configuration files, so I have to escape the…
Makavelines
  • 111
  • 6
2
votes
1 answer

Convert TEXT file to JSON in Dataweave

How can I convert TEXT file into JSON in Dataweave. Input: "[ { "quantity": "1.0", "uom": "every", "amount": "5.0", "allocation": [ { "ID": "22245", "price": "156", "desc": "Product A1" } ], …
Vikash
  • 21
  • 2
2
votes
1 answer

if else statement Mule 3

I want to set a variable based on the output in Mule 3. For example the check I want to do is if there is any payload I want to set the var value to this ${http.path.one} else ${http.path.two}. In Mule 4 it can be done in multiple ways but in Mule 3…
Makavelines
  • 111
  • 6
2
votes
2 answers

How to add multiple http request calls in foreach | Mule 3

I am using scatter-gather to call many endpoints with the same host and different paths. How can I add the HTTP request connector inside For Each scope, that can loop into the different paths and add the payload to the same file? My code is as…
Makavelines
  • 111
  • 6
2
votes
1 answer

Anypoint Studio problem with JSON into XML transformation

I am trying to convert JSON response into XML and then call SOAP API with payload. I managed to get JSON response without any trouble, but I am unable to convert it to XML. the problem is data has to be in format:
Curiosity
  • 81
  • 6
2
votes
1 answer

Error(500) While Publishing the JSON Payload by Mule Anypoint MQ Publish component ( Mule 4)

Error Message while publishing a JSON payload with the Publish operation of the Anypoint MQ connector: "Failed to publish message to destination 'ABC-queue': An error occurred while executing the operation: SEND ONE MESSAGE. Cause: 500 - Internal…
2
votes
3 answers

How to access a multi value XML containing a json string

I have a json string inside a multi value xml tag, which I'm struggling to access. I would like to concatenate the "pid" values to have something like "listOfPids" : "0000444, 0000111"
maco
  • 55
  • 7
2
votes
2 answers

Change timezone from undefined to utc in dataweave

I have a plain date / time string (local european summer / winter time) I would like to transform into UTC. The date I receive looks like this {"message": "2021-05-01 15:39"} But using LocalDateTime like this (payload.message as LocalDateTime …
maco
  • 55
  • 7
2
votes
2 answers

Mulesoft - Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plugin:jar:1.7: Could not transfer artifact

I am setting up an existing mule application but running into below error. any help please.. [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.7 or one of its dependencies could not be resolved: Failed to…
vangli
  • 53
  • 1
  • 6
2
votes
1 answer

org.xml.sax.SAXParseException, Mule 4.3, Anypoint studio 7.8

I am new to Mulesoft(using Mule 4.3ee and Anypoint Studio 7.8). I added a Database Select tool. I configured with the Oracle database. The Test connection is successful and it worked fetching the records successfully. Later I added a new…
2
votes
0 answers

How to connect Cloud Kafka Cluster from Mule 3?

How to connect confluent kafka cluster(Cloud) from Mule 3 kafka connector ? Because i am seeing only Bootstrap Server URL and other options for Producer and Consumer properties only. So there is no option to configure for below…
user2848031
  • 187
  • 12
  • 36
  • 69
2
votes
1 answer

How to remove XML namespace in Mulesoft Dataweave

When I transform a message with Mulesoft dataweave I want to get rid of all the xmlns namespaces. This is my message:
Ben
  • 594
  • 1
  • 9
  • 24
2
votes
2 answers

Dataweave 2.0 withMaxSize function

I've transformation in external dwl file. I'm trying to use 'withMaxSize' to limit the size of string. But I'm getting below issue. fun providerObjMapping(payload) = (if(! isEmpty(payload.ProviderUniqueID) ) { …
Kiran
  • 29
  • 1
  • 8
2
votes
2 answers

Mule3 insert data into 2 tables in a query

I have a payload similar to the below sample {"timezone": null, "recurrence": null, "event_id": "55bfe76n3", "attendeesEmail": [ { "email": "abc@xyz.com", "responseStatus": "needsAction" }, { "email":…
melmatvar
  • 25
  • 1
  • 1
  • 4