Exemplo n.º 1
0
 public ku.ske.calculator.ComplexCalculator getComplexCalculatorPort(java.net.URL portAddress)
     throws javax.xml.rpc.ServiceException {
   try {
     ku.ske.calculator.ComplexCalculatorPortBindingStub _stub =
         new ku.ske.calculator.ComplexCalculatorPortBindingStub(portAddress, this);
     _stub.setPortName(getComplexCalculatorPortWSDDServiceName());
     return _stub;
   } catch (org.apache.axis.AxisFault e) {
     return null;
   }
 }
Exemplo 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.
  */
 public java.rmi.Remote getPort(Class serviceEndpointInterface)
     throws javax.xml.rpc.ServiceException {
   try {
     if (ku.ske.calculator.ComplexCalculator.class.isAssignableFrom(serviceEndpointInterface)) {
       ku.ske.calculator.ComplexCalculatorPortBindingStub _stub =
           new ku.ske.calculator.ComplexCalculatorPortBindingStub(
               new java.net.URL(ComplexCalculatorPort_address), this);
       _stub.setPortName(getComplexCalculatorPortWSDDServiceName());
       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()));
 }