Questions tagged [anypoint-studio]

Anypoint Studio (formerly know as Mule Studio) is an Eclipse-based integration development environment from MuleSoft.

1133 questions
1
vote
1 answer

Stuck on running Mule Jar file without Mule Runtime environment

I am using Mule 3.9 with Anypoint studio 7.2 for API development. After my functionality developed I was able to export to a Jar file which I was supposed to run on my hardware which doesnt support x64 architecture. I got error of not supported…
Sameer
  • 39
  • 6
1
vote
1 answer

How to parse Flat File Schema to mulesoft object

I have requirement where I need to parse MuleSoft Flat File Schema to parse incoming file content, input file row to parse it and convert to Mule object. It should include parsing of multiple rows in a file with 5-7 attributes per row. I have seen…
Avinash
  • 19
  • 6
1
vote
1 answer

How to remove the duplicate elements in arrays of JSON file using Datawave transformations?

Here I want to remove duplicate accounts with the help of account_id for all accounts in this JSON file. There are 12 accounts in this JSON file need to duplicate accounts to make them unique. someone, Please help me resolve this. Here total 12…
1
vote
2 answers

How to convert string to json object using DataWeave

How do I convert below input string (which will be retrieved from config.yaml properties file) to required json object using Dataweave? Input: "ABC:123,DEF:456,GHI:789" Required Output: { "ABC":"123", "DEF":"456", "GHI":"789" }
1
vote
1 answer

.classpath is not getting recreated after adding in .ignore (Anypoint Studio 7)

I'm running into an issue that Anypoint Studio can't create the .classpath for my Mule application project after I have added it the .ignore (which include .settings, .classpath) file. If I also pull someone else's project from git, I get a…
Makavelines
  • 111
  • 6
1
vote
0 answers

How to consume SOAP Web Service secured with OAuth in Mule 4

I want to consume a OAuth secured SOAP API in Mule 4. I want to know how can I pass the bearer token in a header. I tried almost all the things by using transport header and writing as edit inline with key as Authorization and value as Bearer…
JackRack
  • 11
  • 1
1
vote
3 answers

MuleSoft Transform Message that Modifies Content of String Field

How would I modify the following MuleSoft Transform Message to reverse the concatenation of the EMPLOYEE_CODE field? Background: I am working with a MuleSoft process that (i) queries data from a database using a 'SELECT' component (ii) then…
1
vote
3 answers

How to turn a string which should be split on the an turned into an array of objects in mulesoft

I am trying to turn a string which should be split on the basis of space and turned into an array of objects. Please help me how can I form it. Input field: YYC:16:26 YVR:16:03 YEG:13:43 Output Expected "details" : [ { "field" : "YYC", …
1
vote
3 answers

Map an additional key-value in a specific index of a json array using Dataweave 2.0

I have an input payload (json array) that needs to be enriched with a key-value in a specific index. My requirement was to put the additional key-value (the same for all objects) at index 1, so i've managed to do like this: Input payload: [ { …
1
vote
2 answers

How to dynamically set JSON field name in Mule 4

JSON received from API. { "success": true, "timestamp": 1645988822, "base": "EUR", "date": "2022-02-27", "rates": { "AED": 4.140586, "AFN": 102.662987, "ALL": 121.380824, "AMD": 538.7856, "ANG": 2.016644, "AOA":…
1
vote
1 answer

Any point Studio Debugger error: Studio is not able to connect to Debugger server

Debugger not connecting to Anypoint running job: Mule Debugger: Studio is not able to connect to Debugger server. Installed Anypoint Studio 7.11.1 fresh Created new workspace. Added Http listener, logger, and set payload Set break points Changed…
1
vote
2 answers

Mulesoft condense array of nested objects to single array of objects

I have a dataset that is an array of objects, and each object is another object with an array inside of it. I am trying to flatten everything to a single array of the innermost objects, without the keys of the middle layer objects. I have tried to…
1
vote
1 answer

Mule SQL "Execute Script" element has strange error for SQL statement

I am looking for a way to execute an SQL script where I have two statements, a set and a select : SET datefirst 1; SELECT * FROM (SELECT [book], Datefromparts(Year(exposure_date), Month(exposure_date), 1) AS EXPOSURE_DATE, …
R13mus
  • 752
  • 11
  • 20
1
vote
1 answer

Anypoint Studio ERROR despite everything working correctly

I have created endpoint in Mule Soft which contains data from 3 separate APIs (2 REST and 1 SOAP), but despite working correctly it return an error: ERROR 2021-12-22 00:24:23,483 [[MuleRuntime].uber.04: [projekt_isi].Found_course_response.BLOCKING…
Curiosity
  • 81
  • 6
1
vote
1 answer

Mule Soft HTTP Request Path from payload

I have created simple flow in which I send id in url like this: Path: /api/courses/find/{id} Result: http://localhost:88/api/courses/find/60ee9678070e104b2c57be46 then I set this id part as payload. What I am trying to do next is Call REST API…
Curiosity
  • 81
  • 6