Cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup PLMXML translation service in Dispatcher

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hello everyone,

 

i'm trying to configure the plmxml_import_export Translator correctly, but it does'nt work.

 

what i did:

 

 

- create TSplmxmlexportService.properties with the following content Translator.SIEMENS.plmxml_import_export.Prepare=com.teamcenter.ets.translator.ugs.basic.TaskPrep

 

- add TSplmxmlexportService to Service.properties

 

- edit translator.xml. it looks like:

<?xml version="1.0" ?>

<!DOCTYPE Translators[
<!ENTITY MODULEBASE "C:/ugs/TC11/Dispatcher/Module">
<!ENTITY JAVABIN "C:\PROGRA~1\Java\JRE18~1.0_7\bin">
<!ENTITY IDEAS "C:/UGS/IDEAS12">
<!ENTITY ORBIX "C:/ORBIX/Iona/asp/6.1/lib/">
<!ENTITY PROJTRANS "d:/ProjTrans">
<!ENTITY PT_JFV "_10000.1.0">
<!ENTITY UGSPKG "com.teamcenter.translator.ugs.">
<!ENTITY WRAPPER "com.teamcenter.tstk.server.translator.ugs.">
<!ENTITY EAIWRAPPER "&WRAPPER;EaiTranslator">
]>

<Translators>

<!-- ************************************************************************************ -->
<!-- Translation Service plmxml translator Generation Services -->
<!-- ************************************************************************************ -->
<PlmXmlImportExport provider="SIEMENS" service="plmxml_import_export" isactive="true">
<TransExecutable dir="&MODULEBASE;/Translators/plmxml_import_export" name="plmxml_import_export.bat"/>
<Options>
<Option name="clientoption" optionkey="dcproxy" string="-u=" value=""
description="Specifies user name to login to Teamcenter."/>
<Option name="clientoption" optionkey="dcproxy" string="-p=" value=""
description="Specifies password to login to Teamcenter."/>
<Option name="clientoption" optionkey="dba" string="-g=" value=""
description="Specifies group to login to Teamcenter."/>
<Option name="clientoption" optionkey="encrypted_password" string="-encrypt=" value="true"
description="Specifies whether or not password is encrypted to login to Teamcenter."/>
<Option name="clientoption" optionkey="export" string="-mode=" value=""
description="Mode of operation Import or Export"/>
<Option name="inputpath" string=""
description="Full path to the input file."/>
<Option name="outputdir" string=""
description="Full path to the output directory."/>
<Option name="clientoption" optionkey="file" string="" value=""
description="Specifies output filename."/>
<Option name="clientoption" optionkey="logfilename" string="" value=""
description="Specifies log filename."/>
</Options>
<FileExtensions>
<InputExtensions nitem="1">
<InputExtension extension=".xml"/>
</InputExtensions>
<OutputExtensions nitem="1">
<OutputExtension extension=".log"/>
</OutputExtensions>
</FileExtensions>
</PlmXmlImportExport>

 

- edit the ...Module\Translators\plmxml_import_export\plmxml_import_export.bat 

 

The plmxml_import_export ist now avaible as  a Module Service.

when i select a itemrevision and try to translate it. there no Translator definitions avaible.

what preference i need to add?

and how can i start this translator as a workflow?

 

thank you.