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.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107669#4107669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107669
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to