Skip to content

Tuppu/Roima-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task:

  • Build REST API that consumes XML (src/main/resources/data.xml)
    • Modify DemoController class by adding HTTP interface:
      • POST: /transform
      • Content-Type: application/xml
  • Modifies received XML message according to format below.
  • You will need Java and Maven to build and run the project.

This is what the service should respond (no comments needed):

 <order>
     <orderId>123_7</orderId> <!-- id + batch -->
     <documentDateTime>2021-05-31T11:59:15.932Z</documentDateTime> <!-- current datetime -->
     <orderRows>
        <orderRow>
            <rowNumber>1</rowNumber>
            <description>text1</description>
        </orderRow>
        <orderRow>
            <rowNumber>2</rowNumber>
            <description>text2</description>
        </orderRow>
        <orderRow>
            <rowNumber>3</rowNumber>
            <description>text3</description>
        </orderRow>
     </orderRows>
 </order>

About

Roima REST XSL Transform Techincal Excercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published