[DUG] SOAP WSDL import issue

Jeremy Coulter jscoulter at gmail.com
Thu Sep 5 15:14:27 NZST 2013


Hi All. I have a WSDL I have imported and it uses WSSE security.
There are items such as the following :
  <wsdl:message name="ReadMessage">
    <wsdl:part element="wsse:Security" name="Security"/>
    <wsdl:part element="aa:Read" name="Read"/>
  </wsdl:message>

So when you look at the generated code from the WSDL importer its like its
missed something!

Here is part of a function its generated:
function  Read(const Security: Security;

Ok, so the first thing I see is the variable name is the same as the
object. easy to fix. HOWEVER, there is no object called "Security" !

Then there is this in the initialization section :
InvRegistry.RegisterHeaderClass(TypeInfo(TheService), Security, 'Security',
'
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
);

The issue is, there IS no "Security" object so the code doesnt compile! Its
like the WSDL importer doesnt know how to handle it - or something like
that.

Anyone else had or seen this issue? I have Googled around, but coming up
empty.

Thanks, Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130905/e55ef8c3/attachment.html 


More information about the Delphi mailing list