Package no.kommune.bergen.soa.svarut.altinn

Examples of no.kommune.bergen.soa.svarut.altinn.AltinnException


    ReceiptExternal response;
    try {
      response = port.insertCorrespondenceBasicV2(settings.getSystemUserName(), settings.getSystemPassword(), settings.getSystemUserCode(), msg.getExternalReference(), request);
      if (!ReceiptStatusEnum.OK.equals(response.getReceiptStatusCode()))
        throw new AltinnException("Status was not ok: receiptID " + response.getReceiptId() + " status " + response.getReceiptStatusCode());

    } catch (ICorrespondenceAgencyExternalBasicInsertCorrespondenceBasicV2AltinnFaultFaultFaultMessage e) {
      throw new AltinnException(getAltinnFaultMessage(e), e);
    }
    return response.getReceiptId();
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.svarut.altinn.AltinnException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.