Hi,
I am having the below web service method in server.
/**
* Web service operation
*/
@WebMethod
public String getObj(@WebParam(name = "v") Vector v) {
System.out.println("obj value ::::::::::"+v.size());
return "hello";
}
I am calling the above method from client as like below
// .. initial setup
Vector v = new Vector();
Vector v = new Vector();
v.add("v1");
v.add("v2");
wsServerPort.getObj(v);
But I am getting the below error.
getObj(javax.xml.soap.SOAPElement) in client.SampleWS cannot be applied to (java.util.Vector)
SampleWS - server class name
Server : Jboss 4.2.2
Netbeans : 5.5.1
Could you please help me on this.
Thanks.
Sorry, problem with old version of JBoss. It works fine now.