From: aastanti@... Date: 2005-04-06T15:59:49+09:00 Subject: Re: pass a byte array to a web service 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 # 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