mule

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 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"

Error Deploying mule in Tomcat

我们两清 提交于 2019-12-13 05:14:43
问题 HI I am trying to deploy Mule in tomcat Web-App I am using maven to genarate the war file MY flow xml is---- <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="EE

Mule JAXB Object to XML Transformer throwing JAXBException

ε祈祈猫儿з 提交于 2019-12-13 04:54:09
问题 I am using Mule 3.6. I have an object which is annotated with JAXB bindings and I am trying to convert it into XML in Mule. Whenever I try to do so, I get a javax.xml.bind.JAXBException: "com.mj.metal.object" doesn't contain ObjectFactory.class or jaxb.index . My transformer are defined as: <mulexml:jaxb-context name="JAXB_Context" packageNames="com.mj.metal.object"/> <mulexml:jaxb-object-to-xml-transformer mimeType="application/xml" jaxbContext-ref="JAXB_Context" doc:name="JAXB Object to XML

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

Mule-esb: Process Jersey Response based on Status code using Choice Router?

梦想与她 提交于 2019-12-13 04:33:44
问题 How can I process a Jersey Rest Service Response based on 201 or 503 ? Can I mix groovy and other evaluators? In my example, part is using message properties and other groovy <flow> <http:outbound-endpoint address="${host}" exchange-pattern="request-response"/> <when expression="message:INBOUND:http.status==201"> <flow-ref name=="flow2"> <when expression="message:INBOUND:http.status==503"> <flow-ref name="flow3"> <when expression="payload instanceof java.lang.SocketException" evaluator=

Send multiple files in HTTP request using RAML

与世无争的帅哥 提交于 2019-12-13 04:33:39
问题 I am writing an HTTP POST request using RAML and need to write it to be able to send multiple files in the request. The number of files might be different each time so need it to be dynamic. How do I do this? This will eventually be used with Anypoint Studio 6.2 and Mule 3.8.3 Thanks 回答1: If you are using RAML version 0.8 , try below construct.It is having repeat property which specify possiblilty of multiple uploads #%RAML 0.8 title: FileUploadExample baseUri: localhost /uploadMultipleFile:

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

Mule Datamapper values from property file

一世执手 提交于 2019-12-13 04:08:41
问题 I have use case as below In mule flow i have configured a data mapper with source to target of types XML. At target side i have some header values which should contain username and password values. I want to read the username and password values from properties file under src/main/resources. Using normal MEL expression ${user},${password} is not working. Can some one help on this issue. 回答1: Pass these property values as input arguments to DataMapper, as explained here: https://stackoverflow

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