Questions tagged [anypoint-studio]

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

1133 questions
2
votes
2 answers

Custom Json Validation in anypoint studio

I am trying to validate JSon using the json schema validator. But it returns a generic message. "Json content is not compliant with schema" . I have a HTTP POST REQUEST which sends a payload as follows: { "key1" : "value1", "key2" : "value2"…
HMT
  • 2,093
  • 1
  • 19
  • 51
2
votes
1 answer

Validation of Payload in ESB

I have a HTTP POST REQUEST which sends a payload as follows: { "key1" : "value1", "key2" : "value2" ,"key3": "value3" } I was able to validate all the values but I had to use a component everytime. In this case , I used the validator "Not a blank…
HMT
  • 2,093
  • 1
  • 19
  • 51
2
votes
0 answers

Injecting HttpService into a Mule 4 Custom Configuration Properties Provider

I'm working on making a custom properties provider to load the contents of a Spring cloud config server at startup. I need to make a single call at the initialization of the provider to fetch these properties, and would like to use the Mule…
2
votes
1 answer

How to represent this response using Dataweave?

I have a HTTP requester in my flow which calls AmericanFlightsAPI, its original GET response is like this: [{ "ID": 1, "code": "ER38sd", "price": 400.00, "departureDate": "2016/03/20", "origin": "MUA", "destination": "SFO", "emptySeats": 0, "plane":…
2
votes
2 answers

Filter Payload with Dataweave for a Set Variable component

For the Mulesoft 4.2 Set Variable component, I want to assign a simple String value pulled from a single specific record from an incoming JSON payload. In my case, taking just the value from the 'country' field from below example: [ { …
wmjohnson
  • 61
  • 5
2
votes
1 answer

Conditional filtering in Mule Dataweave %1.0

I am trying to filter a particular value coming from a JSON array. My sample array is given below: "source":[ { "value": { "Type": [ { "val": "Primary", "code": "PRI" } ], "Value": [ …
Triumph Spitfire
  • 663
  • 15
  • 38
2
votes
1 answer

Whats the difference between performant and reliable HA Profile in global configuration in anypoint studio? How does it vary in error handling?

!https://i.stack.imgur.com/NCnaO.jpg In the above snapshot, you can see the configuration available in setting up the global configuration for mule application. How do these Perforant and Reliable HA profiles affect the overall behavior of the…
Siva
  • 98
  • 6
2
votes
1 answer

Calling an Oracle function in mule 4

How do I get the return value from an Oracle funtion with named parameters? I am using :result = call…
Sultan
  • 319
  • 3
  • 11
2
votes
1 answer

How to get all XML nodes by name?

I have input XML like this - 1
Rahul Sevani
  • 77
  • 12
2
votes
2 answers

Convert xml payload to a string in dataweave 2.0

How to convert xml payload to a string in dataweave 2.0? Thanks Vempati
2
votes
1 answer

how to handle http connector response code

Currently in mule, I have a flow process that makes an http connection to elasticsearch. We are using the scroll api and all connections are fine. I am trying to create a flow to handle the 404 status code which would be returned in the event that…
dataviews
  • 2,466
  • 7
  • 31
  • 64
2
votes
2 answers

Anypoint Studio 7 Installation issue java not found

I am trying to setup Anypoint 7.3 on my machine . I have installed jdk and followed all the steps but still on trying to start Anypoint i get an error that JDK must be installed. This is my config -vmargs --add-modules=ALL-SYSTEM -vm C:\Program…
user3428616
  • 65
  • 4
  • 14
2
votes
1 answer

MULE 4 Cookie Store

I am trying to connect my MULE Application to Acumatica. First, I have to send a login request to acumatica with username and password. Acumatica will send cookies in the response header. Now whenever I have to send a request to acumatica, I need…
Anshu Kumar
  • 807
  • 1
  • 8
  • 27
2
votes
3 answers

Should I have separate VPCs for production environments in Cloudhub?

I'm looking into setting up a VPC in Cloudhub and just wanted to know whether I would setup one VPC for dev, test and production environments or whether I setup a VPC for dev and test environments and one for Production? Also, is there a best…
user3165854
  • 1,505
  • 8
  • 48
  • 100
2
votes
2 answers

Dataweave Error: You called the function 'Value Selector' with these arguments when converting Excel to JSON

I am using Anypoint 7 and Mule 4.1. I want to read an Excel (xlsx) file from a folder on my computer and convert it into JSON but I am receiving the error: You called the function 'Value Selector' with these arguments: which I think is down to…
user3165854
  • 1,505
  • 8
  • 48
  • 100