Good afternoon ServiceMix users.
After 3 months of persistence, I finally got a web service functioning in a ServiceMix container. What I have is an HTTP BC that forwards requests from outside the NMR to a JSR-181 SE. The JSR-181 SE implements an OS call using the string supplied in the received SOAP message as the command. As those who have been observant up to this point can see, this is very dangerous. It is not recommended one expose such a web service on a production machine for the possibility of damage to the host that could result. What I would like to do is to use this SE to run specific commands that I write in XSLT, and run using an XSLT SE. I'm not quite sure how to do this, and would appreciate help on the following matters: 1. I have the HTTP BC and JSR-181 SE. I appear to need the XSLT SE. Can anyone tell me what other service units I might need? 2. How do I get these service units to talk to each other? I believe, that in the Java Business Integration spec v 1.0, my JBI instance is going to look something like that given in section 4.9.1, except that it will be a request-response MEP. Can anyone please help me draw light over my solution in respect of this example? Thank you for your considered replies, Owen.
