Hi Anusha
How do I invoke Synapse directly from a non axis2 client?
Its simple.. create a proxy service that would handle your request, and
point your client to the EPR (i.e. URL) of the proxy service.
My requirement is, I have a Java Spring application which will send input to
web service hosted in non axis2 server, using some transportation medium
which would be Apache Synapse.
Can I start Synapse service from the back end and pass the string
(parameter) to my web service, by invoking Synapse URL directly from my
application? If I invoke Synapse like this, how will it identify the message
to be passed?
Ok.. so you already have a Spring application that can send a message to
a SOAP web service, thats hosted on some non-axis2 server.. right? See
the Synapse sample #150 [1] to see how you could create a 'proxy' for
your actual service on Synapse. Then this proxy could accept your
message from the Spring application, and optionally do some mediation
(e.g. log the message, transform etc) and then forward it to the actual
(i.e. non-axis2 service)
I am new to Synapse. Any links or references which configures synapse for
non axis2 clients would be very helpful.
Synapse does NOT have any requirement for the use of Axis2 on the
client/service sides. They could be .Net, php, C++, JMS, file, ftp,
email.. etc
To learn more, read through :
http://synapse.apache.org/Synapse_QuickStart.html
http://synapse.apache.org/Synapse_Samples.html and
http://synapse.apache.org/Synapse_Configuration_Language.html
cheers
asankha
[1] http://synapse.apache.org/Synapse_Samples.html#Sample150
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com