Ejemplo n.º 1
0
 public com.edomico.www.ReservationSoap getReservationSoap12(java.net.URL portAddress)
     throws javax.xml.rpc.ServiceException {
   try {
     com.edomico.www.ReservationSoap12Stub _stub =
         new com.edomico.www.ReservationSoap12Stub(portAddress, this);
     _stub.setPortName(getReservationSoap12WSDDServiceName());
     return _stub;
   } catch (org.apache.axis.AxisFault e) {
     return null;
   }
 }
Ejemplo n.º 2
0
 /**
  * For the given interface, get the stub implementation. If this service has no port for the given
  * interface, then ServiceException is thrown. This service has multiple ports for a given
  * interface; the proxy implementation returned may be indeterminate.
  */
 public java.rmi.Remote getPort(Class serviceEndpointInterface)
     throws javax.xml.rpc.ServiceException {
   try {
     if (com.edomico.www.ReservationSoap.class.isAssignableFrom(serviceEndpointInterface)) {
       com.edomico.www.ReservationSoap12Stub _stub =
           new com.edomico.www.ReservationSoap12Stub(
               new java.net.URL(ReservationSoap12_address), this);
       _stub.setPortName(getReservationSoap12WSDDServiceName());
       return _stub;
     }
     if (com.edomico.www.ReservationSoap.class.isAssignableFrom(serviceEndpointInterface)) {
       com.edomico.www.ReservationSoapStub _stub =
           new com.edomico.www.ReservationSoapStub(
               new java.net.URL(ReservationSoap_address), this);
       _stub.setPortName(getReservationSoapWSDDServiceName());
       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()));
 }