public java.lang.String[] select(java.lang.String key, java.lang.String s)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[6]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("urn:select");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("http://webservice.sp", "select"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {key, s});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (java.lang.String[]) _resp;
        } catch (java.lang.Exception _exception) {
          return (java.lang.String[])
              org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String[].class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
Example #2
0
  public String invoke(Object[] obj) throws Exception {
    String endpointURL =
        "http://localhost:5148/WebServer/services/receiveMediumAndLongTermOperationModeCountersignInfomationTest";
    String nameSpaceURL = "http://oms.gd.soa.csg.cn";
    String soapActionURL = "http://schemas.xmlsoap.org/wsdl/soap/";
    String remoteMethod = "receiveMediumAndLongTermOperationModeCountersignInfomationTest";

    String id = "";

    Service service = new Service();
    Call call = (Call) service.createCall();

    call.addParameter(
        new QName(
            nameSpaceURL, "receiveMediumAndLongTermOperationModeCountersignInfomationTestRequest"),
        org.apache.axis.encoding.XMLType.XSD_STRING,
        javax.xml.rpc.ParameterMode.IN);
    call.setReturnType(org.apache.axis.encoding.XMLType.XSD_SCHEMA);
    call.setUseSOAPAction(true);
    call.setSOAPActionURI(soapActionURL);
    call.setTargetEndpointAddress(new java.net.URL(endpointURL).toString());

    QName qname = new QName(nameSpaceURL, remoteMethod);
    call.setOperationName(qname);

    Schema schema = (Schema) call.invoke(obj);
    String res = schema.get_any()[1].getAsString();

    return res;
  }
  public void testCall(cgl.quakesim.disloc.ObsvPoint[] testBean) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://disloc.webservices.cgl", "testCall"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {testBean});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      }
      extractAttachments(_call);
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public socialapp.soap.client.Article[] getBlogs(socialapp.soap.client.User arg0)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[1]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("http://soap.socialapp/", "getBlogs"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (socialapp.soap.client.Article[]) _resp;
        } catch (java.lang.Exception _exception) {
          return (socialapp.soap.client.Article[])
              org.apache.axis.utils.JavaUtils.convert(_resp, socialapp.soap.client.Article[].class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public boolean redimirPuntos(java.lang.String numeroPremio) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[2]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://modelo.soa.unipiloto.edu/", "redimirPuntos"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {numeroPremio});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return ((java.lang.Boolean) _resp).booleanValue();
        } catch (java.lang.Exception _exception) {
          return ((java.lang.Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class))
              .booleanValue();
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public void setCoordinateUnit(java.lang.String unit) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[3]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://KmlGenerator.webservices.cgl", "setCoordinateUnit"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {unit});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      }
      extractAttachments(_call);
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public com.lvmama.passport.hengdianmc.client.OrderRep orderReq(OrderInfo orderInfo)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("http://tempuri.org/OrderReq");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("http://tempuri.org/", "OrderReq"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {orderInfo});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (OrderRep) _resp;
        } catch (java.lang.Exception _exception) {
          return (OrderRep) org.apache.axis.utils.JavaUtils.convert(_resp, OrderRep.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public int updateStatus(java.lang.String sMsisdn, int iStatus) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[2]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://service.mc.vasc.com", "updateStatus"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(new java.lang.Object[] {sMsisdn, new java.lang.Integer(iStatus)});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return ((java.lang.Integer) _resp).intValue();
        } catch (java.lang.Exception _exception) {
          return ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_resp, int.class))
              .intValue();
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public de.epages.ws.orderdocument5.model.TGetInvoices_Return[] getInvoices(
      java.lang.String[] orders) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[4]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("urn://epages.de/WebService/OrderDocumentService/2009/01#getInvoices");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "urn://epages.de/WebService/OrderDocumentService/2009/01", "getInvoices"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {orders});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (de.epages.ws.orderdocument5.model.TGetInvoices_Return[]) _resp;
        } catch (java.lang.Exception _exception) {
          return (de.epages.ws.orderdocument5.model.TGetInvoices_Return[])
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, de.epages.ws.orderdocument5.model.TGetInvoices_Return[].class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public void setArrowPlacemark(
      java.lang.String folderName, java.lang.String lineColor, double lineWidth, double arrowScale)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[6]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://KmlGenerator.webservices.cgl", "setArrowPlacemark"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                folderName,
                lineColor,
                new java.lang.Double(lineWidth),
                new java.lang.Double(arrowScale)
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      }
      extractAttachments(_call);
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public is.idega.idegaweb.marathon.webservice.impl.Registrations getRegistrations(
      java.lang.String runId, java.lang.String year) throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("urn:MarathonRegistrationService", "getRegistrations"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {runId, year});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (is.idega.idegaweb.marathon.webservice.impl.Registrations) _resp;
        } catch (java.lang.Exception _exception) {
          return (is.idega.idegaweb.marathon.webservice.impl.Registrations)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, is.idega.idegaweb.marathon.webservice.impl.Registrations.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public com.bis.webservice.codegroup.types.CodeGroupBean getCodeGroupByLanguage(
      java.lang.String string_1, java.lang.String string_2, java.lang.String string_3)
      throws java.rmi.RemoteException, com.bis.webservice.codegroup.types.ServerErrorException,
          com.bis.webservice.codegroup.types.InvalidArgumentException,
          com.bis.webservice.codegroup.types.DataNotFoundException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[2]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "http://codegroup.webservice.bis.com/", "getCodeGroupByLanguage"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {string_1, string_2, string_3});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.bis.webservice.codegroup.types.CodeGroupBean) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.bis.webservice.codegroup.types.CodeGroupBean)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, com.bis.webservice.codegroup.types.CodeGroupBean.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      if (axisFaultException.detail != null) {
        if (axisFaultException.detail instanceof java.rmi.RemoteException) {
          throw (java.rmi.RemoteException) axisFaultException.detail;
        }
        if (axisFaultException.detail
            instanceof com.bis.webservice.codegroup.types.ServerErrorException) {
          throw (com.bis.webservice.codegroup.types.ServerErrorException) axisFaultException.detail;
        }
        if (axisFaultException.detail
            instanceof com.bis.webservice.codegroup.types.InvalidArgumentException) {
          throw (com.bis.webservice.codegroup.types.InvalidArgumentException)
              axisFaultException.detail;
        }
        if (axisFaultException.detail
            instanceof com.bis.webservice.codegroup.types.DataNotFoundException) {
          throw (com.bis.webservice.codegroup.types.DataNotFoundException)
              axisFaultException.detail;
        }
      }
      throw axisFaultException;
    }
  }
  public java.lang.String confirmarTurno(
      java.lang.String nroCi,
      java.lang.String nroCelular,
      java.lang.String entidad,
      java.lang.Long token,
      java.lang.Integer empresa,
      java.lang.Integer codEspecMedic,
      java.lang.String codMedicoTurnoFecha,
      java.lang.String usuario,
      java.lang.String password)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[2]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://servicios.consultas.ips.gov.py/", "confirmarTurno"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                nroCi,
                nroCelular,
                entidad,
                token,
                empresa,
                codEspecMedic,
                codMedicoTurnoFecha,
                usuario,
                password
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (java.lang.String) _resp;
        } catch (java.lang.Exception _exception) {
          return (java.lang.String)
              org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public int sendMo(
      java.lang.String sUser,
      java.lang.String sPass,
      java.lang.String sMsisdn,
      java.lang.String sServiceNumber,
      java.lang.String sServiceCode,
      java.lang.String sInfo,
      java.lang.String sRequestId,
      java.lang.String sOperator,
      int sRegisType,
      int iMulti)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[1]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("http://service.mc.vasc.com", "sendMo"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                sUser,
                sPass,
                sMsisdn,
                sServiceNumber,
                sServiceCode,
                sInfo,
                sRequestId,
                sOperator,
                new java.lang.Integer(sRegisType),
                new java.lang.Integer(iMulti)
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return ((java.lang.Integer) _resp).intValue();
        } catch (java.lang.Exception _exception) {
          return ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_resp, int.class))
              .intValue();
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
Example #15
0
  public int moReceive(
      java.lang.String requestID,
      java.lang.String userID,
      java.lang.String serviceID,
      java.lang.String commandCode,
      java.lang.String message,
      java.lang.String operator,
      java.lang.String partnerUsername,
      java.lang.String partnerPassword,
      java.lang.String requestTime)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("http://v2.service.123mua.vn/sms#moReceive");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://v2.service.123mua.vn/sms", "moReceive"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                requestID,
                userID,
                serviceID,
                commandCode,
                message,
                operator,
                partnerUsername,
                partnerPassword,
                requestTime
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return ((java.lang.Integer) _resp).intValue();
        } catch (java.lang.Exception _exception) {
          return ((java.lang.Integer) org.apache.axis.utils.JavaUtils.convert(_resp, int.class))
              .intValue();
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
Example #16
0
 public static String request(
     String operation, String namespace, String parameter, String uri, String arg)
     throws ServiceException, RemoteException {
   Service service = new Service();
   Call call = (Call) service.createCall();
   call.setTargetEndpointAddress(endPoint);
   call.setOperationName(new QName(namespace, operation)); // WSDL里面描述的接口名称
   call.addParameter(parameter, XMLType.SOAP_STRING, ParameterMode.IN); // 接口的参数
   call.setReturnType(XMLType.SOAP_STRING); // 设置返回类型
   call.setSOAPActionURI(uri);
   String result = (String) call.invoke(new Object[] {arg});
   return result;
 }
Example #17
0
  /**
   * Main entry point. Tests a variety of echo methods and reports on their results.
   *
   * <p>Arguments are of the form: -h localhost -p 8080 -s /soap/servlet/rpcrouter
   */
  public static void main(String args[]) throws Exception {
    // set up the call object
    Options opts = new Options(args);
    service = new Service();
    call = (Call) service.createCall();
    call.setTargetEndpointAddress(new URL(opts.getURL()));
    call.setUseSOAPAction(true);
    call.setSOAPActionURI("http://www.soapinterop.org/Bid");

    // register the PurchaseOrder class
    QName poqn = new QName("http://www.soapinterop.org/Bid", "PurchaseOrder");
    Class cls = PurchaseOrder.class;
    call.registerTypeMapping(cls, poqn, BeanSerializerFactory.class, BeanDeserializerFactory.class);

    // register the Address class
    QName aqn = new QName("http://www.soapinterop.org/Bid", "Address");
    cls = Address.class;
    call.registerTypeMapping(cls, aqn, BeanSerializerFactory.class, BeanDeserializerFactory.class);

    // register the LineItem class
    QName liqn = new QName("http://www.soapinterop.org/Bid", "LineItem");
    cls = LineItem.class;
    call.registerTypeMapping(cls, liqn, BeanSerializerFactory.class, BeanDeserializerFactory.class);

    try {
      // Default return type based on what we expect
      call.setOperationName(new QName("http://www.soapinterop.org/Bid", "Buy"));
      call.addParameter("PO", poqn, ParameterMode.IN);
      call.setReturnType(XMLType.XSD_STRING);

      LineItem[] li = new LineItem[2];
      li[0] = new LineItem("Tricorder", 1, "2500.95");
      li[1] = new LineItem("Phasor", 3, "7250.95");

      PurchaseOrder po =
          new PurchaseOrder(
              "NCC-1701",
              Calendar.getInstance(),
              new Address("Sam Ruby", "Home", "Raleigh", "NC", "27676"),
              new Address("Lou Gerstner", "Work", "Armonk", "NY", "15222"),
              li);

      // issue the request
      String receipt = (String) call.invoke(new Object[] {po});

      System.out.println(receipt);
    } catch (Exception e) {
      System.out.println("Buy failed: " + e);
      throw e;
    }
  }
  public com.google.api.ads.dfp.axis.v201302.ContentPage
      getContentByStatementAndCustomTargetingValue(
          com.google.api.ads.dfp.axis.v201302.Statement filterStatement,
          java.lang.Long customTargetingValueId)
          throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201302.ApiException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[1]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "https://www.google.com/apis/ads/publisher/v201302",
            "getContentByStatementAndCustomTargetingValue"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(new java.lang.Object[] {filterStatement, customTargetingValueId});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.google.api.ads.dfp.axis.v201302.ContentPage) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.google.api.ads.dfp.axis.v201302.ContentPage)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, com.google.api.ads.dfp.axis.v201302.ContentPage.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      if (axisFaultException.detail != null) {
        if (axisFaultException.detail instanceof java.rmi.RemoteException) {
          throw (java.rmi.RemoteException) axisFaultException.detail;
        }
        if (axisFaultException.detail instanceof com.google.api.ads.dfp.axis.v201302.ApiException) {
          throw (com.google.api.ads.dfp.axis.v201302.ApiException) axisFaultException.detail;
        }
      }
      throw axisFaultException;
    }
  }
