Currently, I receive events in (json format) from apache kafka and I use logstash with HTTP Output plugin for sending SOAP Request message to Web Service, via WSDL.
my goal is to receive the SOAP Response message in Logstash and forward to kafka in json format but I do not find any official plugin that support this functionality.
Do you have any experience/suggestion which plugin or strategy I can use to receive those SOAP Response?
Many thanks in advance for your response.
Cheers,
s1m0ne
As I don't have access to a SOAP endpoint I can't test any suggestions.
Some folks on here have tried the http_poller plugin. However you said you want XML to JSON conversion and that is a problem because we don't have a XML codec to decode the XML to a LS Event.
The XML filter uses XPath to "pluck" values out of the XML and add them with keys to an event and that may work for you.
http_poller -> xml filter -> kafka output + json codec
Actually, I am thinking to use HTTP_Poller Input Plugin for this purpose but the http_poller performes async request to wdsl (setting up polling interval attribute) and I concern about the performance and resilience of LS plugin.
Regarding the XML Filter, I would forward the soap response as I receive, to kafka topic in json format.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.