SOAP 'Mapping error'

I’m trying to expose a few methods for database searching & updating
via a SOAP interface. I managed a couple of find queries OK, but when I
came to try an “update” I got this error:-

C:/ruby/lib/ruby/1.8/soap/mapping/registry.rb:407:in `_obj2soap’:
Cannot map DBI
::StatementHandle to SOAP/OM. (SOAP::Mapping::MappingError)

The update methods work fine as client code, just not when exposed as
via SOAP. Is there a simple answer (for a newbie) to this error
message?
Thx
Graham

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

Hi,

Graham wrote:

I’m trying to expose a few methods for database searching & updating
via a SOAP interface. I managed a couple of find queries OK, but when I
came to try an “update” I got this error:-

C:/ruby/lib/ruby/1.8/soap/mapping/registry.rb:407:in `_obj2soap’:
Cannot map DBI
::StatementHandle to SOAP/OM. (SOAP::Mapping::MappingError)

The method “update” at server side returns DBI::StatementHandle as a
return value, right? Intended? If it’s not, return nil or something at
server side.

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

iD8DBQFDiGPEf6b33ts2dPkRAgrgAJ9LQPV8rbVlj8lnRCDvDjFx6ZLZCgCfYjU8
FHStlfhxnu5S1XprSVWCB30=
=qkPf
-----END PGP SIGNATURE-----

NAKAMURA, Hiroshi wrote:

The method “update” at server side returns DBI::StatementHandle as a
return value, right? Intended? If it’s not, return nil or something at
server side.
Ahh… I understand. Thx for the clarification.
Graham