code: public void cancelShortMessage(String serviceType, String messageId,
              TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi,
              String sourceAddr, TypeOfNumber destAddrTon,
              NumberingPlanIndicator destAddrNpi, String destinationAddress)
              throws PDUException, ResponseTimeoutException,
              InvalidResponseException, NegativeResponseException, IOException {
          
          ensureTransmittable("cancelShortMessage");
          
          CancelSmCommandTask task = new CancelSmCommandTask(pduSender(),
                  serviceType, messageId, sourceAddrTon, sourceAddrNpi,
                  sourceAddr, destAddrTon, destAddrNpi, destinationAddress);
          
          executeSendCommand(task, getTransactionTimer());
      }
docs: /* (non-Javadoc)
  @see org.jsmpp.session.ClientSession#cancelShortMessage(java.lang.String, java.lang.String, org.jsmpp.bean.TypeOfNumber, org.jsmpp.bean.NumberingPlanIndicator, java.lang.String, org.jsmpp.bean.TypeOfNumber, org.jsmpp.bean.NumberingPlanIndicator, java.lang.String)