[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

different results between wsdl2ruby and wsdlDriver

Matt Rose

1/30/2006 6:50:00 PM

1 Answer

NAKAMURA, Hiroshi

3/5/2006 1:30:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Sorry for late reply.

Matt Rose wrote:
> I think the problem comes down to a SOAP method that can have two
> different types of calls.
>
> there's one call: server_List, that can take two different types of
> arguments.
>
> 1. credentials, customerID (which is numeric)
> 2. credentials, searchCriteria (which is a string)
>
> When I use the stub files generated by wsdl2ruby, it somehow chooses the
> 2nd method for this server_List, and I get the result I want.

Unfortunately soap4r cannot handle method overload. Latter method
definition overwrites the former definition.

Stub files generated by wsdl2ruby and wsdlDriver should work as same I
think. I must be slipping over something. Can you show me the WSDL?

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFECueaf6b33ts2dPkRAvUWAKCvya1oGuietr1khfdreFQYN5FrFgCfRiBz
xU905442hNd27atBuUJ4lic=
=T00+
-----END PGP SIGNATURE-----