mule-studio

Anypoint Studio fails when running Maven project

☆樱花仙子☆ 提交于 2019-12-13 15:25:06
问题 I am a Mule newbie and struggling to get the Anypoint Studio to work with Maven. I used the mule-maven plugin to create a multi-module project and added my code to the apps sub-project. The project builds under maven and produces a zip file under the domain-bundle/target directory. The contents of the zip file looks reasonable. When I tried to run the project (right click project/run as/Mule application with Maven) the project gets built by maven and then I get the following Using as WTP

Mule - split a big JSON list into multiple smaller JSON lists

强颜欢笑 提交于 2019-12-13 12:22:07
问题 I have a list of json objects containing about 200 objects. I want to split that list into smaller lists where each list contains max 20 objects each. I would like to POST each sublist to HTTP based endpoint. <flow name="send-to-next-step" doc:name="send-to-vm-flow"> <vm:inbound-endpoint exchange-pattern="one-way" path="send-to-next-step-vm" doc:name="VM" /> <!-- received the JSON List payload with 200 objects--> <!-- TODO do processing here to split the list into sub-lists and call sub-flow

Mule - choice component issue

偶尔善良 提交于 2019-12-13 08:10:48
问题 When I run my flow, I get the following error ` <org.apache.cxf.staxutils.DepthXMLStreamReader> <reader class="org.mule.module.cxf.support.StreamClosingInterceptor$1"> <reader class="com.ctc.wstx.sr.ValidatingStreamReader"> <mXml11>false</mXml11> <mInputBuffer>xmlns:ns2="http://wsdouane/"><return><douanePK><idConteneurId>ctr1</idConteneurId><idCritereId>C11</idCritereId></douanePK><valeurId>oui</valeurId></return></ns2:findResponse></S:Body></S:Envelope>&#x0;&#x0;................. we can see

How to restrict the ERROR log to be not printed in the logs when we raised exception in the Groovy script mule 3.7.3

南笙酒味 提交于 2019-12-13 07:00:02
问题 How to restrict the ERROR log to be not printed in the logs when we raised exception in the Groovy script mule. The below is the flow and response. <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="7475" doc:name="HTTP Listener Configuration"/> <flow name="ExceptionTestFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/test" doc:name="HTTP"/> <logger level="INFO" doc:name="Logger"/> <scripting:component doc:name="Groovy"> <scripting:script engine

Mule Box Connector - Invalid Key Type / Message payload is of type String

旧巷老猫 提交于 2019-12-13 06:28:01
问题 I'm trying to write a Mule flow that uses the Box connector. I'm able to go to http://localhost:8081/auth and authorize successfully. But as soon as I create a file in my box account I get "Failed to Invoke getEvents. Message payload is of type: String." and in the Root Exception Trace I get: "Invalid Key Type" Mule Flow (based on: https://github.com/mulesoft/box-connector/blob/master/demo/src/main/app/box-connector-demo.xml) <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:scripting="http:

MULE ESB - simple jaxws client don't work … - Message payload is of type: ContentLengthInputStream

泪湿孤枕 提交于 2019-12-13 06:14:36
问题 Hi guys first of all I want you to see my wsdl file it's DHL24 api I want learn a bit on this and use simple example here is the link https://dhl24.com.pl/webapi.html I want to use getVersion as you can see we don't need to provide any data to this only in response we have getVersionResult - STRING First of all I created package generated from apache CTX using simple project here is POM: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Deleting records from Salesforce via Mulesoft ESB

℡╲_俬逩灬. 提交于 2019-12-13 05:22:38
问题 I am trying to delete list of records from Salesforce via Mulesoft ESB. I have already create an example project on github and the flow xml can be found here. The xml snippet for deleting records is below: <sfdc:delete config-ref="Salesforce__Basic_authentication" doc:name="Salesforce"> <sfdc:ids ref="#[payload]" /> </sfdc:delete> where, payload data type is List of string. While deleting the records I am getting below exception: ERROR 2015-11-05 23:39:39,755 [[tutorial].HTTP_Listener

How the Mule Listen other Web Application Data?

半腔热情 提交于 2019-12-13 04:38:33
问题 I Want to integrate Salesforce and JIRA by Using Mule. Both are Connecting Properly by using Hard Code. But i want when i am trigger the object in salesforce that time mule accept receive the data of object in salesforce. In Mule Not Listen my salesforce object data. What i do. if the Ip Address is "Localhost" is enough.or must need any realtime URL.The Following code used for recive the account details when i run the local url. instead of i want when i trigger the salesforce i recive the

trasfer one excel sheet into multiple xml content in mule

最后都变了- 提交于 2019-12-13 04:22:08
问题 In mule I'm using data-mapper to convert excel file to xml file. data mapper is working fine. But i want one excel file different xml format. My configuration xml: <data-mapper:config name="ms_excel_to_xml_2" transformationGraphPath="ms_excel_to_xml_2.grf" doc:name="ms_excel_to_xml_2"/> <jms:activemq-connector name="Active_MQ1" brokerURL="tcp://10.16.20.132:61616" validateConnections="true" doc:name="Active MQ" password="manager" username="system" specification="1.1"/> <flow name="file

app.home used in mule ajax connector is not working when mule project is converted to web application

南笙酒味 提交于 2019-12-13 04:00:30
问题 In mule, the studio flight reservation example is working when I convert it in web application by using web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID"> <!--Mule configuration (Mule format)--> <context-param> <param-name>org.mule.config</param-name> <param-value>flight-config.xml</param-value> </context-param> <listener> <listener-class> org.mule.config.builders.MuleXmlBuilderContextListener </listener-class> </listener> <servlet> <servlet-name>muleServlet</servlet-name