[jboss-user] [JBossWS] - javax.xml.soap.SOAPElement
rashmi_yes
do-not-reply at jboss.com
Mon Nov 26 04:19:43 EST 2007
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
More information about the jboss-user
mailing list