Hi all,

in the javascript of a xulrunner application, I'm trying to access a
web
service which has a method having a paramter whose type is
xsd:base64Binary (as defined in the related wsdl):

I'm using the WebServiceProxyFactory.
I read the bytes of a file using the binaryinputstream, but when I
invoke the web service function I get the following error (raises by
the
proxy call, not in the soap error callback):
[Exception... "Not enough arguments
[LegalReferencesServicefile_003a_002f_002f_002fC_003a_002fdata_002ftmp_002fieapp_002ewsdlAsync.getRDFReferences]"

 nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"  location: "JS
frame :: chrome://ieappclient/content/ieappclient.js ::
requestExtraction :: line 94"  data: no]

The function has just one paramter, and I'm passing the result of the
call: theStream.readByteArray(readByteArray.available()) - where the
stream has been set on an ascii text file.

I tried also the readBytes, but nothing changes.

Anyone has some advice?

Thanks,
piercarlo

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to