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
0
votes
3 answers

Mule Dataweave - Add Nested and Simple attributes

I need to add new attributes (simple and nested) to an existing JSON payload using Dataweave (3.0). I'm posting the sample payload below: { "entities": [ { "ID": "ABC", "sourceEnt": { "entityId": "100A", "entity":…
Triumph Spitfire
  • 663
  • 15
  • 38
0
votes
2 answers

Is there a Mule 4/Dataweave 2 equivalent for dw:input-variable in a transform message

I'm trying to manually translate a program from Mule 3 to Mule 4, and a lot of the transforms have something like I don't know what the equivalent is in Mule 4…
0
votes
1 answer

Best to consume WS operations in Mulesoft

New to Mulesoft and have a question regarding SOAP consumer for calling Web service. Suppose there is a web service with a few operations. As an example the WS has operations for “createUser”, “validateUser”, “isAccountActive” and etc. Let say…
borna
  • 906
  • 3
  • 12
  • 32
0
votes
1 answer

Mulesoft AMQP connector

Receving error Message : "org.mule.runtime.api.exception.MuleRuntimeException - Could not read from file store, while reading payload as Xml.
bgara
  • 143
  • 1
  • 12
0
votes
1 answer

Unable to consume WSDL in Mule 4

I am using anypoint studio 7.3.1 with Mule 4.1.x. trying to load the WSDL using Web Service Consumer. First I placed my WSDL file under src/main/resources of my project. In Web Service Consumer, under connector configuration I selected my WSDL and…
borna
  • 906
  • 3
  • 12
  • 32
0
votes
3 answers

Why is my dataweave map code not working?

I'm trying to convert some code from mule 3 to mule 4 so I'm using dataweave 2. I keep getting errors from this code keySets: if(payload.autoQuote !=null) payload.autoQuote map (autoQuote) -> { (if(payload.autoQuote.personalAuto.vehicles !=…
0
votes
2 answers

what is exactly is this mule function is about

I am very new to Dataweave and was playing with function.This might be a very stupid question, but what changes I need to make to get this working? %dw 2.0 output application/json fun add(a,b) = { if (a + b > 10) 1 else 0 } --- { flag:…
borna
  • 906
  • 3
  • 12
  • 32
0
votes
1 answer

"Script Error Displaying unprocessed Data

I am currently following the mulesoft fundamentals 4 module 5. as i have been following the guide i should be able to Make requests to the API proxy from Exchange. However, every-time i click send i get an Error; Script error. Displaying…
M B
  • 197
  • 2
  • 6
  • 18
0
votes
2 answers

Couldn't find application in API

I've created one sample application in Anypoint Studio and tried deploying it in the cloudhub. Status shown there is "successfully deployed", but when I try opening the URL generated there, it is throwing "502 bad gateway - we couldn't find any…
Veenus
  • 1
0
votes
2 answers

What is the best approach on upgradation of a mule integration application from mule runtime 1.4 to 2.0 and java 8 to java 11?

I am currently involved in a project, that requires migration of 3.5 to 4.x, 4.14 is working fine. I am raising this question because, mule 2 is supporting Java 11, while mule recommended approach is to work on adoptopenjdk…
Siva
  • 98
  • 6
0
votes
2 answers

Could not obtain connection from data source

I am trying to connect to the derby client Database using MulesSoft, i have followed the given study material. Once I have made my generic connection and try to run the url error shows up stating: Could not obtain from data source. Below the Error…
M B
  • 197
  • 2
  • 6
  • 18
0
votes
1 answer

How to convert input json array to csv in mule

this is my Json input [ { "id":"001", "name":"john", "gender": "M" }, { "id":"002", "name":"Mule", "gender": "F" }, { "id":"003", "name":"Sara", "gender": "F" }, { "id":"004", "name":"Mati", "gender":…
Amira
  • 1
  • 2
0
votes
1 answer

Turning the logging off in Mulesoft

I have a requirement as I need to turn the logging off in the Mulesoft Flow. I need to to this at logger level and if possible at Http connector level as well. Tried changing the INFO as OFF in log4j2.xml file but no luck. What parameters in…
0
votes
1 answer

Connect Mulesoft and Aurora RDS

I’m trying to connect my database mysql (RDS Aurora serverless) and Mulesoft. But I have to setup an SSH tunnel with an EC2 instance (AWS restrictions) So I try an ssh connection from Mulesoft to my EC2 instance, all tutorials I have found talk…
rorschach
  • 31
  • 3
0
votes
1 answer

mule4 with mongodb - "Find one and update document" connector : The dollar ($) prefixed field '$inc' in '$inc' is not valid for storage

I'm accessing CosmosDB3.2 via MongoDB connector v5.3.1 in a Mule 4 api. I've following collection in database: { "id": "range", "from": 100, "to": 1, "used": 0 } I will fetch data from this collection based upon id=range. However, same…
Swati Jain
  • 11
  • 4