Hi Asankha

I have created the Proxy Web Service.But I am facing problem in invoking it
from my Sample Application (built in jave on spring platform using netbeans
as tool)..Can i invoke the proxy web service in a similar fashion as
invoking a Normal Web Service..

Or should i import some apache.synapse java class to invoke it..I have my
parameter as a string which is in xml format and the reply from web service
is also in same format..

Any links or examples would also be helpful..

Regards
Abhishek

Asankha C. Perera wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invoking-Synapse-from-Non-Axis-2-Client-tp21970007p21990766.html
Sent from the Synapse - User mailing list archive at Nabble.com.

Reply via email to