Rev 3261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3261 | Rev 3996 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !if $ident_type |
1 | !if $ident_type notwordof $notplaintext |
2 | 2 | ||
3 | !shortout $header\ |
3 | !shortout $header\ |
4 | ERROR\ |
4 | ERROR\ |
5 | $wims_read_parm\ |
5 | $wims_read_parm\ |
6 | 6 | ||
Line 8... | Line 8... | ||
8 | wims_mode=popup |
8 | wims_mode=popup |
9 | wims_module_log=Error $wims_read_parm $job/$ident/$qclass |
9 | wims_module_log=Error $wims_read_parm $job/$ident/$qclass |
10 | 10 | ||
11 | !else |
11 | !else |
12 | 12 | ||
- | 13 | !if $ident_type=xmlformat |
|
13 | 14 | ||
14 | !shortout $header_xml\ |
15 | !shortout $header_xml\ |
15 | <?xml version="1.0" encoding="iso-8859-15"?>\ |
16 | <?xml version="1.0" encoding="iso-8859-15"?>\ |
16 | <!DOCTYPE methodResponse PUBLIC "XML9-RPC" "http://ticewims.unice.fr/xml-rpc/xml-rpc.dtd">\ |
17 | <!DOCTYPE methodResponse PUBLIC "XML9-RPC" "http://ticewims.unice.fr/xml-rpc/xml-rpc.dtd">\ |
17 | <methodResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ticewims.unice.fr/xml-rpc/xml-rpc.xsd">\ |
18 | <methodResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ticewims.unice.fr/xml-rpc/xml-rpc.xsd">\ |
Line 28... | Line 29... | ||
28 | </member>\ |
29 | </member>\ |
29 | </struct>\ |
30 | </struct>\ |
30 | </value>\ |
31 | </value>\ |
31 | </fault>\ |
32 | </fault>\ |
32 | </methodResponse>\ |
33 | </methodResponse>\ |
- | 34 | ||
- | 35 | !endif |
|
- | 36 | ||
- | 37 | !if $ident_type=json |
|
- | 38 | !shortout $header_json\ |
|
- | 39 | [{"status" : "ERROR","code":"$code","message":"$wims_read_parm"}] |
|
- | 40 | ||
- | 41 | !endif |
|
33 | 42 | ||
34 | !endif |
43 | !endif |