widana

Untitled

Feb 7th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.37 KB | None | 0 0
  1.     <service name="getDetailProductById" bean="" output="outputDto">
  2.         <informations>
  3.             <description>Get Detail Product By Id</description>
  4.             <info-in>
  5.                 <info name="result.header.userLoginId" type="Long" description="User login id"/>
  6.                 <info name="result.header.tenantLoginId" type="Long" description="Tenant login id"/>
  7.                 <info name="result.header.roleLoginId" type="Long" description="Role login id"/>
  8.                 <info name="result.header.datetime" type="String" description="Datetime"/>
  9.                 <info name="result.header.taskName" type="String" description="Task name"/>
  10.                
  11.                 <info name="result.payload.productId" type="Long" description="Product Id" />
  12.             </info-in>
  13.             <info-out>
  14.                 <info name="result.product" type="List" description="list of product (id, productCode, productName)"/>
  15.                 <info name="result.stock" type="List" description="list of stock (qty,uomName,warehouseCode,warehouseName)"/>
  16.                 <info name="result.price" type="List" description="list of price (code,price, currCode)"/>
  17.             </info-out>
  18.         </informations>
  19.        
  20.         <mod-dto output="inputDto">
  21.             <key name="tenantId" type="Long" from="${result.header.tenantLoginId}" />
  22.             <key name="productId" type="Long" from="${result.payload.productId}" />
  23.         </mod-dto>
  24.        
  25.         <call-bf name="getDetailProductById" input="${inputDto}" output="outputDto">
  26.             <onsuccess />
  27.             <onerror />
  28.         </call-bf>
  29.     </service>
Advertisement
Add Comment
Please, Sign In to add comment