# Soap4r and method overloading

**URL:** <https://www.ruby-forum.com/t/soap4r-and-method-overloading/149395>\
**Category:** Ruby\
**Created:** [September 24, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/soap4r-and-method-overloading/149395 "2008-09-24T12:47:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![backz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9f8e36/32.png) [@backz](https://www.ruby-forum.com/u/backz)\
**Post date:** [September 24, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/soap4r-and-method-overloading/149395/1 "2008-09-24T12:47:46Z")

</div>

There are two methods with different number of parameters in a wsdl. I  
can only use one of it by using soap4r. How to use all of the methods?

---

<div class="post-metadata">

**Author:** ![backz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9f8e36/32.png) [@backz](https://www.ruby-forum.com/u/backz)\
**Post date:** [September 24, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/soap4r-and-method-overloading/149395/2 "2008-09-24T15:41:06Z")

</div>

On Sep 24, 6:47 am, Daniel K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ## There are two methods with different number of parameters in a wsdl. I can only use one of it by using soap4r. How to use all of the methods?
> 
> Posted viahttp://www.ruby-forum.com/.

Did you use wsdl2ruby to generate a sample Client.rb file? It creates  
sample code for each service method.

– Mark.  
P.S. see [markthomas.org](http://markthomas.org/2007/09/12/getting-started-with-soap4r/)
