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

HTTP:TIMEOUT error through mule request connector but api working through postman

I am using mule-4. I am trying to integrate a third-party API(confidential). It is working from the postman and is returning responses within 1 second. When I wrote a request connector for the same in mule, The API kept giving a timeout exception. I…
HMT
  • 2,093
  • 1
  • 19
  • 51
1
vote
2 answers

What is the equivalent DataWeave type for Typescript's Record?

DataWeave has a type declaration system similar to Typescript. I want to define a DataWeave type that is equivalent to Typescript's Record. Specifically, I want to define a map-like type wherein I do not know the specific keys but I do…
Doug Ayers
  • 934
  • 1
  • 8
  • 20
1
vote
1 answer

Build : Failure in Jenkins (Mulesoft)

Trying for CI/CD in mule 4 using Jenkins and I have installed Java (Jdk 1.8) and Maven Properly ,then set environment variable similarly. When I'm run Build now in Jenkins it returns Build Failure . Console Log in Jenkins : Started by user…
Integraty_dev
  • 500
  • 3
  • 18
1
vote
1 answer

java.lang.OutOfMemoryError: GC overhead limit exceeded error while connection between mule and snowflake

I am creating a new flow in mule 3.9 using http connector and gerenic data base connector to connect to snowflake to run a procedure. There are no error in the code,i could see that the codeis running successfully but i am getting the below…
Sidh
  • 129
  • 12
1
vote
1 answer

How to convert twitter created_at to datetime in dataweave 2.0?

Date returned by twitter "created_at": "Tue Sep 14 23:57:15 +0000 2021", Desired Output "created_at": "2021-09-14 23:57:15",
Imran Qamer
  • 2,253
  • 3
  • 29
  • 52
1
vote
2 answers

Doubled bin in Mule Project Java path

I am running current setup: OS: Win10 Java: 1.8 AdoptOpenJDK (JDK + JRE) Mule: 4.2.1 / Anypoint Studio 7.9 Maven: embedded in Studio - 3.6.3 The issue is: Unable to execute Java command. The system cannot find the file specified.…
Anseal
  • 25
  • 7
1
vote
3 answers

You called the function 'Value Selector' with these arguments

I am in the process of implementing a LoanBroker with Mulesoft but have an error message when sending a request. I get the following error message back from Postman and Mulesoft Anypoint Studio: ERROR 2021-06-27 15:20:51,133 [[MuleRuntime].uber.04:…
1
vote
2 answers

Mule 4 - flows suddently stopped initializing, warning about some mysterious yml file occurs, MUnit test started throwing unexpected errors

I was working on my Mule 4 application today, and suddenly my Anypoint Studio went crazy. When I was trying to run my application, i recieved an error that a port used by the application is already in use. Nothing unusual, but when I have restarted…
hc0re
  • 1,806
  • 2
  • 26
  • 61
1
vote
1 answer

Adding External Files to Mulesoft AnyPoint Studio

I have a simple Hello World project in AnyPoint Studio. I have folder of additional files (a few jar files and some configuration files) I want to include with the project so they can get published to the cloud (CloudHub). How do I include these…
1
vote
1 answer

How to use configuration parameters in DataWeave 2 transform scripts?

Let's say that I have a configuration file called error-messages.properties. In this file I have a property: error.invoice.missing.creationDate When I'm trying to directly input this parameter into DataWeave script,…
hc0re
  • 1,806
  • 2
  • 26
  • 61
1
vote
3 answers

Map multiple string Arrays using Dataweave into a single Array

I have an array with a single index that has a JSON object that contains three different string arrays, which I have to map into a single one based on each index. for example all first index from each array into one single JSON object and so…
1
vote
2 answers

How to integrate or embed a pyDev project into a Mule or a Java project

I recently created a pyDev project and ran the code. It works fine. Unlike a java or a mule based project, I am unable to find an option to export the pyDev python project I already have in my Anypoint Studio workspace. I could clearly see that the…
Thinker-101
  • 554
  • 5
  • 19
1
vote
2 answers

What is causing ArtifactNotFoundException in anypoint maven?

I am trying to create new connector using mulesoft sdk. The connector has been successfully created and and loaded into the internal maven repository. When I try to reference the connector in the anypoint project, I get Caused by:…
New Bee
  • 31
  • 1
1
vote
4 answers

Extracting a subset of JSON key-value pairs as an Object from a Parent JSON Object in dataweave 2.0 Mule 4

I have a dataweave challenge which I couldn't figure out without making it complicated. Input JSON payload { "Name" : "Mr.wolf", "Age" : 26, "Region" : "USA", "SubRegion": "Pacific" } Output needed { "Name" :…
Thinker-101
  • 554
  • 5
  • 19
1
vote
1 answer

creating an XML attribute from var in dataweave 2.0

I have a JSON input: { abc: "", def: "hello" } I want to make this blank element as nillable in XML i.e. . I am using the below dataweave code: %dw 2,0 output application/xml skipNullOn="everywhere" var makeNil= (in) -> in match { case is…
Sufi
  • 186
  • 1
  • 2
  • 12