It runs fine with standalone servicemix. But when, I tried to run this application with servicemix running in Geronimo, it’s not working properly. When we tried the same on the Servicemix, it shows file save dialog box. The same is not working, when tried on Geronimo.
Note: No exception is coming
I have put the logging statements in the HttpMarshler and HttpHandler Bean classes and run it. I have observed that the createMessage() method of HttpMarshler is getting called. onMessageExchange() method of HttpHandler is also called. But the sendOut method of HttpMarshler is not getting called.
The example is using the http:consumer element in xbean.xml file:
locationURI="http://0.0.0.0:8192/upload/" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" targetService="ex:httphandler"
marshaler="#marshaler" /> And This element is existing in ServiceMix version 3.2 and above only (As mentioned in the tutorial).
Since this element is new in servicemix, the handling of this element is having some issue when it is used with apache servicemix-web (WAR) in Geronimo.
Operating System – Windows XP SP2
Geronimo with tomcat version 2.0.2
2. Installed servicemix-shared library using the apache servicemix-web interface’s Shared Libraries Menu.
3. Installed and started servicemix-http and servicemix-bean component using the servicemix-web interface’s Components menu.
4. Deployed and started the http-uploader-sa service assembly using the same interface’s Service assemblies menu.
5. Verified that the service is deployed using below url: