aastanti
4/6/2005 6:57:00 AM
Unfortunately that doesn't work either, I always get the same error as
expected:
SOAP::FaultError: org.xml.sax.SAXException: Bad types (class
java.lang.String -> class [B)
from #<SOAP::Mapping::Object:0x2c3e848>
I'll try to speculate. The point seems to be that working with RPC
Driver makes certain assumptions about types: while this is somewhat
irrelevant in ruby world, it becomes relevant when working with web
services in general and java in particular. The SAX parser argues about
the type of that parameter: it expects an array of B (I have to check
what B is), while I'm passing a ruby string that is recognized as a
java string after unmarshaling.
Evidently working with WSDLDriverFactory I get an exact stub, with
precise types for every parameters
I'll try with Lyndon Samson suggestion, it seems worth spending some
more time.
Thanks
AA