Advertisement
Evra70

Untitled

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