Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SOAP 'Mapping error'

0 views
Skip to first unread message

Graham

unread,
Nov 25, 2005, 10:07:37 AM11/25/05
to
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

NAKAMURA, Hiroshi

unread,
Nov 26, 2005, 8:32:44 AM11/26/05
to
-----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-----


graham

unread,
Nov 26, 2005, 3:14:45 PM11/26/05
to
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
0 new messages