/[cwmp]/google/test_files/test-general-illegal_method.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /google/test_files/test-general-illegal_method.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Sat May 19 15:15:14 2007 UTC (16 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 1654 byte(s)
initial import of cruft around TR-069

1 Name: Fault test
2 Scenario:
3 - Send illegal method name.
4 - Expect to receive a fault
5 Include: test_files/inform.txt
6 Include: test_files/inform_response.txt
7 Request: <soap:Envelope
8 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
9 soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
10 xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
11 <soap:Header>
12 <cwmp:ID soap:mustUnderstand="1">1234</cwmp:ID>
13 <cwmp:NoMoreRequests>1</cwmp:NoMoreRequests>
14 </soap:Header>
15 <soap:Body>
16 <cwmp:kuku>
17 </cwmp:kuku>
18 </soap:Body>
19 </soap:Envelope>
20 Response: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
21 <soap:Header>
22 <cwmp:ID soap:mustUnderstand="1" xsi:type="xsd:string">1234</cwmp:ID>
23 </soap:Header>
24 <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
25 <soap:Fault>
26 <faultcode xsi:type="xsd:string">Client</faultcode>
27 <faultstring xsi:type="xsd:string">CWMP fault</faultstring>
28 <detail>
29 <cwmp:Fault>
30 <FaultCode xsi:type="xsd:int">9000</FaultCode>
31 <FaultString xsi:type="xsd:string">Method not supported</FaultString>
32 </cwmp:Fault>
33 </detail>
34 </soap:Fault>
35 </soap:Body>
36 </soap:Envelope>
37
38 Include: test_files/session_end.txt

  ViewVC Help
Powered by ViewVC 1.1.26