Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80743 invoked from network); 21 Jul 2004 06:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jul 2004 06:05:23 -0000 Received: (qmail 64874 invoked by uid 500); 21 Jul 2004 06:05:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 64843 invoked by uid 500); 21 Jul 2004 06:05:17 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 64833 invoked by uid 99); 21 Jul 2004 06:05:16 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 20 Jul 2004 23:05:15 -0700 Received: (qmail 23450 invoked from network); 21 Jul 2004 06:06:40 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 21 Jul 2004 06:06:40 -0000 Message-ID: <348522636.1090390000736.JavaMail.apache@nagoya> Date: Tue, 20 Jul 2004 23:06:40 -0700 (PDT) From: axis-dev@ws.apache.org To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1308) Axis 1.2 beta and .NET 1.1: Problem with arrays In-Reply-To: <893546722.1081861545979.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following comment has been added to this issue: Author: Thomas Boerkel Created: Tue, 20 Jul 2004 11:05 PM Body: Glen's new Types.java did not produce a different WSDL and so did not help. --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/browse/AXIS-1308?page=comments#action_36800 --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/AXIS-1308 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXIS-1308 Summary: Axis 1.2 beta and .NET 1.1: Problem with arrays Type: Bug Status: Unassigned Priority: Major Project: Axis Components: Basic Architecture Versions: 1.2 Beta Assignee: Reporter: Thomas Boerkel Created: Tue, 13 Apr 2004 6:04 AM Updated: Tue, 20 Jul 2004 11:05 PM Environment: Windows 2000 server, JDK 1.4.2_03, .NET 1.1, Axis 1.2 Beta Description: I was able to return an array from an Axis 1.1 RC2 server to a .NET 1.1 client without problems. With Axis 1.2 beta, the .NET client throws an exception: System.InvalidOperationException: There is an error in XMLdocument (5, 5). ---> System.InvalidOperationException: The specified type as not recognized: name='string', namespace='http://schemas.xmlsoap.org/soap/encoding/', at . I don't know, if this is a bug in Axis or .NET, but I think the interop is very important, so even a workaround in Axis for a .NET bug should be considered, until MS fixes their bug. This is the response XML from Axis 1.1 RC2: 5 6 7 And this from Axis 1.2 beta: 5 6 7 This is the Java method signature: public String[] arrayTest(int[] numbers) We do not use deployment and we do not use Tomcat, but something like this: axisServer = new AxisServer(new NullProvider()); axisServer.init(); msg = new Message(xml); msgContext = new MessageContext(axisServer); msgContext.setRequestMessage(msg); service = getService(completeName); msgContext.setService(service); axisServer.invoke(msgContext); msg = msgContext.getResponseMessage(); xml= msg.getSOAPPartAsString(); If I use service.setStyle(Style.WRAPPED) service.setUse(Use.LITERAL) Then this is the response from Axis: 5 6 7 and .NET returns NULL to the client code. Attaching Axis 1.1 RC2 WSDL and 1.2 Beta WSDL (almost identical, besides the namespace desclaration). --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira