Here is the client code:
                String endpoint = url+"HomeScenarioServer.jws";
            Service  service = new Service();
            Call     call    = (Call) service.createCall();
            call.setTargetEndpointAddress( new java.net.URL(endpoint) );
            prefs = (Vector) call.invoke("updatePreference",  new Object[] {
cfg.getConsumerID() } );
It generates an exception with the message: java.util.ArrayList.
I suppose, as I said, that it is a problem of serialization for a Vector.
That would be great if you could send me a simple example (if possible
documented) explaining how to deal with that problem.
Thanks in advance

Patrick

-----Original Message-----
From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 6:43 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: How to deal with a Vector


Define "doesn't work".

Do you get an exception?

I can try a test if I have time.. but if you could provide more
information.



Rich Scheuerle
XML & Web Services Development
512-838-5115  (IBM TL 678-5115)


 

                      "Chauviaux, Patrick"

                      <patrick.chauviaux@be.        To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>                  
                      unisys.com>                   cc:

                                                    Subject:  How to deal
with a Vector                                                
                      02/08/2002 11:25 AM

                      Please respond to

                      axis-user

 

 




Hello all,

My problem is that I have a method on the server side that returns a
java.util.Vector. When I make an AXIS SOAP call to this method it doesn't
work. I suppose I have to use the VectorDeserializer class to do that but
it
is rather difficult to understand how it works. Can someone send me a
complete example of how I should use it?
Thanks!

Patrick


Reply via email to