1 Reply Latest reply on Nov 26, 2007 9:13 AM by rashmi_yes

    javax.xml.soap.SOAPElement

    rashmi_yes

      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.