publishwidgetbyspmswebserviceporttypeproxy.java

来自「调用ws接口widget,主要是接口定义文件。」· Java 代码 · 共 54 行

JAVA
54
字号
package com.hanming.wpp.widget.webservice;

public class PublishWidgetBySPMSWebServicePortTypeProxy implements com.hanming.wpp.widget.webservice.PublishWidgetBySPMSWebServicePortType {
  private String _endpoint = null;
  private com.hanming.wpp.widget.webservice.PublishWidgetBySPMSWebServicePortType publishWidgetBySPMSWebServicePortType = null;
  
  public PublishWidgetBySPMSWebServicePortTypeProxy() {
    _initPublishWidgetBySPMSWebServicePortTypeProxy();
  }
  
  public PublishWidgetBySPMSWebServicePortTypeProxy(String endpoint) {
    _endpoint = endpoint;
    _initPublishWidgetBySPMSWebServicePortTypeProxy();
  }
  
  private void _initPublishWidgetBySPMSWebServicePortTypeProxy() {
    try {
      publishWidgetBySPMSWebServicePortType = (new com.hanming.wpp.widget.webservice.PublishWidgetBySPMSWebServiceLocator()).getPublishWidgetBySPMSWebServiceHttpPort();
      if (publishWidgetBySPMSWebServicePortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)publishWidgetBySPMSWebServicePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)publishWidgetBySPMSWebServicePortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (publishWidgetBySPMSWebServicePortType != null)
      ((javax.xml.rpc.Stub)publishWidgetBySPMSWebServicePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.hanming.wpp.widget.webservice.PublishWidgetBySPMSWebServicePortType getPublishWidgetBySPMSWebServicePortType() {
    if (publishWidgetBySPMSWebServicePortType == null)
      _initPublishWidgetBySPMSWebServicePortTypeProxy();
    return publishWidgetBySPMSWebServicePortType;
  }
  
  public com.hanming.wpp.widget.webservice.PublishState execute(com.hanming.wpp.widget.webservice.PublishService in0) throws java.rmi.RemoteException{
    if (publishWidgetBySPMSWebServicePortType == null)
      _initPublishWidgetBySPMSWebServicePortTypeProxy();
    return publishWidgetBySPMSWebServicePortType.execute(in0);
  }
  
  
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?