anypoint-studio

GET call works for POSTMAN/SOAPUI but not at mule 4.1.3

泄露秘密 提交于 2020-03-25 19:39:29
问题 Im getting connection timeout error in Mule(anypoint studion), when invoking a request. I have added dummy url(for testing purpose) in an http request flow. That dummy url is working fine with postman and soaupui. But not from Mule. I get, Message : HTTP GET on resource 'http://xxx:3080/hr/INT053' failed: Connection timed out: no further information. Error type : HTTP:CONNECTIVITY if i invoke http://xxx:3080/hr/INT053 directly from postman/soapui it works. What might be the cause? I have

How to access the payload when implementing the validator interface?

☆樱花仙子☆ 提交于 2020-01-03 01:58:06
问题 I have to validate the incoming json payload and throw custom errors if the json is not valid. I tried implementing the validator interface as shown in the above image. But how should I access the payload now?In earlier versions the method accepted a mule event through which we could easily get the payload: public interface Validator { /** * Performs the validation and generates a * {@link ValidationResult} back. * * @param event the current {@link MuleEvent} * @return a {@link

Authentication between Mule/Anypoint JMS and JBoss/Wildfly9?

最后都变了- 提交于 2019-12-25 03:54:58
问题 I'm struggling with a small proof of concept for a feature we need for a bigger project. On my local machine I have a Wildfly 9 installation (with a user, password, and group configured). I can send messages via HornetQ from a small Java program, and I can fiddle with <security-enabled> and the user/password and see that it works, or not, as I expect. Great! However, I also have a simple Mule flow that attempts to send a message via a JMS outbound endpoint -- but this always fails with "

MULE ESB Server: RAML loading for prolonged time

萝らか妹 提交于 2019-12-24 16:32:55
问题 I created a mule application and able to run/deploy it on my machine successfully. On running api-console is appearing in Anypoint-studio like this. Now when I deployed this application on mule ESB server and try to hit api-console for this application using the following URL "https://mulesoft:ESB****/api/console" Mule is saying RAML loading for prolonged time like the one shown in below image. I am not able to resolve the issue after working hours on it, If anyone can suggest possible

How to run an imported maven based mule project in Anypoint Studio

旧街凉风 提交于 2019-12-24 14:58:20
问题 My mule maven based project created in eclipse is checked into svn. I want to run it in Anypoint Studio. So I imported it as Maven based project from SVN. But Studio doesn't recognize it as Mule project. Any pointers? 回答1: If your project is a Maven project then it should be having a pom.xml file. From anypoint studio do an import of Maven project from pom.xml and point to the location where your project resides. it should automatically find the pom.xml inside and import it successfully. 回答2:

Validation of Payload in ESB

只愿长相守 提交于 2019-12-24 07:19:35
问题 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 string" 3 times. 1. Is there any way that I can validate all the three values in a single validator ? 2. Should I use Scatter-Gather for validating all the values in parallel(according to best-practices) ? 3. How can I validate the key set(the key

Mule Dataweave format :number

我们两清 提交于 2019-12-24 00:58:53
问题 I'm having an issue trying to parse a string to double this would be a sample code, it's returning an integer instead of type :double any ideas? { "data": "22" as :number { format: "##.##" } } 回答1: This, and only this, works for me; %dw 1.0 %output application/json --- { data: "22" as :number as :string {format: ".00"} as :number } format only seems to add zeros when converting from a number to a string. If "22" would have already been a number you wouldn't need the first :number conversion;

Anypoint Studio 7.1 start-up error

我与影子孤独终老i 提交于 2019-12-22 06:43:34
问题 I am trying to experiment with Mule Runtime 4 & Anypoint Studio 7.1. I got the downloadable from - https://mule-studio.s3.amazonaws.com/7.1.1-GA/AnypointStudio-for-win-64bit-7.1.1-201803182216.zip while starting up AnypointStudio.exe, I keep getting the error message - A JDK must be installed in order to run Anypoint Studio. Please install a JDK and try again. But I do the required version of JDK installed in my machine, as per https://docs.mulesoft.com/anypoint-studio/v/7.1/faq-jdk

While trying to configure Mulesoft Anypoint studio with Anypoint platform it's giving error

邮差的信 提交于 2019-12-13 15:29:30
问题 While trying to configure Mulesoft Anypoint studio with Anypoint platform its giving error :The url you are trying to hit doesn't exist, url: https://anypoint.mulesoft.com/ java.net.UnknownHostException: anypoint.mulesoft.com and i'm unable to connect Anypoint platform 回答1: I had this same problem and then I realized that I had a different port configured for work stuff. Go to Window -> Preferences -> Network Connections and make sure the Port is 8080 for HTTP and HTTPS. 回答2: There is an

How to filter data in mule- anypoint studio

∥☆過路亽.° 提交于 2019-12-13 05:22:36
问题 I get this response from the magento-connctor get-product operation: {"product_id":"33","sku":"TEST","set":"18","type":"bundle","categories":["2","4","5","16","17","222"],"website["1","3","5","16"],"created_at":null,"updated_at":null,"type_id":null,"name":"test","description":null,"short_description":"test description","weight":null,"status":null,"url_key":null,"url_path":null,"visibility":null,"category_ids":null,"website_ids":null,"has_options":null,"gift_message_available":null,"price"