コード例 #1
0
 public com.misys.equation.ui.services.test.ServiceDirectory getServiceDirectory(
     java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
   try {
     com.misys.equation.ui.services.test.ServiceDirectorySoapBindingStub _stub =
         new com.misys.equation.ui.services.test.ServiceDirectorySoapBindingStub(
             portAddress, this);
     _stub.setPortName(getServiceDirectoryWSDDServiceName());
     return _stub;
   } catch (org.apache.axis.AxisFault e) {
     return null;
   }
 }
コード例 #2
0
 /**
  * For the given interface, get the stub implementation. If this service has no port for the given
  * interface, then ServiceException is thrown.
  */
 @Override
 public java.rmi.Remote getPort(Class serviceEndpointInterface)
     throws javax.xml.rpc.ServiceException {
   try {
     if (com.misys.equation.ui.services.test.ServiceDirectory.class.isAssignableFrom(
         serviceEndpointInterface)) {
       com.misys.equation.ui.services.test.ServiceDirectorySoapBindingStub _stub =
           new com.misys.equation.ui.services.test.ServiceDirectorySoapBindingStub(
               new java.net.URL(ServiceDirectory_address), this);
       _stub.setPortName(getServiceDirectoryWSDDServiceName());
       return _stub;
     }
   } catch (java.lang.Throwable t) {
     throw new javax.xml.rpc.ServiceException(t);
   }
   throw new javax.xml.rpc.ServiceException(
       "There is no stub implementation for the interface:  "
           + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
 }