axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Melamud <mikm...@yahoo.com>
Subject Axis/.Net interop
Date Mon, 17 Nov 2003 19:31:48 GMT
For the the Java bean having property defined as: 
 private byte[][] multipleByteArrayValues;
Axis 1.1 Java2WSDL generates descriptor as follows:
 <complexType name="ArrayOf_xsd_base64Binary"> 
 <complexContent> 
 <restriction base="soapenc:Array"> 
	<attribute ref="soapenc:arrayType"
wsdl:arrayType="xsd:byte[][]" /> 
</restriction> 
</complexContent> 
</complexType>
As I understand this is OK as far as WSDL 1.1 and SOAP
1.1 concerned for rpc/soap encoded web service

MS .Net Visual Studio stub generator responds with
System.SByte[] to such type definition in wsdl,
where the SByte value type represents integers with
values ranging from negative 128 to positive 127,
which is not exactly what I'd expect.
Changing the wsdl to 
 <complexType name="ArrayOf_xsd_base64Binary"> 
 <complexContent> 
 <restriction base="soapenc:Array"> 
	<attribute ref="soapenc:arrayType"
wsdl:arrayType="s:base64Binary[]" /> 
</restriction> 
</complexContent> 
</complexType>
where xmlns:s="http://www.w3.org/2001/XMLSchema" 
produces expected definition in c# stub:
System.Byte[][]
Has anyone seen this behavior and is there a way to
affect Axis's java2Wsdl to generate base64Binary[]as
an arraytype or .Net to understand byte[][] and
generate proper stub.
Thanks
Mike


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

Mime
View raw message