Advertisement
Evra70

Untitled

Apr 29th, 2020
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.11 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="getSaldoPiutangListByCustomer" output="outputDto">
  8.         <informations>
  9.             <description>Get Saldo Piutang List By Customer</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.customerId" type="Long" description="customer Id" />
  18.                 <info name="result.payload.statusPiutang" type="String" description="status Piutang" />
  19.                 <info name="result.payload.apiKey" type="String" description="apiKey" />
  20.             </info-in>
  21.            
  22.             <info-out>
  23.                 <info name="result.saldoPiutangList" type="List" description="saldoPiutangList (invoiceDocNo,invoiceDocDate, invoiceDueDate, sisaPiutang, statusPiutang)" />
  24.             </info-out>
  25.         </informations>
  26.         <mod-dto output="inputDto">
  27.             <key name="userLoginId" type="Long" from="${result.header.userLoginId}" />
  28.             <key name="tenantLoginId" type="Long" from="${result.header.tenantLoginId}" />
  29.             <key name="roleLoginId" type="Long" from="${result.header.roleLoginId}" />
  30.             <key name="datetime" type="String" from="${result.header.datetime}" />
  31.             <key name="apiKey" type="String" from="${result.payload.apiKey}" />
  32.            
  33.             <key name="customerId" type="Long" from="${result.payload.customerId}" />
  34.             <key name="statusPiutang" type="String" from="${result.payload.statusPiutang}" />
  35.         </mod-dto>
  36.        
  37.         <call-bf name="getSaldoPiutangListByCustomer" input="${inputDto}" output="outputDto">
  38.             <onsuccess />
  39.             <onerror />
  40.         </call-bf>
  41.     </service>
  42.  
  43. </services-flow>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement