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:
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultcode>
<faultstring>java.lang.ArrayStoreException</faultstring>
<detail>
<ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/">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.
copy.wsdl
Description: Binary data
