Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. Enterprise integration > RESTful job submission with Spring MVC

11.4. RESTful job submission with Spring MVC

In figure 11.8, the first step in our use case is to receive job submissions for the import products job through HTTP. A submission will contain a client-defined import identifier (to track the status of the import) and the products to import, all as an XML document such as this:

<?xml version="1.0" encoding="UTF-8"?>
<products import-id="partner1-1">
  <product>
    <id>216</id>
    <name>CN Clogs Beach/Garden Clog</name>
    <description>CN Clogs Beach/Garden Clog</description>
    <price>190.70</price>
  </product>
  <product>
    <id>217</id>
    <name>ATT 8525 PDA</name>
    <description>ATT 8525 PDA</description>
    <price>289.20</price>
  </product>
</products>


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial