views:

80

answers:

1

I added a basicHttpBinding to an existing Service I have in production in order to expose it for use in Delphi.

When I try to use the WSDLImporter from Delphi 7 on the wsdl file, it doesn't work right.

A section in the resulting tlb says

// ************************************************************************ //
// 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.
// ************************************************************************ //

This service is consumed fine by .NET client. The service is using complexTypes but they are in the files and they are the newer split out to multiple files for imports by xsd.

Any way of doing this in Delphi 7? I even tried pulling all imported types back to 1 wsdl document. No difference.

Thanks, David

A: 

First guess is that the WCF service is SOAP 1.2, for which support was added in Delphi 2010.

For Delphi 7, you could try some of the answers to this question.

--jeroen

Jeroen Pluimers
i see... Well it took them long enough. Thanks.
DavieDave
although... basicHttpBinding should work with Delphi right?
DavieDave
basicHttpBinding is the very basic binding - SOAP 1.1, not much in terms of security, not much else in terms of features - but compatible to just about any SOAP client out there --> great for interoperability, weak on features and security
DavieDave