incoming base64binary should actually have a type of string. use the Base64
class in apache soap to then decode it.
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT
----- Original Message -----
From: "Tarun Gera" <[EMAIL PROTECTED]>
To: <undisclosed-recipients:>
Sent: Monday, April 29, 2002 11:04 AM
Subject: SOAP help for base64Binary data type
hi All,
As per the architecture....Server side SOAP implementation is in
JAVA using Apache SOAP API and lcient side implementation is in VC using
MSSOAP toolkit. the problem that i am facing is that i have one method
at server side having two parameters (byte array and string). The WSDL
generated for the same has type as type="xsd:base64Binary" for byte[]
and type="xsd:string" for string parameter.
Also, as per the mapping of data types at MSSOAP side...it says
that base64Binary is mapped to SAFEARRAY type in VC (VT_ARRAY | VT_UI1).
I have file contents in a byte array and i have created a SAFEARRAY for
the same. But when i make a call to the server it gives an error "type
mismatch".
I don't know y this error is coming when i have specified
everything. Kindly help me out with this problem.
Thanks in advance
Tarun