Skip to main content

Hi All,

 

I’m trying to develop a XML → JSON transformer to use in an inbound integration. I’m trouble finding the required ifs framework libraries.

 

ifs-fnd-connect.jar can be downloaded from the documentation below

About Transformer Development - Technical Documentation For IFS Cloud

 

But the ifs-fnd-base.jar and/or ifs-fnd-common.jar cannot be found there. How can we find these jars?

 

@udlelk glad if you could give some insight here 😊

 

Cheers!

Damith

Hi,
I already faced same problem - I solved it via building Transformer in APP10 project.

IFS Cloud - Developer Studio - Transformer ini file BUG | IFS Community
Developer Studio 22.1.8546 issues | IFS Community

I also reported bug via IFS support (CS0075450)
 

Hi,
BUGs in Transformers development:
- transformer cannot be initiated - missing libraries
- java transformer cannot be builded - missing libraries
- no transformer can be exported -> ini is obsolete, xml is invalid
- in APP10 project is also BUG - using of Java 1.6 is obsolete - must be rewritten to 1.7

Additional info attached

Connected Community questions:
https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/ifs-cloud-developer-studio-transformer-ini-file-bug-21097
https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/developer-studio-22-1-8546-issues-21150

 

I can add you to watch list, if you want.

I also tried create XSLT tranformer from XML to TEXT, it works in DS, but in 22R1 it removes newlines, so I will must rewrite it to java.
IFS Cloud - XSL XML to Text transformer | IFS Community

BR


Hi,
I already faced same problem - I solved it via building Transformer in APP10 project.

IFS Cloud - Developer Studio - Transformer ini file BUG | IFS Community
Developer Studio 22.1.8546 issues | IFS Community

I also reported bug via IFS support (CS0075450)
 

Hi,
BUGs in Transformers development:
- transformer cannot be initiated - missing libraries
- java transformer cannot be builded - missing libraries
- no transformer can be exported -> ini is obsolete, xml is invalid
- in APP10 project is also BUG - using of Java 1.6 is obsolete - must be rewritten to 1.7

Additional info attached

Connected Community questions:
https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/ifs-cloud-developer-studio-transformer-ini-file-bug-21097
https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/developer-studio-22-1-8546-issues-21150

 

I can add you to watch list, if you want.

I also tried create XSLT tranformer from XML to TEXT, it works in DS, but in 22R1 it removes newlines, so I will must rewrite it to java.
IFS Cloud - XSL XML to Text transformer | IFS Community

BR

 

Thanks a lot @InfFilipV 

Please add me to the watch list, We’ll also come across with same problems sooner or later :)

 

I was actually able to find a solution, probably it could be useful for you.

 ifs-fnd-base.jar is included in the examples given in About Transformer Development - Technical Documentation For IFS Cloud

 

I created a new project based on the example and created a XML to JSON transformer in Dev Studio, so far things are working fine and I could get my transformer working in 22R1 😎

 

jdk version- I used openJDK 17 and it worked without a problem.

 

Cheers!

Damith


Hi Damith,

You can find ifs-fnd-common.jar and ifs-fnd-j2ee.jar from this location (Transport Connector Development): https://docs.ifs.com/techdocs/22r1/060_development/024_integration/015_connect/060_transport_connector_development/project/

ifs-fnd-j2ee.jar contains ifs.fnd.base related sources as well. I will update the documentation accordingly.

/Udesha


Hi Damith,

You can find ifs-fnd-common.jar and ifs-fnd-j2ee.jar from this location (Transport Connector Development): https://docs.ifs.com/techdocs/22r1/060_development/024_integration/015_connect/060_transport_connector_development/project/

ifs-fnd-j2ee.jar contains ifs.fnd.base related sources as well. I will update the documentation accordingly.

/Udesha

 

Thanks a lot Udesha :)


Hi,
with all these libraries is now possible to develop transformer (both types) in 22R1 project using 22.1 DS.

(But still are here issues with wrong *.jar name and generated *.ins and *.xml file)

 

BR


Hi,
with all these libraries is now possible to develop transformer (both types) in 22R1 project using 22.1 DS.

(But still are here issues with wrong *.jar name and generated *.ins and *.xml file)

 

BR

 

Hi Filip,

 

regarding the .jar name problem, what was the real issue there? How did you create your transformer project?

 

Cheers!

Damith


Hi @dsj,
transformer project is generated from Transformer model file via “Horizontal Workflow”. And whole development could be done inside IFS project, there is no need of usage underlaying Maven Transformer project.
 

 

Detailed Workflow for Java Transformer Development - Technical Documentation For IFS Cloud

(Initialize raising error - Generate Code first despite of it is already done - for XSL close model and reopen it, for Java restart whole IDE, after Code generation helps)

This is only way how to develop transformer for APP10, where is *.INS file needed to install it via delivery. No other way will generate *.xml and *.ins. (these files are generated after test run is successful - do not forget fill Input.xml and Expected.xml - be aware of newlines)

And as I said, it still works APP10 way also for IFS Cloud - same files generated, same jar name →  CEcbCurrencyRates-10.0-core.jar. 

BR


Hi @dsj,
transformer project is generated from Transformer model file via “Horizontal Workflow”. And whole development could be done inside IFS project, there is no need of usage underlaying Maven Transformer project.
 

 

Detailed Workflow for Java Transformer Development - Technical Documentation For IFS Cloud

(Initialize raising error - Generate Code first despite of it is already done - for XSL close model and reopen it, for Java restart whole IDE, after Code generation helps)

This is only way how to develop transformer for APP10, where is *.INS file needed to install it via delivery. No other way will generate *.xml and *.ins. (these files are generated after test run is successful - do not forget fill Input.xml and Expected.xml - be aware of newlines)

And as I said, it still works APP10 way also for IFS Cloud - same files generated, same jar name →  CEcbCurrencyRates-10.0-core.jar. 

BR

 

Hi @InfFilipV,

I doubt we could use transformer model in cloud, but upto RnD to comment on that. As I interpreted, the middle-tier modeling is now deprecated? Please verify that before committing the changes in cbp.

 

I created my transformer using the example project given in the documentation and could change the .jar name in  build.xml

 

Cheers!

Damith