SOAP calls using EventMachine

Is there a way to make non-blocking SOAP requests in EventMachine?

I am creating a ruby ​​application that interacts with google adwords api (which is based on SOAP) using the adwords4r gem. The application uses EM to receive messages through a stop connection, and then processes these messages, causing SOAP calls to adwords api. Obviously, I need these calls to be non-blocking since the processing will be within the reactor thread. One option is to use EM.defer, but I would prefer not to have the overhead of the thread chain in the thread pool.

+3
source share
2 answers

HandSoap can use EventMachine.

+6
source

After I earned an overflow icon with this question, I ended up asking about IRC # eventmachine. There are apparently no options suitable for eventMachine for SOAP calls other than usingEM.defer

0
source

Source: https://habr.com/ru/post/1724338/


All Articles