Advertisement
Evra70

Untitled

Apr 29th, 2020
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.89 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <services-flow xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3.     xmlns="http://www.jleaf.org/jleaf/service-flow"
  4.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.     xsi:schemaLocation="http://www.jleaf.org/jleaf/service-flow service-flow-scheme-jleaf.xsd">
  6.  
  7.     <service name="findSummarySaldoHutangByToko" output="outputDto">
  8.         <informations>
  9.             <description>Find Summary Saldo Hutang By Toko</description>
  10.             <info-in>
  11.                 <info name="result.header.userLoginId" type="Long" description="User login id"/>
  12.                 <info name="result.header.tenantLoginId" type="Long" description="Tenant login id"/>
  13.                 <info name="result.header.roleLoginId" type="Long" description="Role login id"/>
  14.                 <info name="result.header.datetime" type="String" description="Datetime"/>
  15.                 <info name="result.header.taskName" type="String" description="Task name"/>
  16.            
  17.                 <info name="result.payload.tokoId" type="Long" description="toko Id" />
  18.                 <info name="result.payload.apiKey" type="String" description="apiKey" />
  19.             </info-in>
  20.            
  21.             <info-out>
  22.                 <info name="summarySaldoHutangToko" type="" description="summarySaldoHutangToko {totalsaldo, totalsaldoduedate, totalsaldonotduedate, totalinvoice, totalinvoiceduedate, totalinvoicenotduedate}" />
  23.             </info-out>
  24.         </informations>
  25.         <mod-dto output="inputDto">
  26.             <key name="userLoginId" type="Long" from="${result.header.userLoginId}" />
  27.             <key name="roleLoginId" type="Long" from="${result.header.roleLoginId}" />
  28.             <key name="tenantLoginId" type="Long" from="${result.header.tenantLoginId}" />
  29.             <key name="datetime" type="String" from="${result.header.datetime}" />
  30.        
  31.             <key name="tokoId" type="Long" from="${result.payload.tokoId}" />
  32.         </mod-dto>
  33.        
  34.         <call-bf name="findSummarySaldoHutangByToko" input="${inputDto}" output="outputDto">
  35.             <onsuccess />
  36.             <onerror />
  37.         </call-bf>
  38.     </service>
  39.  
  40. </services-flow>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement