Rev 3996 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3996 | obado | 1 | !if $ident_type notwordof $notplaintext |
23 | reyssat | 2 | |
3 | !shortout $header\ |
||
4 | ERROR\ |
||
5 | $wims_read_parm\ |
||
6 | |||
7 | |||
8 | wims_mode=popup |
||
870 | obado | 9 | wims_module_log=Error $wims_read_parm $job/$ident/$qclass |
23 | reyssat | 10 | |
3261 | obado | 11 | !else |
23 | reyssat | 12 | |
3996 | obado | 13 | !if $ident_type=xmlformat |
3261 | obado | 14 | |
15 | !shortout $header_xml\ |
||
16 | <?xml version="1.0" encoding="iso-8859-15"?>\ |
||
17 | <!DOCTYPE methodResponse PUBLIC "XML9-RPC" "http://ticewims.unice.fr/xml-rpc/xml-rpc.dtd">\ |
||
18 | <methodResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ticewims.unice.fr/xml-rpc/xml-rpc.xsd">\ |
||
19 | <fault>\ |
||
20 | <value>\ |
||
21 | <struct>\ |
||
22 | <member>\ |
||
23 | <name>faultCode</name>\ |
||
24 | <value><int>0</int></value>\ |
||
25 | </member>\ |
||
26 | <member>\ |
||
27 | <name>message</name>\ |
||
28 | <value><string>$wims_read_parm</string></value>\ |
||
29 | </member>\ |
||
30 | </struct>\ |
||
31 | </value>\ |
||
32 | </fault>\ |
||
33 | </methodResponse>\ |
||
34 | |||
3996 | obado | 35 | !endif |
36 | |||
37 | !if $ident_type=json |
||
38 | !shortout $header_json\ |
||
4118 | obado | 39 | {"status" : "ERROR","code":"$code","message":"$wims_read_parm"} |
3996 | obado | 40 | |
41 | !endif |
||
42 | |||
3261 | obado | 43 | !endif |