Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/tags/RELEASE_1_5_2/ToDo

Revision 1137, 2.4 kB (checked in by nahi, 5 years ago)

* updated.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to author date id revision
Line 
1 = ToDo
2
3 * header handler.
4 * mappingRegistryCreator: do not dump a type which is in default
5   mappingRegistry.
6 * RAA exception
7 * wsdlRouter: return value must be converted to the specified element name,
8   not "fooResponse" style.
9 * Implement message router: lib/soap/msgRouter.rb.
10   * Messaging sample.
11 * Follow SOAP/1.2.
12
13 * WSDL Strict check; order of sequence, unbound, etc.
14 * WSDL ref support
15   �q���v�f��肷�����́A�V���ɐ錾�������ƁA
16   ���v�f��Ƃ��������������B���v�f���Ƃ����́A
17   ref������p���܂�
18 * Parse XML Namespace with xmlscan, not by itself.
19 * Support all derived built-in types in XML Schema Part2 Sec. 3.2.
20 * Support actor and mustUnderstand.
21
22
23 == Header handler API
24
25 === for client
26
27 drv = ...
28
29 drv.with_header(headers) do |d|
30   returned_obj = d.my_method(foo, bar)
31   p d.returned_headers
32   returned_obj = d.my_method(foo, bar)
33   returned_obj = d.my_method(foo, bar)
34   returned_obj = d.my_method(foo, bar)
35   ...
36 end
37
38 header_handler ?
39
40 class MyHeaderHandler < HeaderHandler
41   MyHeaderName = XSD::QName.new("foo", "bar")
42
43   def initialize(userid, passwd)
44     super(MyHeaderName)
45     @session_id = nil
46     @userid = userid
47     @passwd = passwd
48   end
49
50   def on_outbound
51     if @session_id
52       { :session_id => @session_id }
53     elsif false
54       SOAPElement.new(MyHeaderName)
55     else
56       { :userid => @userid, :passwd => @passwd }
57     end
58   end
59
60   alias on_request on_outbound
61
62   def on_inbound(my_header)
63     @session_id = my_header[:session_id]
64   end
65
66   alias on_response on_inbound
67
68 end
69
70 drv.header_handler << MyHeaderHandler.new
71
72 drv.my_method(foo, bar)
73 drv.my_method(foo, bar)
74 drv.my_method(foo, bar)
75 drv.my_method(foo, bar)
76 drv.my_method(foo, bar)
77
78
79 drv.with_header.my_method(headers, foo, bar)
80
81 drv.my_method_with_header(headers, foo, bar)
82
83
84 === for server
85
86 class MyService
87   def foo
88   end
89 end
90
91 @router.header_handler = hh  ?
92
93
94
95 = Done
96
97 * Support all primitive built-in types in XML Schema Part2 Sec. 3.2.
98 * Performance check.
99 * Remove dependency to delegate.rb of http-access2.  delegator.rb is rather
100   slow.
101 * Create unit tests for XMLSchemaDatatypes.rb.
102 * Create unit tests for baseData.rb.
103 * Add XSD tests to the interop test client.
104 * WSDL4R.
105 * encoding based on type information in WSDL.
106 * Support untyped response using WSDL.
107 * RAA uri-fy
108 * decoding based on type information in WSDL.
109 * Support literal/document
110 * Design and implement SOAPHeader handler API.
111 * Rewrite the interop test client with test/unit.
112 * merge SwA patch.
Note: See TracBrowser for help on using the browser.