Example #1
0
 @Override
 public si.pint.sms.webservice.SmswsPortType getsmswsPort(java.net.URL portAddress)
     throws javax.xml.rpc.ServiceException {
   try {
     si.pint.sms.webservice.SmswsBindingStub _stub =
         new si.pint.sms.webservice.SmswsBindingStub(portAddress, this);
     _stub.setPortName(getsmswsPortWSDDServiceName());
     return _stub;
   } catch (org.apache.axis.AxisFault e) {
     return null;
   }
 }
Example #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 (si.pint.sms.webservice.SmswsPortType.class.isAssignableFrom(serviceEndpointInterface)) {
       si.pint.sms.webservice.SmswsBindingStub _stub =
           new si.pint.sms.webservice.SmswsBindingStub(new java.net.URL(smswsPort_address), this);
       _stub.setPortName(getsmswsPortWSDDServiceName());
       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()));
 }