Thanks asankha .

Synapse/ESB seems an overkill for my requirement I think and a bit
heavyweight.  What I think it would do is read the file and send the SOAP
message on the bus to another endpoint which would be a webservice over
http. 

I could do something similar : read the SOAP message from the file and make
a call internally ( using HTTPCommons ) to the service . this is a
roundabout and unnecessary way and would also affect the performance I
think.
If there was a way I could directly hook into the stub and pass the message
that would be the most ideal and fast way.

thanks
Pat




Asankha C. Perera wrote:
> 
> Hi Pat
>> I have created a web service from WSDL using Axis 1.2  and HTTP binding. 
>> I have a situation where I will have the SOAP messages available to me in
>> flat files that I have to read and process. 
>>
>> I would like to know if its possible to provide this SOAP message
>> directly
>> to the generated stub (or any other class.) ? The SOAP messages are
>> already
>> available with me and I would like to re-use the same generated classes
>> to
>> processes these SOAP messages. The impl would be a POJO. 
>>
>> That is , I would like to skip the HTTP binding and provide the SOAP
>> message
>> directly. Is there a hook for  not using the HTTP transport and provide
>> the
>> SOAP message 
>> directly ? ( maybe a JavaBinding just like HTTPbinding and JMSBinding ? ) 
>> Maybe this will also be helpful in testing to provide pre defined SOAP
>> requests directly for consumption rather than via http or jms ? 
>>   
> Not sure if this is the exact thing you are looking for.. but the Apache 
> Synapse ESB is capable of picking up files from lots of different file 
> systems (e.g. ftp, sftp, zip, local etc) and pumping them to various 
> other endpoints (like SOAP/HTTP, JMS, FIX, Mail etc)
> 
> See http://synapse.apache.org
> 
> cheers
> asankha
> 
> -- 
> Asankha C. Perera
> AdroitLogic, http://adroitlogic.org
> 
> http://esbmagic.blogspot.com
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Possible-to-pass-SOAP-messages-directly-rather-than-HTTP-or-JMS----tp22430117p22431066.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to