The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

the-genius (23) [Avatar] Offline
#1
Hi,

I'm a newbie in Mule and bus ESB. I need to reproduce the example of the chapter 4 with a HTML form. I need to post the form and work with the 2 values on the bus. For example, i'd like to got these values in a XML file in a file directory or work with these values and resend the values to the html form after integration logic.

My question is how to use the http transport with a concret example please. nowhere in the book i see an html page. I fully read the mule user guide but i have difficulty to understand.
I work with a webapp in tomcat. I access to my page with http://localhost:8080/http-esb/

Please help me. it's important for me.

Bertrand
tijs.rademakers (494) [Avatar] Offline
#2
Re: lost with mule how to connect a html form???
Hi Bertrand,

In the Mule webapp example you can find the following Mule configuration:

<service name="GreeterUMO">
<inbound>
<!-- Incoming HTTP requests -->
<inbound-endpoint address="http://localhost:8888" >
transformer-refs="HttpRequestToNameString"
synchronous="true">
<not-filter>
<wildcard-filter pattern="/favicon.ico"/>
</not-filter>
</inbound-endpoint>
<component class="org.mule.example.hello.Greeter"/>
etc etc

Does this help?
We didn't use a HTML page in the book, because the examples are focused on integration using messaging, web services, FTP, File etc. But a HTML form example would be useful as well. I'll try to post an example on esbinaction.com soon.

Best regards,

Tijs
Don Stadler (74) [Avatar] Offline
#3
Re: lost with mule how to connect a html form???
That would be excellent, Tjis. Maybe the coolest thing about Mule and Servicemix are their agnostocism toward specific technologies. I can integrate JMS messages, JCA services, HTTP stuff, EJB, POP3, FTP, etc, and mostly by wiring and rewriting relatively simple code to marshall and unmarshall.

So examples of all of the major connection options are a huge step forward, because it gives us something to start with instead of stumbling around in the dark....