In searching the archives I found the following e-mail, but there does not seem to be a resolution.

 

http://marc.theaimsgroup.com/?l=axis-user&m=106917131020548&w=2

 

I am running into exactly the same situation.  After deployment Axis presents a WSDL which has xsd:byte[][] for a Java byte[][].  I change the WSDL to use the type soapenc:base64Binary[], change the deployment descriptor to reference the custom WSDL file and redeploy.  At that point a .NET client is able to pass the data into the method, but is unable to get the return value, throwing an exception:

 

Top Exception:  System.InvalidOperationException

Inner Exception: Cannot assign object of type System.SByte[][] to an object of type System.Byte[][]

 

The Java method is simply:

 

            public byte[][] echoStreams( byte[][] data ) { return data; }

 

Any help would be greatly appreciated.

 

Brian J. Gladish

Senior Software Engineer

Raining Data Corporation (http://www.rainingdata.com)

(949) 260-5140

 

Reply via email to