# Ruby soap implementation

**URL:** <https://www.ruby-forum.com/t/ruby-soap-implementation/73697>\
**Category:** Ruby\
**Created:** [October 26, 2006, 11:41am UTC](https://www.ruby-forum.com/t/ruby-soap-implementation/73697 "2006-10-26T11:41:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![schnepfe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@schnepfe](https://www.ruby-forum.com/u/schnepfe)\
**Post date:** [October 26, 2006, 11:41am UTC](https://www.ruby-forum.com/t/ruby-soap-implementation/73697/1 "2006-10-26T11:41:46Z")

</div>

Hi,  
we have compared php and ruby Web Service clients.  
Both clients call a Web Service getting a response containing an array  
of about 10000 integers.  
We oberserved that the ruby client is 10 times slower than the php  
client.

Anyone have similar experience ?  
What XML parser is used in the SOAP implementation?

System: debian  
Versions: ruby1.8.5-2

Thanks,  
Jörg

---

<div class="post-metadata">

**Author:** ![schnepfe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@schnepfe](https://www.ruby-forum.com/u/schnepfe)\
**Post date:** [October 26, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/ruby-soap-implementation/73697/2 "2006-10-26T15:25:57Z")

</div>

Hi Jorg,

> we have compared php and ruby Web Service clients.  
> Both clients call a Web Service getting a response containing an array  
> of about 10000 integers.  
> We oberserved that the ruby client is 10 times slower than the php  
> client.
> 
> Anyone have similar experience ?

I use activesalesforce which interacts with salesforce via SOAP and it  
is definitely not fast. I would be very interested to hear if anyone has  
any ideas why this is so slow compared to PHP.

Cheers!  
Patrick