Example #19
0
  public com.deppon.fin.dept.WSContext login(
      java.lang.String userName,
      java.lang.String password,
      java.lang.String slnName,
      java.lang.String dcName,
      java.lang.String language,
      int dbType,
      java.lang.String authPattern)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "login"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                userName,
                password,
                slnName,
                dcName,
                language,
                new java.lang.Integer(dbType),
                authPattern
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.deppon.fin.dept.WSContext) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.deppon.fin.dept.WSContext)
              org.apache.axis.utils.JavaUtils.convert(_resp, com.deppon.fin.dept.WSContext.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public is.idega.idegaweb.egov.cases.focal.business.server.focalMockupService.Status
      createUpdateCustomer(
          is.idega.idegaweb.egov.cases.focal.business.server.focalMockupService.CustomerInformation
              personal_information)
          throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[3]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "urn:is.idega.idegaweb.egov.cases.focal", "createUpdateCustomer"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {personal_information});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (is.idega.idegaweb.egov.cases.focal.business.server.focalMockupService.Status)
              _resp;
        } catch (java.lang.Exception _exception) {
          return (is.idega.idegaweb.egov.cases.focal.business.server.focalMockupService.Status)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp,
                  is.idega
                      .idegaweb
                      .egov
                      .cases
                      .focal
                      .business
                      .server
                      .focalMockupService
                      .Status
                      .class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public com.google.api.ads.adwords.axis.v201605.cm.ConversionTrackerReturnValue mutate(
      com.google.api.ads.adwords.axis.v201605.cm.ConversionTrackerOperation[] operations)
      throws java.rmi.RemoteException, com.google.api.ads.adwords.axis.v201605.cm.ApiException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[1]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "https://adwords.google.com/api/adwords/cm/v201605", "mutate"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {operations});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.google.api.ads.adwords.axis.v201605.cm.ConversionTrackerReturnValue) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.google.api.ads.adwords.axis.v201605.cm.ConversionTrackerReturnValue)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp,
                  com.google.api.ads.adwords.axis.v201605.cm.ConversionTrackerReturnValue.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      if (axisFaultException.detail != null) {
        if (axisFaultException.detail instanceof java.rmi.RemoteException) {
          throw (java.rmi.RemoteException) axisFaultException.detail;
        }
        if (axisFaultException.detail
            instanceof com.google.api.ads.adwords.axis.v201605.cm.ApiException) {
          throw (com.google.api.ads.adwords.axis.v201605.cm.ApiException) axisFaultException.detail;
        }
      }
      throw axisFaultException;
    }
  }
  public com.google.api.ads.dfp.axis.v201311.FirstPartyAudienceSegment[] updateAudienceSegments(
      com.google.api.ads.dfp.axis.v201311.FirstPartyAudienceSegment[] segments)
      throws java.rmi.RemoteException, com.google.api.ads.dfp.axis.v201311.ApiException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[3]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "https://www.google.com/apis/ads/publisher/v201311", "updateAudienceSegments"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {segments});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.google.api.ads.dfp.axis.v201311.FirstPartyAudienceSegment[]) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.google.api.ads.dfp.axis.v201311.FirstPartyAudienceSegment[])
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, com.google.api.ads.dfp.axis.v201311.FirstPartyAudienceSegment[].class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      if (axisFaultException.detail != null) {
        if (axisFaultException.detail instanceof java.rmi.RemoteException) {
          throw (java.rmi.RemoteException) axisFaultException.detail;
        }
        if (axisFaultException.detail instanceof com.google.api.ads.dfp.axis.v201311.ApiException) {
          throw (com.google.api.ads.dfp.axis.v201311.ApiException) axisFaultException.detail;
        }
      }
      throw axisFaultException;
    }
  }
  public cgl.quakesim.disloc.DislocResultsBean runBlockingDislocExt(
      java.lang.String userName,
      java.lang.String projectName,
      cgl.quakesim.disloc.ObsvPoint[] obsvPoints,
      cgl.quakesim.disloc.Fault[] faults,
      cgl.quakesim.disloc.DislocParamsBean dislocParams,
      java.lang.String targetName)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[2]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://disloc.webservices.cgl", "runBlockingDislocExt"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                userName, projectName, obsvPoints, faults, dislocParams, targetName
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (cgl.quakesim.disloc.DislocResultsBean) _resp;
        } catch (java.lang.Exception _exception) {
          return (cgl.quakesim.disloc.DislocResultsBean)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, cgl.quakesim.disloc.DislocResultsBean.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public com.google.api.ads.dfa.axis.v1_20.UserFilterCriteriaType[]
      getAvailableUserFilterCriteriaTypes()
          throws java.rmi.RemoteException, com.google.api.ads.dfa.axis.v1_20.ApiException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[5]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "http://www.doubleclick.net/dfa-api/v1.20", "getAvailableUserFilterCriteriaTypes"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.google.api.ads.dfa.axis.v1_20.UserFilterCriteriaType[]) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.google.api.ads.dfa.axis.v1_20.UserFilterCriteriaType[])
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, com.google.api.ads.dfa.axis.v1_20.UserFilterCriteriaType[].class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      if (axisFaultException.detail != null) {
        if (axisFaultException.detail instanceof java.rmi.RemoteException) {
          throw (java.rmi.RemoteException) axisFaultException.detail;
        }
        if (axisFaultException.detail instanceof com.google.api.ads.dfa.axis.v1_20.ApiException) {
          throw (com.google.api.ads.dfa.axis.v1_20.ApiException) axisFaultException.detail;
        }
      }
      throw axisFaultException;
    }
  }
  public void setGridLine(
      java.lang.String folderName,
      double start_x,
      double start_y,
      double end_x,
      double end_y,
      double xinterval,
      double yinterval)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[9]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://KmlGenerator.webservices.cgl", "setGridLine"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(
              new java.lang.Object[] {
                folderName,
                new java.lang.Double(start_x),
                new java.lang.Double(start_y),
                new java.lang.Double(end_x),
                new java.lang.Double(end_y),
                new java.lang.Double(xinterval),
                new java.lang.Double(yinterval)
              });

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      }
      extractAttachments(_call);
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public br.inf.portalfiscal.www.nfe.wsdl.hom.SCEConsultaRFB.SceConsultaDPECResult sceConsultaDPEC(
      br.inf.portalfiscal.www.nfe.wsdl.hom.SCEConsultaRFB.SceDadosMsg sceDadosMsg)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI(
        "http://www.portalfiscal.inf.br/nfe/wsdl/SCEConsultaRFB/sceConsultaDPEC");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP12_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("", "sceConsultaDPEC"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sceDadosMsg});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (br.inf.portalfiscal.www.nfe.wsdl.hom.SCEConsultaRFB.SceConsultaDPECResult) _resp;
        } catch (java.lang.Exception _exception) {
          return (br.inf.portalfiscal.www.nfe.wsdl.hom.SCEConsultaRFB.SceConsultaDPECResult)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp,
                  br.inf.portalfiscal.www.nfe.wsdl.hom.SCEConsultaRFB.SceConsultaDPECResult.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public com.mobilebulletin.remote.group.ImportGroupFromExcelResponse importGroupFromExcel(
      com.mobilebulletin.remote.group.ImportGroupFromExcelRequest arg0)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[4]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName(
            "http://group.remote.mobilebulletin.com/", "importGroupFromExcel"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {arg0});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (com.mobilebulletin.remote.group.ImportGroupFromExcelResponse) _resp;
        } catch (java.lang.Exception _exception) {
          return (com.mobilebulletin.remote.group.ImportGroupFromExcelResponse)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, com.mobilebulletin.remote.group.ImportGroupFromExcelResponse.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public java.lang.String runMakeKml(
      java.lang.String serverTag,
      java.lang.String userName,
      java.lang.String projectName,
      java.lang.String jobUID)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[7]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(
        new javax.xml.namespace.QName("http://KmlGenerator.webservices.cgl", "runMakeKml"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(new java.lang.Object[] {serverTag, userName, projectName, jobUID});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (java.lang.String) _resp;
        } catch (java.lang.Exception _exception) {
          return (java.lang.String)
              org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public org.panlab.ptm.t1.types.ProvisioningResponse update(
      java.lang.String vct_id,
      java.lang.String resource_id,
      java.lang.String config_data,
      java.lang.String callback)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[3]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("");
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("http://t1.ptm.panlab.org", "update"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp =
          _call.invoke(new java.lang.Object[] {vct_id, resource_id, config_data, callback});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (org.panlab.ptm.t1.types.ProvisioningResponse) _resp;
        } catch (java.lang.Exception _exception) {
          return (org.panlab.ptm.t1.types.ProvisioningResponse)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, org.panlab.ptm.t1.types.ProvisioningResponse.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }
  public net.yandex.speller.services.spellservice.CheckTextResponse checkText(
      net.yandex.speller.services.spellservice.CheckTextRequest parameters)
      throws java.rmi.RemoteException {
    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setUseSOAPAction(true);
    _call.setSOAPActionURI("http://speller.yandex.net/services/spellservice/checkText");
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName("", "checkText"));

    setRequestHeaders(_call);
    setAttachments(_call);
    try {
      java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});

      if (_resp instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException) _resp;
      } else {
        extractAttachments(_call);
        try {
          return (net.yandex.speller.services.spellservice.CheckTextResponse) _resp;
        } catch (java.lang.Exception _exception) {
          return (net.yandex.speller.services.spellservice.CheckTextResponse)
              org.apache.axis.utils.JavaUtils.convert(
                  _resp, net.yandex.speller.services.spellservice.CheckTextResponse.class);
        }
      }
    } catch (org.apache.axis.AxisFault axisFaultException) {
      throw axisFaultException;
    }
  }