<div dir="ltr">Hi All. I have a WSDL I have imported and it uses WSSE security.<div>There are items such as the following :</div><div><div> <wsdl:message name="ReadMessage"></div><div> <wsdl:part element="wsse:Security" name="Security"/></div>
<div> <wsdl:part element="aa:Read" name="Read"/></div><div> </wsdl:message></div></div><div><br></div><div>So when you look at the generated code from the WSDL importer its like its missed something!</div>
<div><br></div><div>Here is part of a function its generated:</div><div>function Read(const Security: Security;<br></div><div><br></div><div>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" !</div>
<div><br></div><div>Then there is this in the initialization section :</div><div>InvRegistry.RegisterHeaderClass(TypeInfo(TheService), Security, 'Security', '<a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'</a>);<br>
</div><div><br></div><div>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.</div><div><br></div><div>Anyone else had or seen this issue? I have Googled around, but coming up empty.</div>
<div><br></div><div>Thanks, Jeremy</div><div><br></div></div>