0 Replies Latest reply on Sep 21, 2006 6:22 PM by matty1498

    Type mismatch in webservices

    matty1498
      Hi All,

      I am keep getting the type mismatch on webservice. I am trying to pass a array to a method in webserivce. The method is call "PubDetials". But it keep telling me type mismatch while I am passing array into the method. The error is at below

      Could not perform web service invocation "PubDetails" because java.lang.IllegalArgumentException: argument type mismatch

      Here is my code:

      sp_WebServiceURL = " http://localhost/....../.........../?????.asmx?WSDL";

      tPub = ArrayNew(1);

      sp_WebService = createobject("webservice", "#sp_WebServiceURL#");

      ArrayOfTPublication[1] = StructNew();

      ArrayOfTPublication[1].PubCode = "ATN";

      result = sp_WebService.PubDetails(ArrayOfTPublication);