One of community members is working on HTTP support within the bus (as a transport) at present.
One way is to declare an HttpRouter in your configuration.
<action class="org.jboss.soa.esb.actions.routing.HttpRouter" name="HttpRouter"> <property name="routeUrl" value="http://localhost:9001/"></property> </action>
This will post the message to an http based endpoint.
Let me know if this doesn't work.
What is the scenario you are working with that requires the HTTP support?
I am too in need of some help regarding http requests. The Scenario is as follows:
I have to request credit assessment information from different external providers one expects the request information in the simple param=value form the other as an request-xml String within a post request.
The result of both is an response xml which is currently parsed into an xml document, which is put into a message in a selfwritten action.
Maybe I'm missing some great features of jboss esb because I just began using it. What would be the recommended way of doing the above?
I take a look at reproducing your scenario on the bus and see what can be done in the this regard.
Thanks for the scenario this helps a lot.