<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpFirst, li.MsoNormalCxSpFirst, div.MsoNormalCxSpFirst
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpMiddle, li.MsoNormalCxSpMiddle, div.MsoNormalCxSpMiddle
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoNormalCxSpLast, li.MsoNormalCxSpLast, div.MsoNormalCxSpLast
        {mso-style-type:export-only;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormalCxSpFirst"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt">Hi Mark and list,<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Is there a way to tell XML::Compile that “extensions of expected types are ok” ?<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I’m calling a web service called "createNote". It can create different types of node, for example a folder or a record.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">The service returns information about the node created. The WSDL says it returns “AbstractNodeType”, but in fact it returns a FolderType or a RecordType.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">These types are extensions of the AbstractNodeType, for example<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:complexType name="FolderType"><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt"><xs:complexContent><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt"><xs:extension base="tns:AbstractNodeType"><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:sequence><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element name="autoFolder" type="xs:boolean"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element name="discriminatoryFolder" type="xs:boolean"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="closedDate" type="xs:dateTime"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="closedReason" type="xs:string"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="crPhysicalUid" type="xs:string"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="description" type="xs:string"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element name="manageAutoFolder" type="xs:boolean"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="note" type="xs:string"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="openedDate" type="xs:dateTime"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="openedReason" type="xs:string"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="vital" type="xs:boolean"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element minOccurs="0" name="historical" type="xs:boolean"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><xs:element maxOccurs="unbounded" minOccurs="0" name="storageScale" nillable="true" type="tns:StorageScaleType"></xs:element><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"></xs:sequence><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"></xs:extension><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"></xs:complexContent><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"></xs:complexType><o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">On the whole this appears to me to be a “good thing”, however it does surprise XML::Compile.<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">It says<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"> error: decode error: element `autoFolder' not processed for {http://www.rsd.com/public/governanceManager/recordManagement/v4/schema}createNodeResponse/return/node
at /soap:Envelope/soap:Body/ns2:createNodeResponse/return/ns2:node/autoFolder<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">I’m using
<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt">XML-Compile version 1.39<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt">XML-Compile-SOAP version 2.38<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormalCxSpMiddle"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Thanks for any pointers,<o:p></o:p></span></font></p>
<p class="MsoNormalCxSpLast"><font size="2" face="Calibri"><span lang="EN-GB" style="font-size:11.0pt">Ciaran<o:p></o:p></span></font></p>
</div>
</body>
</html>