IBM Support

API invoked from code throws YFS10379 Template not found

Troubleshooting


Problem

API invoked from code throws YFS10379 Template not found

Symptom

API works when called from the API tester with the same XML but when called from the code and passing just the environment and the inXML gives the error.


PART: API-OM 5.0 Platform
PRODUCT: Distributed Order Management
COMPONENT: allocateOrder
OS: <None> - <None>
DATABASE: <None> - <None>
WEB SERVER: <None> - <None>
WEB BROWSER: Internet Explorer - 5.5 sp2

Cause

Resolving The Problem

Make sure that you have YFS_HOME (or parent directory of template/) in classpath. Also, make sure that you have template xml in template/api/ directory.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI48945

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21534157