Hi again Gert.
Sure, I'm simply translating information between one XML and another.
This is because I don't want the user to have direct access to my
JSR-181 SE. I want the XSLT SE to transform a document with a specific
structure to an OS command, and I want the result of the command's
execution to be translated into another document with a specific
structure.
Does that information help you answer my original questions any better?
Owen.
-----Original Message-----
From: Gert Vanthienen [mailto:[EMAIL PROTECTED]
Sent: Monday, May 07, 2007 3:40 PM
To: [email protected]
Subject: Re: Creating intermediary XSLT service.
Owen,
I'm a bit confused about exactly what you will be trying to do with the
XSLT SE. Anyway, ServiceMix already has an out-of-the-box XSLT
component (servicemix-saxon) that you can use for data transformation
(XSL-T) and XQuery. Doesn't this one suit your needs?
Gert
Owen Thomas wrote:
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.