Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:59:00+00:00 2026-06-13T04:59:00+00:00

I am using Mule to take input using a html file and using the

  • 0

I am using Mule to take input using a html file and using the input to add the value to an xml i am able to extract the value i just need to add it in the xml further, How should i proceed further,any help will be appreciated
Here is my config

<flow name="webappFlow1" doc:name="webappFlow1">
    <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="submitData" doc:name="HTTP"/>
    <http:body-to-parameter-map-transformer doc:name="Body to Parameter Map"/>
    <logger message="#[payload['VendorId']]" level="INFO" doc:name="Logger"/>
    <message-properties-transformer doc:name="Message Properties">
        <add-message-property key="vendorId" value="#[payload['VendorId']]"/>
    </message-properties-transformer>
    <file:inbound-endpoint path="src/test/resources" responseTimeout="10000" mimeType="text/xml" doc:name="File"/>

</flow>

The next step would be to add the vendor id to the xml file
if the xml looks like

<import>
  <field></field>
</import>

I want to add value in field
Thanks,
Rahul

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:59:01+00:00Added an answer on June 13, 2026 at 4:59 am

    If wrestling Studio in submission is an issue, you can always use an expression component to read a file.

    I notice that you intend to read from src/test/resources: Studio doesn’t put this path on the classpath, so assuming you’re OK with reading files from src/main/app instead, the following component would read src/main/app/text.xml:

    <expression-component doc:name="Read Classpath Resource">
      payload = Thread.currentThread().contextClassLoader.getResourceAsStream('test.xml')
    </expression-component>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am exposing a CXF service using Mule ESB and i need to pass
Using Mule 3, how can I pass a java.io.File object payload from an inbound
Firstly, please take a look at a snippet in mule-config.xml : <model name=userModel> <service
I using Mule Studio version: 1.3.1 . buildDate: 201209061215 I am not able to
I want to add exception handling in Mule ESB using custom-exception-strategy. However, I have
I need to transform one XML (say x1.xml) which is the input to my
Mule 3.3 can automatically unmarshall an XML string to an object using JAXB given
Using Mule 3.2.1, I want to pass a Mule Message or Mule Event to
We're securing Mule services using the Spring Security Framework, and some of the services
How can I pass parameters to external webservice via mule flow using CFX?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.