Jump to content
ertank

SOAP from WSDL file does not compile

Recommended Posts

Hello,

 

I have a WSDL file (attached) that I need to use with WSDL Importer of Delphi 10.3. Using all defaults there is a remark in generated pascal file

  // ************************************************************************ //
  // 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 Embarcadero types; however, they could also
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:getInvoiceViewRequest - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getEnvelopeStatusResponse - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getEnvelopeStatusRequest - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUserListResponse - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUserListRequest - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getInvoiceViewResponse - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUBLResponse  - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:ProcessingFault - "http:/fitcons.com/eInvoice/"[Flt][]
  // !:sendUBLResponse - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:sendUBLRequest  - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUBLRequest   - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUBLListResponse - "http:/fitcons.com/eInvoice/"[Lit][]
  // !:getUBLListRequest - "http:/fitcons.com/eInvoice/"[Lit][]

As expected, generated file is not compiled under Delphi. Unfortunately, I am not provided any Internet link instead of that WSDL file.

 

I wonder if it is possible to have a working service interface for Delphi using only attached WSDL file.

 

Thanks & regards,

Ertan

ClientEInvoiceServices-2.0.wsdl

Share this post


Link to post

No chance without the definitions from http:/fitcons.com/eInvoice/. 

 

Do you have the ClientEInvoiceServicesTypes-2.0.xsd and EInvoiceServicesCommonTypes-1.0.xsd files?

Share this post


Link to post
10 hours ago, TiGü said:

Do you have the ClientEInvoiceServicesTypes-2.0.xsd and EInvoiceServicesCommonTypes-1.0.xsd files?

As a matter of fact. I found these files in ZIP file and it all worked out after I place all of them under same directory.

 

Thanks a lot.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×