Questions tagged [mule-studio]

Mule Studio is a tag that's used to refer to the former MuleSoft's IDE product previous to the release of MuleSoft Anypoint Studio. This tag should be not be used for Anypoint Studio since its release 3.5.0 (May 20, 2014).

mule-studio
Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

What should be my response body in raml if i am sending hashmap as response?

I am using sharepoint connector in my api and able to receive response in form of hashmap, i want to send the hashmap response as it is as output, what should i do? (Note: i have set my raml body ...
Shreyash More's user avatar
1 vote
1 answer
119 views

Maven Base Command Line Behavior with Munit Tests in Anypoint Studio 7.16

I've encountered what seems to be an issue or perhaps a behavior in Anypoint Studio version 7.16. In the Windows -> Preferences -> Maven settings, the default Base command line for builds is: ...
Triumph Spitfire's user avatar
0 votes
0 answers
56 views

Mule Code to convert CSV without headers into CVS with headers

I want to convert a CVS which I'm reading from Object Store and while retrieving the value from that Object I'm getting below output, INPUT to Object store: %dw 2.0 output application/json --- { ...
Kunal Awasthi's user avatar
0 votes
0 answers
81 views

Failed to Invoke Salesforce Apex Rest endpoint in Mule 3

I am new to Salesforce and am trying to invoke a APEX rest endpoint in Salesforce. This Salesforce endpoint is created by me - code as below : @RestResource(urlMapping='/MyAccounts/*') global ...
boomslaw's user avatar
1 vote
1 answer
83 views

Get XML payload size in MB

I need to check the size of incoming payload that is in the XML format in MB. And if size is over certain MB (example 50 MB) I need to route the flows using choice router. I have issues checking the ...
Zak01's user avatar
  • 17
0 votes
0 answers
135 views

Unable to set the attribute userAccountControl to 512 on Active Directory using mule4 LDAP connector

I´m trying to replicate the creation of a new user using MuleSoft LDAP connector. When I create a user manually on Active Directory, the attribute "userAccountControl" is set to the value ...
arieiro98's user avatar
0 votes
2 answers
595 views

How do I know the url I need to call an api deployed in CloudHub using anypoint platform? (MuleSoft)

I want to make a request to another api deployed in cloudhub but I am not sure how to call it because I don`t know where is the url,is it possible to get in anypoint platform?
Itzel Moo's user avatar
-1 votes
1 answer
79 views

Unable to add additional flows to MuleSoft generated API Proxy Code

I have a mulesoft proxy code that I generated by configuring an HTTP proxy in CloudHub and then downloading it. The Anypoint Studio project has 3 mule files, http-proxy.xml inbound-config.xml ...
Andy's user avatar
  • 51
0 votes
1 answer
174 views

Mule 3 in Debug Mode - how do I view payload as JSON?

So this question is specific while running Anypoint Studio 6.x ( 6.6.10 ) in debug mode ( Mule 3 ) Now as a part of the implementation many a times the payload or variables are stored in format ...
boomslaw's user avatar
2 votes
0 answers
55 views

Mule 4 debug how to maintain history of debug statements in studio

In Mule 4 anypoint studio when I am debugging an application , many a times I need to view the payload in json format , so while in debug view I go here : Evaluate Dataweave expression Here everytime ...
boomslaw's user avatar
0 votes
0 answers
294 views

Error 403 forbidden accesssing Mule Release EE Repository for a licenced account

I'm trying to modify a Mule API proxy, which i downloaded from Anypoint Platform portal. When I try to build with maven I get the following error: ERROR] Failed to execute goal on project api-gateway-...
MiguelSlv's user avatar
  • 14.6k
0 votes
1 answer
277 views

How to update an existing object having multiple key value pairs dynamically?

I have two Json structures. Input 1 has the structure of the response that needs to be created : { "Chats": { "customerContact": "", "reply": &...
Arjit Sharma's user avatar
0 votes
1 answer
414 views

How to convert xml into a single line in DataWeave 2.0?

I need help to convert an input XML into an XML output on a single line, that is without spaces, without line breaks and without tabs. That is to say show the data followed in one line. Could you ...
Bianca Ilas's user avatar
0 votes
1 answer
276 views

Handling Negative Numbers in Hex in DataWeave

I am working on retiring a Python Kafka Consumer to use Mule runtime instead. I have ran into a blocker with DataWeave and bitwise operators, specifically how to handle negative hex numbers. Currently,...
Matt P's user avatar
  • 147
0 votes
1 answer
295 views

Message remains in flight mode in anypoint mq

I have a flow which submits around 4 salesforce bulk query job details ( all jobs are and will always be already in inCompletes status) to anypoint mq to be processed asynchronously. I am using a ...
joono's user avatar
  • 51
0 votes
1 answer
174 views

Create dwl library for common dwl mapping in mule 4

My requirement is to do externalized dwl mapping files outside of the project and not include in src/main/resources folder. To fulfil the requirement I need suggestion how I can proceed. Please check ...
Devendra's user avatar
  • 219
0 votes
0 answers
358 views

Anypoint MQ messages remains in in-flight and not been processed

I have a flow which submits around 10-20 salesforce bulk query job details to anypoint mq to be processed asynchronously. I am using normal Queue, Not using FIFO queue and wants process one message at ...
joono's user avatar
  • 51
0 votes
0 answers
157 views

problem cluster runtime 4.3 standalone disconnect - Mule Runtime Standalone

I have a problem with one of the servers in a unicast cluster, for a few days a server had been disconnected on the Anypoint Platform, I explain the architecture a bit, we have 2 servers with Mule ...
Jesus Abraham Felix González's user avatar
-1 votes
1 answer
281 views

Getting invalid column type while inserting data in to database

I am using database connector to insert data in database in Mule-4 the insert query statement looks like this. I have tested multiple times. below is the sql query using for inserting data INSERT ...
kushma gonna's user avatar
0 votes
0 answers
638 views

Getting Invalid Key Store format error when running MUnit Tests in Jenkins

I am enabling SSL in my mulesoft application. I have added a keyStore in my application in http request connector. Everything works fine. Deployed to cloudhub by skipping Munits and tested. Everything ...
joono's user avatar
  • 51
0 votes
1 answer
439 views

How to insert an Array into a single column in SQL Table using Mule4 DB insert operator

I am trying to insert an array into a single column in the SQL Table. The data type of the column is varchar but I can change it to anything else if required. I am using DB single insert operator and ...
Zak01's user avatar
  • 17
0 votes
2 answers
536 views

Need to change csv header from camel case to snake case in dataweave

I am working on a pipeline to dynamically dump all columns from the salesforce object to the S3 bucket. I get all columns for a salesforce object using describe object API. I store all columns into a ...
joono's user avatar
  • 51
0 votes
1 answer
673 views

How to frame dynamic salesforce composite query by iterating array

Below is my input and through which I need to frame composite query to Salesforce { "headerId": "123", "Status": "Created", "OrderId": "...
subhash's user avatar
  • 11
0 votes
1 answer
124 views

Get last 24 hours data from mongo with mule4

How can I used the mongodb component "find documents" to get the last 24 hours data from collection? I tried the following query in the component but it didn't work. Sample: "createdAt&...
Jesus Abraham Felix González's user avatar
0 votes
2 answers
644 views

Extract lines from input text file to text file with some transformation with Mule 4

I have a requirement where I need to read text file and extract some data and send the extracted to other system for which am unable to do it. Input file: 1BoraBora Island ...
Avinash's user avatar
  • 19
1 vote
1 answer
281 views

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,...
Buddy's user avatar
  • 11
0 votes
1 answer
575 views

Mulesoft Scheduler is executing twice

I have a flow having scheduler as source. This scheduler is having a cron expression to get it executed 15th of every month at 4 am. 0 0 4 15 * ? * But somehowe this flow is getting executed twice. ...
joono's user avatar
  • 51
0 votes
1 answer
754 views

Mule 4 is modifying Java object variables

I'm migrating my Mule apps from 3.9.0 to Mule 4.4.0. I'm using a Java object to propagate metadata and other objects across transports. Here is a snippet of that class: package com.test; import java....
William's user avatar
  • 91
0 votes
1 answer
123 views

Mule esb 3.8 how to add object variable (HashMap) into payload (HashMap)

Hello need a bit of help to understand how I can merge 2 payloads from db calls into one - final payload. First payload is like: [{Name=John, Age=31}] Second payload is like: Address=[{Planet=Earth, ...
Gorodeckij Dimitrij's user avatar
0 votes
1 answer
181 views

In DataWeave reading CSV with header=false causes the missing first line in the output

In DataWeave reading CSV with header=false causes the missing first line in the output how to fix in dataWeave 1.0
aditya khatri's user avatar
1 vote
1 answer
515 views

.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 ...
Makavelines's user avatar
0 votes
3 answers
1k views

RAML structure for Arrays

My JSON input is as below { "test" : ["t1259", "t2895"] } I want to generate RAML data type for the above as below but it is failing with the validation, please let me ...
subhash's user avatar
  • 11
0 votes
1 answer
522 views

validate integer value in mule 3 dataweave 1.0

I want to validate the field value as integer and make the test value as integer. In below code if the field value is string then I am getting error. Here I need to configure like if the value is not ...
Devendra's user avatar
  • 219
0 votes
1 answer
771 views

Undeclared namespace prefix "soapenv" error while using web service consumer

I am using web service consumer in Mule4 and after configuration and deployed the application and triggered the target ARIBA SOAP service in logs I see below error: org.apache.cxf.binding.soap....
subhash's user avatar
  • 11
-1 votes
1 answer
888 views

Add HTTP headers to SOAP web service

I am using Web service consumer in Mule4 and I need to pass http header for passing Authentication details to the SOAP service, in Web service consumer there is headers section but it is for SOAP ...
subhash's user avatar
  • 11
0 votes
1 answer
359 views

Web service consumer SOAP version is showing error by default

I am trying to configure a SOAP service using web service consumer, as soon as I click on new configuration in the connector configuration, I see SOAP version column is turning into error and when I ...
subhash's user avatar
  • 11
0 votes
1 answer
102 views

Unable to configure Send Email

I am trying to add a send email functionality in my flow and when I try to place the Send from the Palette to the flow I get the below error Hitting Ok in the above pop up and tried to create the ...
user4912134's user avatar
  • 1,023
0 votes
1 answer
150 views

Transform connector fails in the Anypoint CloudHub

I have a transform action which has the logic like below %dw 2.0 import * from dw::util::Coercions output application/json --- { "quoteId" : vars.setQuoteOppRecIds.Id, "...
user4912134's user avatar
  • 1,023
1 vote
1 answer
461 views

Deploying to the CloudHub fails with the error in the YAML

I am trying to deploy the mulesoft application in to the DEV CloudHub using the Azure Devops CI/CD Pipeline. But when the application getting deployed in to the Cloud Hub it throws error like ...
user4912134's user avatar
  • 1,023
0 votes
1 answer
248 views

How to fetch Customer Payments from Netsuite using mulesoft connector

I want to search Netsuite customer payments using mulesoft Netsuite connector %dw 2.0 output application/xml ns ns0 urn:messages.platform.webservices.netsuite.com ns ns01 urn:sales.transactions....
joono's user avatar
  • 51
0 votes
1 answer
244 views

Remove objects from array based on conditions in Mule 3

I want to remove the objects from the list whose profile is Aftersales_Manager and raflag is false but I'm facing and issue in DataWeave 1.0 in Mule 3. Please suggest the correct DataWeave code in ...
Devendra's user avatar
  • 219
1 vote
2 answers
928 views

remove all the extra lines from the array in mule 4

I want to remove the extra lines or "\n\r" & "\n" from the array but my solution is not working. Please provide the correct function or dataweave for this. input (json array ...
Devendra's user avatar
  • 219
0 votes
2 answers
584 views

Cannot make the Mock for the Salesforce Connectors work in the Munit Tests

I have been struggling with the Munit tests for the flows I created. The Flow have couple of Salesforce connectors to Query, Create. So in my Munit tests I have the Mocks added but it seems like I am ...
user4912134's user avatar
  • 1,023
1 vote
1 answer
2k views

Mocking a connector throws error like Element not defined in Mule Registery

I am creating the Munit tests and mocking the salesforce connector for the query. The Query response in the flow returns the payload in application/java type. So below is the Mock the setting <...
user4912134's user avatar
  • 1,023
0 votes
1 answer
637 views

Mocking Multiple connectors in the flow

I have a flow where I have a connector to query and connector create record in Salesforce. I am a newbie to Mulesoft and the Munit tests. I just created a simple Munit tests for the flow with one ...
user4912134's user avatar
  • 1,023
0 votes
1 answer
84 views

Jira using rest API - doing request with Anypoint Studio

I'm trying doing request in Anypoint Studio for this url https://{myhost}/rest/api/3/issue/{issueIdOrKey}. I'm using only basic auth via Postman and this call doesn't work in Anypoint Studio. I have ...
Anonim's user avatar
  • 81
0 votes
1 answer
531 views

Map the Array in to the each individual JSON so the records can be created

I am trying to convert the below Array in to the JSON, trying by iterating through the Array and transforming. The array looks like below Quote_Sent_To__r = [ { Quote__c=0Q02D05XGQSA2, Id=...
trx's user avatar
  • 2,137
0 votes
1 answer
1k views

How to acknowledge all the unacked messages present in a RabbitMQ queue using REST API from Mule 3

I have to acknowledge all the unacknowledged message and make the count zero. If the message is in ready so the using the purge requester (DELETE http://localhost:8767/api/queues/vhost/name/contents) ...
Devendra's user avatar
  • 219
0 votes
1 answer
81 views

clear messages from rabbitMQ queue in mule 3

My requirement is to clear all the messages from queue before processing the flow or publishing anything in the queue. We are using rabbitMQ and due to some reason messages are stucked in the queue ...
Devendra's user avatar
  • 219
0 votes
1 answer
748 views

How to remove namespaces from xml payload [duplicate]

I want to remove all the namespaces from my XML input. Input payload <?xml version='1.0' encoding='UTF-8'?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:...
joono's user avatar
  • 51

1
2 3 4 5
35