質問編集履歴

1

内容の変更

2016/09/12 13:04

投稿

papattyo1
papattyo1

スコア12

test CHANGED
@@ -1 +1 @@
1
- PythonとPerlのSOAPについて
1
+ PythonのSOAPについて
test CHANGED
@@ -10,26 +10,64 @@
10
10
 
11
11
 
12
12
 
13
- できればでよろしいすが
13
+ 下記xmlを作成るの目的となります。
14
14
 
15
- 下記のPerlがpythonとした場合の記述サンプルをただきたいです
15
+ sudsいうモジュールを試てみましが上手くいきませんでした。
16
+
17
+ ヒントでも十分ですのでよろしくお願いいたします。
16
18
 
17
19
 
18
20
 
19
- ```perl
21
+ ```xml
20
22
 
21
- ns()
23
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sample_test_1" xmlns:stan="http://sample_test_2">
22
24
 
23
- autotype(0)
25
+ <soapenv:Header>
24
26
 
25
- readable(1)
27
+ <urn:AuthenticationInfo>
26
28
 
27
- onon_fault()
29
+ <urn:userName>SAMPLE</urn:userName>
28
30
 
31
+ <urn:password>SAMPLEPASSWORD</urn:password>
29
32
 
33
+ <!--Optional:-->
34
+
35
+ <urn:authentication></urn:authentication>
36
+
37
+ <!--Optional:-->
38
+
39
+ <urn:locale></urn:locale>
40
+
41
+ <!--Optional:-->
42
+
43
+ <urn:timeZone></urn:timeZone>
44
+
45
+ </urn:AuthenticationInfo>
46
+
47
+ </soapenv:Header>
48
+
49
+ <soapenv:Body>
50
+
51
+ <urn:testtesttesttest>
52
+
53
+ <stan:userName2>TESTTEST</stan:userName2>
54
+
55
+ <stan:password2>TESTTESTPASSWORD</stan:password2>
56
+
57
+ </urn:testtesttesttest>
58
+
59
+ </soapenv:Body>
60
+
61
+ </soapenv:Envelope>
30
62
 
31
63
  ```
32
64
 
33
65
 
34
66
 
67
+
68
+
69
+ 参考サイト:https://fedorahosted.org/suds/wiki/Documentation
70
+
71
+
72
+
35
73
  よろしくお願いいたします。