Reputation: 171
Mule version: 3,5 (Actually, mule studio)
I'm new at using mule and can't seem to figure out how to do the following properly:
Want to achieve: Send data from a html form to mule which then splits the payload and sends one part to one java program and the other to another.
Html form:
<form method="GET" action="http://localhost:8081">
<input type="text" name="name"/>
<input type="text" name="lastname"/>
<input type="submit" value="Submit" />
</form>
This points to localhost and the port which is set in MuleStudio.
Real Question: What could I use to transform the data from the inbound http to xml?
Side Question: I can send the whole payload to one javaprogram. (first a POJO and then to the actual program. - is this the right way or can I send it to the program and skipping the POJO?)
Upvotes: 1
Views: 282
Reputation: 33413
Since your main concern is about transformation, let's only address it.
object-to-xml-transformer
) then transform it to the desired form (xslt-transformer
).I'm sure there are other options, but these should get you going :)
Upvotes: 1