Hızlı Bilişimin efatura web servisini kullanırken bir noktaya takıldım:
Kod: Tümünü seç
CevapKontrol := Servis.SendApplicationResponse( ... )
Servisin ilgili bölümlerinin kodlarıda şunlar:
Kod: Tümünü seç
// Fatura Red-Kabul
function SendApplicationResponse(
const sendApplicationResponse: SendApplicationResponse2):
ResponseMessage2; stdcall;
Kod: Tümünü seç
SendApplicationResponse2 = class(TRemotable)
private
FAppType: Integer;
FAppType_Specified: boolean;
FDocuments: ArrayOfApplicationReponseDocumentInfo;
FDocuments_Specified: boolean;
FResponseCode: string;
FResponseCode_Specified: boolean;
FResponseDescription: string;
FResponseDescription_Specified: boolean;
procedure SetAppType(Index: Integer; const AInteger: Integer);
function AppType_Specified(Index: Integer): boolean;
procedure SetDocuments(Index: Integer; const AArrayOfApplicationReponseDocumentInfo: ArrayOfApplicationReponseDocumentInfo);
function Documents_Specified(Index: Integer): boolean;
procedure SetResponseCode(Index: Integer; const Astring: string);
function ResponseCode_Specified(Index: Integer): boolean;
procedure SetResponseDescription(Index: Integer; const Astring: string);
function ResponseDescription_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property AppType: Integer Index (IS_OPTN) read FAppType write SetAppType stored AppType_Specified;
property Documents: ArrayOfApplicationReponseDocumentInfo Index (IS_OPTN or IS_NLBL) read FDocuments write SetDocuments stored Documents_Specified;
property ResponseCode: string Index (IS_OPTN or IS_NLBL) read FResponseCode write SetResponseCode stored ResponseCode_Specified;
property ResponseDescription: string Index (IS_OPTN or IS_NLBL) read FResponseDescription write SetResponseDescription stored ResponseDescription_Specified;
end;
Yardımcı olabilirseniz memnun olurum