Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > return an array with SOAP Axis call...

Thread Tools

return an array with SOAP Axis call...

Axel Burwitz
Posts: n/a

sorry for boring with a very basic question, but I cannot solve it..

want get back an int array from my SOAP Axis web service. In the call, after
some testing , reading, trying, I have set for "setReturnType" now
"Constants.SOAP_ARRAY" (I am far from being sure...)

But when I start the call, it gets "java.lang.ClassCastException" !

Can anybody help me with a hint for the correct and appropriate definition ?

Thanks in advance,


call.setTargetEndpointAddress( new );
call.setOperationName("distrowatchserverselectdb") ;
Integer movieid = new Integer(2);
int[] ret = (int[]) call.invoke( new Object[] {movieid});
System.out.println("Bin zur?ck");
// } catch (Exception e) {

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis question: what is the correct way to use Axis? ed Java 2 12-08-2006 07:31 PM
Calling a Web Service using Axis, from within an Axis Web Service running under Tomcat hocho888 Java 1 04-29-2005 08:26 PM
AXIS jars org.apache.axis.wsi.* and org.apache.axis.transport.jms.* Java 0 02-23-2005 04:02 PM
Axis 1.1 don't delete attachments in the axis attachment cache Stefan Java 0 05-06-2004 08:00 PM
axis.jar does not contain org.apache.axis.client.ServiceClient? Joey Vendetta Java 0 04-01-2004 05:51 PM