Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 49329 invoked by uid 500); 28 Mar 2002 19:14:59 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 49320 invoked from network); 28 Mar 2002 19:14:59 -0000 Message-ID: From: "St-Germain, Sylvain" To: "Axis Dev (E-mail)" Subject: ArrayStoreException - Server serialization problem Date: Thu, 28 Mar 2002 14:11:52 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1D68C.6B15F090" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C1D68C.6B15F090 Content-Type: text/plain; charset="ISO-8859-1" Hi all, (this morning CVS) I am having a problem when returning an array of struct for an overloaded method. Here are the various signature I am providing, only the fourth one fails: 1) public java.math.BigInteger copy( java.lang.String search, java.lang.String target, com.cognos.developer.CopyOptions options); 2) public com.cognos.developer.CopyV1Reply[] copy( com.cognos.developer.CopyV1Request[] params); 3) public java.math.BigInteger copy( com.cognos.developer.BaseClass[] objects, java.lang.String target, com.cognos.developer.CopyOptions options); 4) public com.cognos.developer.CopyV2Reply[] copy( com.cognos.developer.CopyV2Request[] params); I tried removing signature #2 from the WSDL thinking that this one was somehow hiding #4 but no luck #4 still fails. I get this fault: ns1:Server.userException java.lang.ArrayStoreException java.lang.ArrayStoreException at org.apache.axis.utils.JavaUtils.convert(JavaUtils.java:302) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:1 77) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:264)&#x d; at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:548) I tried to change the returned object but no matter what I try to return, I *always* get the ArrayStoreException. Attached is the WSDL. -- Sylvain This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. ------_=_NextPart_000_01C1D68C.6B15F090 Content-Type: application/octet-stream; name="copy.wsdl" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="copy.wsdl" = ------_=_NextPart_000_01C1D68C.6B15F090--