org.apache.axis.client.Call.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(152)

本文整理了Java中org.apache.axis.client.Call.<init>()方法的一些代码示例,展示了Call.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.<init>()方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:<init>

Call.<init>介绍

[英]Build a call from a URL string. This is handy so that you don't have to manually call Call.initialize() in order to register custom transports. In other words, whereas doing a new URL("local:...") would fail, new Call("local:...") works because we do the initialization of our own and any configured custom protocols.
[中]从URL字符串生成调用。这很方便,因此您不必手动调用。初始化()以注册自定义传输。换句话说,在做一个新的URL(“local:…”)时将失败,新调用(“本地:…”)之所以有效,是因为我们对自己的和任何配置的自定义协议进行初始化。

代码示例

代码示例来源:origin: axis/axis

/**
 * Creates a new Call object with no prefilled data.  This assumes
 * that the caller will set everything manually - no checking of
 * any kind will be done against the WSDL.
 *
 * @return Call            Used for invoking the Web Service
 * @throws ServiceException If there's an error
 */
public javax.xml.rpc.Call createCall() throws ServiceException {
  _call = new org.apache.axis.client.Call(this);
  return _call;
}

代码示例来源:origin: org.apache.axis/axis

/**
 * Creates a new Call object with no prefilled data.  This assumes
 * that the caller will set everything manually - no checking of
 * any kind will be done against the WSDL.
 *
 * @return Call            Used for invoking the Web Service
 * @throws ServiceException If there's an error
 */
public javax.xml.rpc.Call createCall() throws ServiceException {
  _call = new org.apache.axis.client.Call(this);
  return _call;
}

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
 * Creates a new Call object with no prefilled data.  This assumes
 * that the caller will set everything manually - no checking of
 * any kind will be done against the WSDL.
 *
 * @return Call            Used for invoking the Web Service
 * @throws ServiceException If there's an error
 */
public javax.xml.rpc.Call createCall() throws ServiceException {
  _call = new org.apache.axis.client.Call(this);
  return _call;
}

代码示例来源:origin: axis/axis

/**
   * Entry point.
   * <p>
   * Calling this with no arguments returns the version of the client-side
   * axis.jar.  Passing a URL which points to a remote Axis server will
   * attempt to retrieve the version of the server via a SOAP call.
   */
  public static void main(String[] args) {
    if (args.length != 1)
      System.out.println(getVersion());
    else
      try {
        Call call = new Call(args[0]);
        String result = (String)call.invoke("Version", "getVersion",
                          null);
        System.out.println(result);
      } catch (Exception e) {
        e.printStackTrace();
      }
  }
}

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
   * Entry point.
   * <p>
   * Calling this with no arguments returns the version of the client-side
   * axis.jar.  Passing a URL which points to a remote Axis server will
   * attempt to retrieve the version of the server via a SOAP call.
   */
  public static void main(String[] args) {
    if (args.length != 1)
      System.out.println(getVersion());
    else
      try {
        Call call = new Call(args[0]);
        String result = (String)call.invoke("Version", "getVersion",
                          null);
        System.out.println(result);
      } catch (Exception e) {
        e.printStackTrace();
      }
  }
}

代码示例来源:origin: org.apache.axis/axis

/**
   * Entry point.
   * <p>
   * Calling this with no arguments returns the version of the client-side
   * axis.jar.  Passing a URL which points to a remote Axis server will
   * attempt to retrieve the version of the server via a SOAP call.
   */
  public static void main(String[] args) {
    if (args.length != 1)
      System.out.println(getVersion());
    else
      try {
        Call call = new Call(args[0]);
        String result = (String)call.invoke("Version", "getVersion",
                          null);
        System.out.println(result);
      } catch (Exception e) {
        e.printStackTrace();
      }
  }
}

代码示例来源:origin: axis/axis

Call call = new Call(endpoint.toString());
((org.apache.axis.Message)request).setMessageContext(call.getMessageContext());
Attachments attachments = ((org.apache.axis.Message)

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

Call call = new Call(endpoint.toString());
((org.apache.axis.Message)request).setMessageContext(call.getMessageContext());
Attachments attachments = ((org.apache.axis.Message)

代码示例来源:origin: org.apache.axis/axis

Call call = new Call(endpoint.toString());
((org.apache.axis.Message)request).setMessageContext(call.getMessageContext());
Attachments attachments = ((org.apache.axis.Message)

代码示例来源:origin: net.sf.taverna.cagrid/cagrid-wsdl-generic

Call call = new Call(service);

相关文章