Hi Guillermo,
for using the import, you have to convert the schema to TSD4, which can easy be done by using the Tamino 4.1.1. Schema-Editor. For ‘import’ the signature schema, select the schema node of your schema (in case of the TriggerJ_Schema the TriggerJ_schema node), press the right mouse button, select ‘insert’ and then ‘import’. Now an ‘import’ node appears in the tree. Select it. As namespace add ‘XML-Signature Syntax and Processing’ and if you already have defined the xmldsig-core-schema.xsd in your target database (which is part of the Tamino XML Security Extensions download) you can add …/sag:xmlsecurity/signature as schemaLocation. After defining the import you can define element nodes of the imported schema in your own schema like e.g. a DS:Signature element. I would suggest to define the DS:Signature element as optional element. In this case the XML documents that should be valid against this schema can but have not to be signed.
If you now would like to use the DigitalSignatureExtension select the root node of your schema (in case of the TriggerJ_schema the Trigger element node), go to the ‘Logical Properties’ window, open the ‘trigger’ property and add ‘DigitalSignatureExtension.onInsert’ as value to the ‘onInsert’ property. Now you can define the schema. But keep in mind because of you have been defined a trigger in your schema, the ‘Define Schema’ will just work if the DigitalSignatureExtension has been installed in your target database via the Tamino Manager before (see Tamino XML Extensions docu).
(I hope this explanation is not too confusing)
regard Eckehard
#webMethods#API-Management#Tamino