Fanadia_Friska

service get

Aug 31st, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. <!-- GetVehicleList -->
  2. <service name="getVehicleList" bean="" output="outputDto">
  3. <informations>
  4. <description>Get vehicle list</description>
  5. <info-in>
  6. <info name="result.header.userLoginId" type="Long" description="User login id"/>
  7. <info name="result.header.userLoginName" type="String" description="User login name"/>
  8. <info name="result.header.roleLoginId" type="Long" description="Role login id"/>
  9. <info name="result.header.roleLoginName" type="String" description="Role login name"/>
  10. <info name="result.header.datetime" type="String" description="Date time"/>
  11.  
  12. <info name="result.payload.keyword" type="String" description="keyword"/>
  13. <info name="result.payload.active" type="String" description="active"/>
  14. <info name="result.payload.limit" type="Long" description="limit"/>
  15. <info name="result.payload.offset" type="Long" description="offset"/>
  16. </info-in>
  17. <info-out>
  18. <info name="result.vehicleList" type="List" description="vehicle list ( vehicleCode, licenseNo, ownerName, chassisNo, engineNo, vehicleGroupCode,vehicleGroupName, vehicleTypeCode, vehicleTypeName, yearMade, customerName, address1, address2, address3, phone1, phone2, active, version )"/>
  19. </info-out>
  20. </informations>
  21.  
  22. <mod-dto output="inputDto">
  23. <key name="keyword" type="String" from="${result.payload.keyword}"/>
  24. <key name="active" type="String" from="${result.payload.active}"/>
  25. <key name="limit" type="Long" from="${result.payload.limit}"/>
  26. <key name="offset" type="Long" from="${result.payload.offset}"/>
  27. </mod-dto>
  28.  
  29. <call-bf name="getVehicleList" input="${inputDto}" output="outputDto">
  30. <onsuccess />
  31. <onerror />
  32. </call-bf>
  33.  
  34. </service>
Advertisement
Add Comment
Please, Sign In to add comment