Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > SOAP 'Mapping error'

Reply
Thread Tools

SOAP 'Mapping error'

 
 
Graham
Guest
Posts: n/a
 
      11-25-2005
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

 
Reply With Quote
 
 
 
 
NAKAMURA, Hiroshi
Guest
Posts: n/a
 
      11-26-2005
-----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)

iD8DBQFDiGPEf6b33ts2dPkRAgrgAJ9LQPV8rbVlj8lnRCDvDj Fx6ZLZCgCfYjU8
FHStlfhxnu5S1XprSVWCB30=
=qkPf
-----END PGP SIGNATURE-----


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
any library for SOAP 1.1 or SOAP 1.2? Amogh Hooshdar Python 1 03-11-2008 09:29 PM
SOAP Request is repeated in the SOAP response. comp.text.xml XML 0 09-20-2006 08:41 AM
SOAP over JMS vs SOAP over HTTP Nagesh Java 2 08-12-2006 12:31 AM
To SOAP or Not To SOAP? mooseshoes XML 3 09-21-2003 04:38 PM
SOAP Client creation in ASP.NET using MS SOAP Toolkit Sham Ramakrishnan ASP .Net 2 07-01-2003 11:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57