[DUG] wsdl soap importer

Leigh Wanstead leighw at softtech.co.nz
Mon Jul 28 15:12:08 NZST 2008


For reference, I think that I solved my issue in Delphi 7.

I put following code and it seems works.

  sessionRequestRow = class(TRemotable)
  private
    fRequestId: WideString;
    fOrgKey: WideString;
    fUserId: WideString;
    fDivisionId: WideString;
    fClearToken: WideString;

  published
    property RequestId: WideString read fRequestId write fRequestId;
    property OrgKey: WideString read fOrgKey write fOrgKey;
    property UserId: WideString read fUserId write fUserId;
    property DivisionId: WideString read fDivisionId write fDivisionId;
    property ClearToken: WideString read fClearToken write fClearToken;
  end;

  sessionResponseRow = class(TRemotable)
  private
    fRequestId: WideString;
    fSessionId: WideString;
    fOrgKey: WideString;
    fUserId: WideString;
    fDivisionId: WideString;
    fClearToken: WideString;
    fEnryptedToken: WideString;
    fStatusMessage: WideString;

  published
    property RequestId: WideString read fRequestId write fRequestId;
    property SessionId: WideString read fSessionId write fSessionId;
    property OrgKey: WideString read fOrgKey write fOrgKey;
    property UserId: WideString read fUserId write fUserId;
    property DivisionId: WideString read fDivisionId write fDivisionId;
    property ClearToken: WideString read fClearToken write fClearToken;
    property EnryptedToken: WideString read fEnryptedToken write
fEnryptedToken;
    property StatusMessage: WideString read fStatusMessage write
fStatusMessage;
  end;

Have a nice day

Regards
Leigh
www.smootharm.com


-----Original Message-----
From: Leigh Wanstead [mailto:leighw at softtech.co.nz]
Sent: Monday, 28 July 2008 10:56 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: wsdl soap importer


Good morning,

I got a wsdl file enclosed in the email and try to import into Delphi.
Delphi generated following statement. I can not compiled the code. What can
I do?

  //
************************************************************************ //
  // The following types, referred to in the WSDL document are not being
represented
  // in this file. They are either aliases[@] of other types represented or
were referred
  // to but never[!] declared in the document. The types from the latter
category
  // typically map to predefined/known XML or Borland types; however, they
could also
  // indicate incorrect WSDL documents that failed to declare or import a
schema type.
  //
************************************************************************ //
  // !:sessionRequestRow - ""
  // !:sessionResponseRow - ""

Thank you for your time to read my question and I look forward to hearing
from you.

Have a nice day

Regards
Leigh




More information about the Delphi mailing list