Actions
Feature #2777
closederror/successful message in web services return
Start date:
06/01/2012
Due date:
05/16/2013
% Done:
100%
Estimated time:
Description
returns are not homogeneous. Only some of them are in XML...
Action command (creating something) return ERROR messages as "simple" string (no XML) or exceptions trough Web services.
Action command return SUCCESSFUL messages as "simple" string.
some example of returns from Action or Request command :
- adding a relation between two object
The relation between << ADC01 >> and << A001 >> was successfully created"
- trying to add a relation between two object which is forbidden (for example triple_cluster and carrier)
raised SOAP.SOAP_ERROR : Error in Add_Relation (topology_manager.adb:263 missing return)
- trying to add a relation which already exist
[MySQL][ODBC 5.1 Driver][mysqld-5.1.49-3]Duplicate entry '1-2-triple_cluster-crystal' for key 'AK_ID_ORIGINE_DESTINATION' Operation not completed.
- get_information on an item who is not in the DB
in Luz trunk:<devices></devices>
in Xavier trunkERROR : the item << A015 >> was not found into DB Operation not completed.
- get_information on a existing item
<devices><device device_type="crystal" name="B001" color="blue" status="on"></device><device device_type="digitizer" name="Digitizer010" mac_address="0xF00000FF" fpga_name="fpga0010" port="8081" status="off"></device><device device_type="carrier" name="carrier018" port="127" kind="master" slot="1" board_version="board_version001" firmware_version="firmware_version001" embd_soft_version="embd_soft_version001" mac_address="0x1F0F00" status="off"></device><device device_type="carrier" name="carrier024" port="127" kind="slave" slot="1" board_version="board_version001" firmware_version="firmware_version001" embd_soft_version="embd_soft_version001" mac_address="0x1F0F00" status="off"></device><device device_type="narval_node" name="anode01" port="6666" mac_address="0x7BC3F0" status="off"></device><device device_type="gts" name="gts016" kind="root" slot="1" port="1" host_port="1" board_version="000" firmware_version="000" embd_soft_version="000" host_soft_version="000" mac_address="0x1F0F00" status="off"></device></devices>
Updated by Legay Eric almost 13 years ago
Maybe adding just an error XML balise for all errors, could help.
Updated by Grave Xavier about 12 years ago
- Due date set to 05/16/2013
- Status changed from New to Closed
- Assigned To set to Grave Xavier
- % Done changed from 0 to 100
closed in 186:f98af6b34d6f
Actions