Title: Type mismatch when getting an int array as parameter
This is fixed in the latest build. Thanks!
-----Original Message-----
From: Thomas B�rkel
Sent: Montag, 11. Februar 2002 19:10
To: Axis Mailinglist
Subject: Type mismatch when getting an int array as parameter

HI!

Using the current build with .NET 1.0.

I have a method with an int array (int[]) as parameter. When I call this method from a .NET client, then Axis throws an exception because of type mismatch.

This is what .NET sends:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://p2test.p2plus.apag.com" xmlns:types="http://p2test.p2plus.apag.com/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:arrayTest><in0 href="#id1" /></tns:arrayTest><soapenc:Array id="id1" soapenc:arrayType="xsd:int[3]"><Item>1</Item><Item>2</Item><Item>3</Item></soapenc:Array></soap:Body></soap:Envelope>


Where is the problem?

Thanks!

Regards,
Thoams

Reply via email to