uddi4r 0.7 → 0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/doc/classes/Uddi4r.html +36 -0
- data/doc/classes/Uddi4r/BindingDetail.html +52 -0
- data/doc/classes/Uddi4r/BindingTemplate.html +67 -0
- data/doc/classes/Uddi4r/BusinessDetail.html +47 -0
- data/doc/classes/Uddi4r/BusinessEntity.html +47 -0
- data/doc/classes/Uddi4r/BusinessInfo.html +57 -0
- data/doc/classes/Uddi4r/BusinessList.html +52 -0
- data/doc/classes/Uddi4r/BusinessService.html +47 -0
- data/doc/classes/Uddi4r/CategoryBag.html +47 -0
- data/doc/classes/Uddi4r/Client.html +119 -26
- data/doc/classes/Uddi4r/Connection.html +70 -36
- data/doc/classes/Uddi4r/DiscoveryURLs.html +41 -7
- data/doc/classes/Uddi4r/FindQualifiers.html +35 -1
- data/doc/classes/Uddi4r/IdentifierBag.html +47 -0
- data/doc/classes/Uddi4r/KeyedReference.html +72 -0
- data/doc/classes/Uddi4r/Model.html +40 -3
- data/doc/classes/Uddi4r/OverviewDoc.html +34 -0
- data/doc/classes/Uddi4r/RelatedBusinessesList.html +47 -0
- data/doc/classes/Uddi4r/ServiceDetail.html +52 -0
- data/doc/classes/Uddi4r/ServiceInfo.html +52 -0
- data/doc/classes/Uddi4r/ServiceList.html +52 -0
- data/doc/classes/Uddi4r/SoapBuilder.html +34 -0
- data/doc/classes/Uddi4r/TModel.html +67 -0
- data/doc/classes/Uddi4r/TModelBag.html +41 -7
- data/doc/classes/Uddi4r/TModelDetail.html +47 -0
- data/doc/classes/Uddi4r/TModelInfo.html +167 -0
- data/doc/classes/Uddi4r/TModelInstanceInfo.html +52 -0
- data/doc/classes/Uddi4r/TModelList.html +167 -0
- data/doc/created.rid +1 -1
- data/doc/dot/f_0.dot +14 -0
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +386 -0
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +386 -0
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +386 -0
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +386 -0
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/m_1_0.dot +386 -0
- data/doc/dot/m_1_0.png +0 -0
- data/doc/dot/m_2_0.dot +386 -0
- data/doc/dot/m_2_0.png +0 -0
- data/doc/dot/m_3_0.dot +386 -0
- data/doc/dot/m_3_0.png +0 -0
- data/doc/dot/m_4_0.dot +386 -0
- data/doc/dot/m_4_0.png +0 -0
- data/doc/files/README.html +5 -0
- data/doc/files/lib/client_rb.html +35 -1
- data/doc/files/lib/connection_rb.html +34 -0
- data/doc/files/lib/models_rb.html +35 -1
- data/doc/files/lib/soap_builder_rb.html +34 -0
- data/doc/fr_class_index.html +2 -0
- data/doc/fr_method_index.html +13 -12
- data/lib/client.rb +20 -1
- data/lib/models.rb +12 -0
- data/test/test_client.rb +54 -42
- metadata +23 -2
|
@@ -79,6 +79,40 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
<div id="contextContent">
|
|
82
|
+
<div id="diagram">
|
|
83
|
+
<map id="map" name="map">
|
|
84
|
+
<area shape="RECT" coords="1378,135,1450,183" href="Model.html" alt="Model">
|
|
85
|
+
<area shape="RECT" coords="27,234,118,282" href="BindingDetail.html" alt="BindingDetail">
|
|
86
|
+
<area shape="RECT" coords="142,234,222,282" href="ServiceList.html" alt="ServiceList">
|
|
87
|
+
<area shape="RECT" coords="246,234,336,282" href="BusinessList.html" alt="BusinessList">
|
|
88
|
+
<area shape="RECT" coords="360,234,456,282" href="FindQualifiers.html" alt="FindQualifiers">
|
|
89
|
+
<area shape="RECT" coords="480,234,568,282" href="IdentifierBag.html" alt="IdentifierBag">
|
|
90
|
+
<area shape="RECT" coords="592,234,683,282" href="OverviewDoc.html" alt="OverviewDoc">
|
|
91
|
+
<area shape="RECT" coords="707,234,814,282" href="KeyedReference.html" alt="KeyedReference">
|
|
92
|
+
<area shape="RECT" coords="838,234,944,282" href="BindingTemplate.html" alt="BindingTemplate">
|
|
93
|
+
<area shape="RECT" coords="968,234,1091,282" href="TModelInstanceInfo.html" alt="TModelInstanceInfo">
|
|
94
|
+
<area shape="RECT" coords="1115,234,1214,282" href="BusinessEntity.html" alt="BusinessEntity">
|
|
95
|
+
<area shape="RECT" coords="1238,234,1344,282" href="BusinessService.html" alt="BusinessService">
|
|
96
|
+
<area shape="RECT" coords="1368,234,1459,282" href="BusinessInfo.html" alt="BusinessInfo">
|
|
97
|
+
<area shape="RECT" coords="1483,234,1566,282" href="ServiceInfo.html" alt="ServiceInfo">
|
|
98
|
+
<area shape="RECT" coords="1590,234,1726,282" href="RelatedBusinessesList.html" alt="RelatedBusinessesList">
|
|
99
|
+
<area shape="RECT" coords="1750,234,1840,282" href="ServiceDetail.html" alt="ServiceDetail">
|
|
100
|
+
<area shape="RECT" coords="1864,234,1955,282" href="TModelDetail.html" alt="TModelDetail">
|
|
101
|
+
<area shape="RECT" coords="1979,234,2062,282" href="TModelInfo.html" alt="TModelInfo">
|
|
102
|
+
<area shape="RECT" coords="2086,234,2168,282" href="TModelList.html" alt="TModelList">
|
|
103
|
+
<area shape="RECT" coords="2192,234,2275,282" href="TModelBag.html" alt="TModelBag">
|
|
104
|
+
<area shape="RECT" coords="2299,234,2400,282" href="DiscoveryURLs.html" alt="DiscoveryURLs">
|
|
105
|
+
<area shape="RECT" coords="2424,234,2496,282" href="TModel.html" alt="TModel">
|
|
106
|
+
<area shape="RECT" coords="2520,234,2611,282" href="CategoryBag.html" alt="CategoryBag">
|
|
107
|
+
<area shape="RECT" coords="2635,234,2734,282" href="BusinessDetail.html" alt="BusinessDetail">
|
|
108
|
+
<area shape="RECT" coords="1378,6,1450,54" href="../ROXML.html" alt="ROXML">
|
|
109
|
+
<area shape="RECT" coords="2758,234,2840,282" href="Connection.html" alt="Connection">
|
|
110
|
+
<area shape="RECT" coords="335,135,407,183" href="Client.html" alt="Client">
|
|
111
|
+
<area shape="RECT" coords="2747,124,2840,171" href="SoapBuilder.html" alt="SoapBuilder">
|
|
112
|
+
<area shape="RECT" coords="16,91,2851,292" href="../Uddi4r.html" alt="Uddi4r">
|
|
113
|
+
</map>
|
|
114
|
+
<img src="../../dot/m_4_0.png" usemap="#map" border=0 alt="Module: Uddi4r">
|
|
115
|
+
</div>
|
|
82
116
|
|
|
83
117
|
<div id="description">
|
|
84
118
|
<p>
|
|
@@ -103,6 +137,19 @@ href="Model.html">Uddi4r::Model</a>.
|
|
|
103
137
|
|
|
104
138
|
|
|
105
139
|
|
|
140
|
+
<div id="attribute-list">
|
|
141
|
+
<h3 class="section-bar">Attributes</h3>
|
|
142
|
+
|
|
143
|
+
<div class="name-list">
|
|
144
|
+
<table>
|
|
145
|
+
<tr class="top-aligned-row context-row">
|
|
146
|
+
<td class="context-item-name">binding_templates</td>
|
|
147
|
+
<td class="context-item-value"> </td>
|
|
148
|
+
<td class="context-item-desc"></td>
|
|
149
|
+
</tr>
|
|
150
|
+
</table>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
106
153
|
|
|
107
154
|
|
|
108
155
|
|
|
@@ -79,6 +79,40 @@
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
<div id="contextContent">
|
|
82
|
+
<div id="diagram">
|
|
83
|
+
<map id="map" name="map">
|
|
84
|
+
<area shape="RECT" coords="1378,135,1450,183" href="Model.html" alt="Model">
|
|
85
|
+
<area shape="RECT" coords="27,234,118,282" href="BindingDetail.html" alt="BindingDetail">
|
|
86
|
+
<area shape="RECT" coords="142,234,222,282" href="ServiceList.html" alt="ServiceList">
|
|
87
|
+
<area shape="RECT" coords="246,234,336,282" href="BusinessList.html" alt="BusinessList">
|
|
88
|
+
<area shape="RECT" coords="360,234,456,282" href="FindQualifiers.html" alt="FindQualifiers">
|
|
89
|
+
<area shape="RECT" coords="480,234,568,282" href="IdentifierBag.html" alt="IdentifierBag">
|
|
90
|
+
<area shape="RECT" coords="592,234,683,282" href="OverviewDoc.html" alt="OverviewDoc">
|
|
91
|
+
<area shape="RECT" coords="707,234,814,282" href="KeyedReference.html" alt="KeyedReference">
|
|
92
|
+
<area shape="RECT" coords="838,234,944,282" href="BindingTemplate.html" alt="BindingTemplate">
|
|
93
|
+
<area shape="RECT" coords="968,234,1091,282" href="TModelInstanceInfo.html" alt="TModelInstanceInfo">
|
|
94
|
+
<area shape="RECT" coords="1115,234,1214,282" href="BusinessEntity.html" alt="BusinessEntity">
|
|
95
|
+
<area shape="RECT" coords="1238,234,1344,282" href="BusinessService.html" alt="BusinessService">
|
|
96
|
+
<area shape="RECT" coords="1368,234,1459,282" href="BusinessInfo.html" alt="BusinessInfo">
|
|
97
|
+
<area shape="RECT" coords="1483,234,1566,282" href="ServiceInfo.html" alt="ServiceInfo">
|
|
98
|
+
<area shape="RECT" coords="1590,234,1726,282" href="RelatedBusinessesList.html" alt="RelatedBusinessesList">
|
|
99
|
+
<area shape="RECT" coords="1750,234,1840,282" href="ServiceDetail.html" alt="ServiceDetail">
|
|
100
|
+
<area shape="RECT" coords="1864,234,1955,282" href="TModelDetail.html" alt="TModelDetail">
|
|
101
|
+
<area shape="RECT" coords="1979,234,2062,282" href="TModelInfo.html" alt="TModelInfo">
|
|
102
|
+
<area shape="RECT" coords="2086,234,2168,282" href="TModelList.html" alt="TModelList">
|
|
103
|
+
<area shape="RECT" coords="2192,234,2275,282" href="TModelBag.html" alt="TModelBag">
|
|
104
|
+
<area shape="RECT" coords="2299,234,2400,282" href="DiscoveryURLs.html" alt="DiscoveryURLs">
|
|
105
|
+
<area shape="RECT" coords="2424,234,2496,282" href="TModel.html" alt="TModel">
|
|
106
|
+
<area shape="RECT" coords="2520,234,2611,282" href="CategoryBag.html" alt="CategoryBag">
|
|
107
|
+
<area shape="RECT" coords="2635,234,2734,282" href="BusinessDetail.html" alt="BusinessDetail">
|
|
108
|
+
<area shape="RECT" coords="1378,6,1450,54" href="../ROXML.html" alt="ROXML">
|
|
109
|
+
<area shape="RECT" coords="2758,234,2840,282" href="Connection.html" alt="Connection">
|
|
110
|
+
<area shape="RECT" coords="335,135,407,183" href="Client.html" alt="Client">
|
|
111
|
+
<area shape="RECT" coords="2747,124,2840,171" href="SoapBuilder.html" alt="SoapBuilder">
|
|
112
|
+
<area shape="RECT" coords="16,91,2851,292" href="../Uddi4r.html" alt="Uddi4r">
|
|
113
|
+
</map>
|
|
114
|
+
<img src="../../dot/m_4_0.png" usemap="#map" border=0 alt="Module: Uddi4r">
|
|
115
|
+
</div>
|
|
82
116
|
|
|
83
117
|
<div id="description">
|
|
84
118
|
<p>
|
|
@@ -103,6 +137,19 @@ href="Model.html">Uddi4r::Model</a>.
|
|
|
103
137
|
|
|
104
138
|
|
|
105
139
|
|
|
140
|
+
<div id="attribute-list">
|
|
141
|
+
<h3 class="section-bar">Attributes</h3>
|
|
142
|
+
|
|
143
|
+
<div class="name-list">
|
|
144
|
+
<table>
|
|
145
|
+
<tr class="top-aligned-row context-row">
|
|
146
|
+
<td class="context-item-name">keyed_reference</td>
|
|
147
|
+
<td class="context-item-value"> </td>
|
|
148
|
+
<td class="context-item-desc"></td>
|
|
149
|
+
</tr>
|
|
150
|
+
</table>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
106
153
|
|
|
107
154
|
|
|
108
155
|
|
|
@@ -77,6 +77,40 @@
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
<div id="contextContent">
|
|
80
|
+
<div id="diagram">
|
|
81
|
+
<map id="map" name="map">
|
|
82
|
+
<area shape="RECT" coords="1378,135,1450,183" href="Model.html" alt="Model">
|
|
83
|
+
<area shape="RECT" coords="27,234,118,282" href="BindingDetail.html" alt="BindingDetail">
|
|
84
|
+
<area shape="RECT" coords="142,234,222,282" href="ServiceList.html" alt="ServiceList">
|
|
85
|
+
<area shape="RECT" coords="246,234,336,282" href="BusinessList.html" alt="BusinessList">
|
|
86
|
+
<area shape="RECT" coords="360,234,456,282" href="FindQualifiers.html" alt="FindQualifiers">
|
|
87
|
+
<area shape="RECT" coords="480,234,568,282" href="IdentifierBag.html" alt="IdentifierBag">
|
|
88
|
+
<area shape="RECT" coords="592,234,683,282" href="OverviewDoc.html" alt="OverviewDoc">
|
|
89
|
+
<area shape="RECT" coords="707,234,814,282" href="KeyedReference.html" alt="KeyedReference">
|
|
90
|
+
<area shape="RECT" coords="838,234,944,282" href="BindingTemplate.html" alt="BindingTemplate">
|
|
91
|
+
<area shape="RECT" coords="968,234,1091,282" href="TModelInstanceInfo.html" alt="TModelInstanceInfo">
|
|
92
|
+
<area shape="RECT" coords="1115,234,1214,282" href="BusinessEntity.html" alt="BusinessEntity">
|
|
93
|
+
<area shape="RECT" coords="1238,234,1344,282" href="BusinessService.html" alt="BusinessService">
|
|
94
|
+
<area shape="RECT" coords="1368,234,1459,282" href="BusinessInfo.html" alt="BusinessInfo">
|
|
95
|
+
<area shape="RECT" coords="1483,234,1566,282" href="ServiceInfo.html" alt="ServiceInfo">
|
|
96
|
+
<area shape="RECT" coords="1590,234,1726,282" href="RelatedBusinessesList.html" alt="RelatedBusinessesList">
|
|
97
|
+
<area shape="RECT" coords="1750,234,1840,282" href="ServiceDetail.html" alt="ServiceDetail">
|
|
98
|
+
<area shape="RECT" coords="1864,234,1955,282" href="TModelDetail.html" alt="TModelDetail">
|
|
99
|
+
<area shape="RECT" coords="1979,234,2062,282" href="TModelInfo.html" alt="TModelInfo">
|
|
100
|
+
<area shape="RECT" coords="2086,234,2168,282" href="TModelList.html" alt="TModelList">
|
|
101
|
+
<area shape="RECT" coords="2192,234,2275,282" href="TModelBag.html" alt="TModelBag">
|
|
102
|
+
<area shape="RECT" coords="2299,234,2400,282" href="DiscoveryURLs.html" alt="DiscoveryURLs">
|
|
103
|
+
<area shape="RECT" coords="2424,234,2496,282" href="TModel.html" alt="TModel">
|
|
104
|
+
<area shape="RECT" coords="2520,234,2611,282" href="CategoryBag.html" alt="CategoryBag">
|
|
105
|
+
<area shape="RECT" coords="2635,234,2734,282" href="BusinessDetail.html" alt="BusinessDetail">
|
|
106
|
+
<area shape="RECT" coords="1378,6,1450,54" href="../ROXML.html" alt="ROXML">
|
|
107
|
+
<area shape="RECT" coords="2758,234,2840,282" href="Connection.html" alt="Connection">
|
|
108
|
+
<area shape="RECT" coords="335,135,407,183" href="Client.html" alt="Client">
|
|
109
|
+
<area shape="RECT" coords="2747,124,2840,171" href="SoapBuilder.html" alt="SoapBuilder">
|
|
110
|
+
<area shape="RECT" coords="16,91,2851,292" href="../Uddi4r.html" alt="Uddi4r">
|
|
111
|
+
</map>
|
|
112
|
+
<img src="../../dot/m_4_0.png" usemap="#map" border=0 alt="Module: Uddi4r">
|
|
113
|
+
</div>
|
|
80
114
|
|
|
81
115
|
<div id="description">
|
|
82
116
|
<h1><a href="Client.html">Uddi4r::Client</a></h1>
|
|
@@ -117,7 +151,7 @@ provide advanced capabilities such as findQualifiers, tModelBags,
|
|
|
117
151
|
categoryBags, etc. See the specficiation for details.
|
|
118
152
|
</p>
|
|
119
153
|
<p>
|
|
120
|
-
Following example uses a <em>findQualifer</em> to
|
|
154
|
+
Following example uses a <em>findQualifer</em> to add case-sensitivity to
|
|
121
155
|
the previous example:
|
|
122
156
|
</p>
|
|
123
157
|
<pre>
|
|
@@ -147,10 +181,11 @@ The get_businessDetailExt operation is not supported in this release.
|
|
|
147
181
|
<a href="#M000014">find_business</a>
|
|
148
182
|
<a href="#M000015">find_related_businesses</a>
|
|
149
183
|
<a href="#M000016">find_service</a>
|
|
150
|
-
<a href="#M000017">
|
|
151
|
-
<a href="#M000018">
|
|
152
|
-
<a href="#
|
|
153
|
-
<a href="#
|
|
184
|
+
<a href="#M000017">find_t_model</a>
|
|
185
|
+
<a href="#M000018">get_binding_detail</a>
|
|
186
|
+
<a href="#M000019">get_business_detail</a>
|
|
187
|
+
<a href="#M000021">get_service_detail</a>
|
|
188
|
+
<a href="#M000020">get_t_model_detail</a>
|
|
154
189
|
<a href="#M000012">new</a>
|
|
155
190
|
</div>
|
|
156
191
|
</div>
|
|
@@ -450,6 +485,64 @@ Find services for given business key or name.
|
|
|
450
485
|
|
|
451
486
|
<div class="method-heading">
|
|
452
487
|
<a href="#M000017" class="method-signature">
|
|
488
|
+
<span class="method-name">find_t_model</span><span class="method-args">(args={})</span>
|
|
489
|
+
</a>
|
|
490
|
+
</div>
|
|
491
|
+
|
|
492
|
+
<div class="method-description">
|
|
493
|
+
<p>
|
|
494
|
+
Find tModels by name and other qualifiers. Returns all tModels published on
|
|
495
|
+
server if no arguments passed.
|
|
496
|
+
</p>
|
|
497
|
+
<dl>
|
|
498
|
+
<dt>Returns</dt><dd><a href="TModelList.html">Uddi4r::TModelList</a>
|
|
499
|
+
|
|
500
|
+
</dd>
|
|
501
|
+
</dl>
|
|
502
|
+
<h4>Simple arguments</h4>
|
|
503
|
+
<table>
|
|
504
|
+
<tr><td valign="top">name:</td><td>String for service name
|
|
505
|
+
|
|
506
|
+
</td></tr>
|
|
507
|
+
</table>
|
|
508
|
+
<h4>Advanced arguments</h4>
|
|
509
|
+
<table>
|
|
510
|
+
<tr><td valign="top">find_qualifiers:</td><td><a href="FindQualifiers.html">Uddi4r::FindQualifiers</a>
|
|
511
|
+
|
|
512
|
+
</td></tr>
|
|
513
|
+
<tr><td valign="top">identifier_bag:</td><td><a href="IdentifierBag.html">Uddi4r::IdentifierBag</a>
|
|
514
|
+
|
|
515
|
+
</td></tr>
|
|
516
|
+
<tr><td valign="top">category_bag:</td><td><a href="CategoryBag.html">Uddi4r::CategoryBag</a>
|
|
517
|
+
|
|
518
|
+
</td></tr>
|
|
519
|
+
</table>
|
|
520
|
+
<h4>Example</h4>
|
|
521
|
+
<pre>
|
|
522
|
+
t_models = client.find_t_model(:name=>"Currency Conversion")
|
|
523
|
+
</pre>
|
|
524
|
+
<p><a class="source-toggle" href="#"
|
|
525
|
+
onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
|
|
526
|
+
<div class="method-source-code" id="M000017-source">
|
|
527
|
+
<pre>
|
|
528
|
+
<span class="ruby-comment cmt"># File lib/client.rb, line 146</span>
|
|
529
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_t_model</span>(<span class="ruby-identifier">args</span>={})
|
|
530
|
+
<span class="ruby-identifier">operation</span> = <span class="ruby-ivar">@conn</span>.<span class="ruby-identifier">create_operation</span>(<span class="ruby-value str">"find_tModel"</span>, {},
|
|
531
|
+
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:find_qualifiers</span>], {<span class="ruby-value str">"name"</span>=<span class="ruby-operator">></span><span class="ruby-identifier">args</span>[<span class="ruby-identifier">:name</span>]},
|
|
532
|
+
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:identifier_bag</span>], <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:category_bag</span>],
|
|
533
|
+
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:t_model_bag</span>], <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:discovery_urls</span>])
|
|
534
|
+
<span class="ruby-constant">TModelList</span>.<span class="ruby-identifier">create_from</span>(<span class="ruby-ivar">@conn</span>.<span class="ruby-identifier">invoke_operation</span>(<span class="ruby-identifier">operation</span>))
|
|
535
|
+
<span class="ruby-keyword kw">end</span>
|
|
536
|
+
</pre>
|
|
537
|
+
</div>
|
|
538
|
+
</div>
|
|
539
|
+
</div>
|
|
540
|
+
|
|
541
|
+
<div id="method-M000018" class="method-detail">
|
|
542
|
+
<a name="M000018"></a>
|
|
543
|
+
|
|
544
|
+
<div class="method-heading">
|
|
545
|
+
<a href="#M000018" class="method-signature">
|
|
453
546
|
<span class="method-name">get_binding_detail</span><span class="method-args">(args)</span>
|
|
454
547
|
</a>
|
|
455
548
|
</div>
|
|
@@ -478,10 +571,10 @@ Get binding detail for given binding key.
|
|
|
478
571
|
url = bd.binding_template.first.access_point()
|
|
479
572
|
</pre>
|
|
480
573
|
<p><a class="source-toggle" href="#"
|
|
481
|
-
onclick="toggleCode('
|
|
482
|
-
<div class="method-source-code" id="
|
|
574
|
+
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
|
575
|
+
<div class="method-source-code" id="M000018-source">
|
|
483
576
|
<pre>
|
|
484
|
-
<span class="ruby-comment cmt"># File lib/client.rb, line
|
|
577
|
+
<span class="ruby-comment cmt"># File lib/client.rb, line 162</span>
|
|
485
578
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_binding_detail</span>(<span class="ruby-identifier">args</span>)
|
|
486
579
|
<span class="ruby-comment cmt"># create array if only one given</span>
|
|
487
580
|
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:binding_keys</span>] = [<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:binding_key</span>]] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:binding_key</span>]
|
|
@@ -495,11 +588,11 @@ Get binding detail for given binding key.
|
|
|
495
588
|
</div>
|
|
496
589
|
</div>
|
|
497
590
|
|
|
498
|
-
<div id="method-
|
|
499
|
-
<a name="
|
|
591
|
+
<div id="method-M000019" class="method-detail">
|
|
592
|
+
<a name="M000019"></a>
|
|
500
593
|
|
|
501
594
|
<div class="method-heading">
|
|
502
|
-
<a href="#
|
|
595
|
+
<a href="#M000019" class="method-signature">
|
|
503
596
|
<span class="method-name">get_business_detail</span><span class="method-args">(args)</span>
|
|
504
597
|
</a>
|
|
505
598
|
</div>
|
|
@@ -527,10 +620,10 @@ Get business detail for given business key.
|
|
|
527
620
|
biz = client.get_business_detail(:business_keys=>["C7CEAB5C2-D40E-1E0C-7942-99C64EF3C1ED", "..."])
|
|
528
621
|
</pre>
|
|
529
622
|
<p><a class="source-toggle" href="#"
|
|
530
|
-
onclick="toggleCode('
|
|
531
|
-
<div class="method-source-code" id="
|
|
623
|
+
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
|
624
|
+
<div class="method-source-code" id="M000019-source">
|
|
532
625
|
<pre>
|
|
533
|
-
<span class="ruby-comment cmt"># File lib/client.rb, line
|
|
626
|
+
<span class="ruby-comment cmt"># File lib/client.rb, line 178</span>
|
|
534
627
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_business_detail</span>(<span class="ruby-identifier">args</span>)
|
|
535
628
|
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:business_keys</span>] = [<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:business_key</span>]] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:business_key</span>]
|
|
536
629
|
<span class="ruby-identifier">operation</span> = <span class="ruby-ivar">@conn</span>.<span class="ruby-identifier">create_operation</span>(<span class="ruby-value str">"get_businessDetail"</span>, {},
|
|
@@ -542,11 +635,11 @@ Get business detail for given business key.
|
|
|
542
635
|
</div>
|
|
543
636
|
</div>
|
|
544
637
|
|
|
545
|
-
<div id="method-
|
|
546
|
-
<a name="
|
|
638
|
+
<div id="method-M000021" class="method-detail">
|
|
639
|
+
<a name="M000021"></a>
|
|
547
640
|
|
|
548
641
|
<div class="method-heading">
|
|
549
|
-
<a href="#
|
|
642
|
+
<a href="#M000021" class="method-signature">
|
|
550
643
|
<span class="method-name">get_service_detail</span><span class="method-args">(args)</span>
|
|
551
644
|
</a>
|
|
552
645
|
</div>
|
|
@@ -574,10 +667,10 @@ Get service detail for given service key or keys.
|
|
|
574
667
|
service_details = client.get_service_detail(:service_keys=>["C7CEAB5C2-D40E-1E0C-7942-99C64EF3C1ED", "..."])
|
|
575
668
|
</pre>
|
|
576
669
|
<p><a class="source-toggle" href="#"
|
|
577
|
-
onclick="toggleCode('
|
|
578
|
-
<div class="method-source-code" id="
|
|
670
|
+
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
|
671
|
+
<div class="method-source-code" id="M000021-source">
|
|
579
672
|
<pre>
|
|
580
|
-
<span class="ruby-comment cmt"># File lib/client.rb, line
|
|
673
|
+
<span class="ruby-comment cmt"># File lib/client.rb, line 206</span>
|
|
581
674
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_service_detail</span>(<span class="ruby-identifier">args</span>)
|
|
582
675
|
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:service_keys</span>] = [<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:service_key</span>]] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:service_key</span>]
|
|
583
676
|
<span class="ruby-identifier">operation</span> = <span class="ruby-ivar">@conn</span>.<span class="ruby-identifier">create_operation</span>(<span class="ruby-value str">"get_serviceDetail"</span>, {},
|
|
@@ -589,11 +682,11 @@ Get service detail for given service key or keys.
|
|
|
589
682
|
</div>
|
|
590
683
|
</div>
|
|
591
684
|
|
|
592
|
-
<div id="method-
|
|
593
|
-
<a name="
|
|
685
|
+
<div id="method-M000020" class="method-detail">
|
|
686
|
+
<a name="M000020"></a>
|
|
594
687
|
|
|
595
688
|
<div class="method-heading">
|
|
596
|
-
<a href="#
|
|
689
|
+
<a href="#M000020" class="method-signature">
|
|
597
690
|
<span class="method-name">get_t_model_detail</span><span class="method-args">(args)</span>
|
|
598
691
|
</a>
|
|
599
692
|
</div>
|
|
@@ -621,10 +714,10 @@ Get tModel detail for given tModel key or keys.
|
|
|
621
714
|
t_models = client.get_t_model_detail(:t_model_keys=>["C7CEAB5C2-D40E-1E0C-7942-99C64EF3C1ED", "..."])
|
|
622
715
|
</pre>
|
|
623
716
|
<p><a class="source-toggle" href="#"
|
|
624
|
-
onclick="toggleCode('
|
|
625
|
-
<div class="method-source-code" id="
|
|
717
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
|
718
|
+
<div class="method-source-code" id="M000020-source">
|
|
626
719
|
<pre>
|
|
627
|
-
<span class="ruby-comment cmt"># File lib/client.rb, line
|
|
720
|
+
<span class="ruby-comment cmt"># File lib/client.rb, line 192</span>
|
|
628
721
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_t_model_detail</span>(<span class="ruby-identifier">args</span>)
|
|
629
722
|
<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:t_model_keys</span>] = [<span class="ruby-identifier">args</span>[<span class="ruby-identifier">:t_model_key</span>]] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span>[<span class="ruby-identifier">:t_model_key</span>]
|
|
630
723
|
<span class="ruby-identifier">operation</span> = <span class="ruby-ivar">@conn</span>.<span class="ruby-identifier">create_operation</span>(<span class="ruby-value str">"get_tModelDetail"</span>, {},
|
|
@@ -77,6 +77,40 @@
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
<div id="contextContent">
|
|
80
|
+
<div id="diagram">
|
|
81
|
+
<map id="map" name="map">
|
|
82
|
+
<area shape="RECT" coords="1378,135,1450,183" href="Model.html" alt="Model">
|
|
83
|
+
<area shape="RECT" coords="27,234,118,282" href="BindingDetail.html" alt="BindingDetail">
|
|
84
|
+
<area shape="RECT" coords="142,234,222,282" href="ServiceList.html" alt="ServiceList">
|
|
85
|
+
<area shape="RECT" coords="246,234,336,282" href="BusinessList.html" alt="BusinessList">
|
|
86
|
+
<area shape="RECT" coords="360,234,456,282" href="FindQualifiers.html" alt="FindQualifiers">
|
|
87
|
+
<area shape="RECT" coords="480,234,568,282" href="IdentifierBag.html" alt="IdentifierBag">
|
|
88
|
+
<area shape="RECT" coords="592,234,683,282" href="OverviewDoc.html" alt="OverviewDoc">
|
|
89
|
+
<area shape="RECT" coords="707,234,814,282" href="KeyedReference.html" alt="KeyedReference">
|
|
90
|
+
<area shape="RECT" coords="838,234,944,282" href="BindingTemplate.html" alt="BindingTemplate">
|
|
91
|
+
<area shape="RECT" coords="968,234,1091,282" href="TModelInstanceInfo.html" alt="TModelInstanceInfo">
|
|
92
|
+
<area shape="RECT" coords="1115,234,1214,282" href="BusinessEntity.html" alt="BusinessEntity">
|
|
93
|
+
<area shape="RECT" coords="1238,234,1344,282" href="BusinessService.html" alt="BusinessService">
|
|
94
|
+
<area shape="RECT" coords="1368,234,1459,282" href="BusinessInfo.html" alt="BusinessInfo">
|
|
95
|
+
<area shape="RECT" coords="1483,234,1566,282" href="ServiceInfo.html" alt="ServiceInfo">
|
|
96
|
+
<area shape="RECT" coords="1590,234,1726,282" href="RelatedBusinessesList.html" alt="RelatedBusinessesList">
|
|
97
|
+
<area shape="RECT" coords="1750,234,1840,282" href="ServiceDetail.html" alt="ServiceDetail">
|
|
98
|
+
<area shape="RECT" coords="1864,234,1955,282" href="TModelDetail.html" alt="TModelDetail">
|
|
99
|
+
<area shape="RECT" coords="1979,234,2062,282" href="TModelInfo.html" alt="TModelInfo">
|
|
100
|
+
<area shape="RECT" coords="2086,234,2168,282" href="TModelList.html" alt="TModelList">
|
|
101
|
+
<area shape="RECT" coords="2192,234,2275,282" href="TModelBag.html" alt="TModelBag">
|
|
102
|
+
<area shape="RECT" coords="2299,234,2400,282" href="DiscoveryURLs.html" alt="DiscoveryURLs">
|
|
103
|
+
<area shape="RECT" coords="2424,234,2496,282" href="TModel.html" alt="TModel">
|
|
104
|
+
<area shape="RECT" coords="2520,234,2611,282" href="CategoryBag.html" alt="CategoryBag">
|
|
105
|
+
<area shape="RECT" coords="2635,234,2734,282" href="BusinessDetail.html" alt="BusinessDetail">
|
|
106
|
+
<area shape="RECT" coords="1378,6,1450,54" href="../ROXML.html" alt="ROXML">
|
|
107
|
+
<area shape="RECT" coords="2758,234,2840,282" href="Connection.html" alt="Connection">
|
|
108
|
+
<area shape="RECT" coords="335,135,407,183" href="Client.html" alt="Client">
|
|
109
|
+
<area shape="RECT" coords="2747,124,2840,171" href="SoapBuilder.html" alt="SoapBuilder">
|
|
110
|
+
<area shape="RECT" coords="16,91,2851,292" href="../Uddi4r.html" alt="Uddi4r">
|
|
111
|
+
</map>
|
|
112
|
+
<img src="../../dot/m_4_0.png" usemap="#map" border=0 alt="Module: Uddi4r">
|
|
113
|
+
</div>
|
|
80
114
|
|
|
81
115
|
<div id="description">
|
|
82
116
|
<h1><a href="Connection.html">Connection</a></h1>
|
|
@@ -106,12 +140,12 @@ binding.
|
|
|
106
140
|
<h3 class="section-bar">Methods</h3>
|
|
107
141
|
|
|
108
142
|
<div class="name-list">
|
|
109
|
-
<a href="#
|
|
110
|
-
<a href="#
|
|
111
|
-
<a href="#
|
|
112
|
-
<a href="#
|
|
113
|
-
<a href="#
|
|
114
|
-
<a href="#
|
|
143
|
+
<a href="#M000026">invoke</a>
|
|
144
|
+
<a href="#M000025">invoke_operation</a>
|
|
145
|
+
<a href="#M000024">max_rows=</a>
|
|
146
|
+
<a href="#M000023">namespace_for</a>
|
|
147
|
+
<a href="#M000022">new</a>
|
|
148
|
+
<a href="#M000027">to_s</a>
|
|
115
149
|
</div>
|
|
116
150
|
</div>
|
|
117
151
|
|
|
@@ -140,11 +174,11 @@ binding.
|
|
|
140
174
|
<div id="methods">
|
|
141
175
|
<h3 class="section-bar">Public Class methods</h3>
|
|
142
176
|
|
|
143
|
-
<div id="method-
|
|
144
|
-
<a name="
|
|
177
|
+
<div id="method-M000023" class="method-detail">
|
|
178
|
+
<a name="M000023"></a>
|
|
145
179
|
|
|
146
180
|
<div class="method-heading">
|
|
147
|
-
<a href="#
|
|
181
|
+
<a href="#M000023" class="method-signature">
|
|
148
182
|
<span class="method-name">namespace_for</span><span class="method-args">(version)</span>
|
|
149
183
|
</a>
|
|
150
184
|
</div>
|
|
@@ -154,8 +188,8 @@ binding.
|
|
|
154
188
|
Returns fully qualified namespace for given UDDI protocol version
|
|
155
189
|
</p>
|
|
156
190
|
<p><a class="source-toggle" href="#"
|
|
157
|
-
onclick="toggleCode('
|
|
158
|
-
<div class="method-source-code" id="
|
|
191
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
|
192
|
+
<div class="method-source-code" id="M000023-source">
|
|
159
193
|
<pre>
|
|
160
194
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 45</span>
|
|
161
195
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">namespace_for</span>(<span class="ruby-identifier">version</span>)
|
|
@@ -166,11 +200,11 @@ Returns fully qualified namespace for given UDDI protocol version
|
|
|
166
200
|
</div>
|
|
167
201
|
</div>
|
|
168
202
|
|
|
169
|
-
<div id="method-
|
|
170
|
-
<a name="
|
|
203
|
+
<div id="method-M000022" class="method-detail">
|
|
204
|
+
<a name="M000022"></a>
|
|
171
205
|
|
|
172
206
|
<div class="method-heading">
|
|
173
|
-
<a href="#
|
|
207
|
+
<a href="#M000022" class="method-signature">
|
|
174
208
|
<span class="method-name">new</span><span class="method-args">(endpoint, version="2.0", debug=false)</span>
|
|
175
209
|
</a>
|
|
176
210
|
</div>
|
|
@@ -189,8 +223,8 @@ Create the UDDI connection for given endpoint and protocol version.
|
|
|
189
223
|
</td></tr>
|
|
190
224
|
</table>
|
|
191
225
|
<p><a class="source-toggle" href="#"
|
|
192
|
-
onclick="toggleCode('
|
|
193
|
-
<div class="method-source-code" id="
|
|
226
|
+
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
|
227
|
+
<div class="method-source-code" id="M000022-source">
|
|
194
228
|
<pre>
|
|
195
229
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 34</span>
|
|
196
230
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">endpoint</span>, <span class="ruby-identifier">version</span>=<span class="ruby-value str">"2.0"</span>, <span class="ruby-identifier">debug</span>=<span class="ruby-keyword kw">false</span>)
|
|
@@ -209,11 +243,11 @@ Create the UDDI connection for given endpoint and protocol version.
|
|
|
209
243
|
|
|
210
244
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
211
245
|
|
|
212
|
-
<div id="method-
|
|
213
|
-
<a name="
|
|
246
|
+
<div id="method-M000026" class="method-detail">
|
|
247
|
+
<a name="M000026"></a>
|
|
214
248
|
|
|
215
249
|
<div class="method-heading">
|
|
216
|
-
<a href="#
|
|
250
|
+
<a href="#M000026" class="method-signature">
|
|
217
251
|
<span class="method-name">invoke</span><span class="method-args">(payload)</span>
|
|
218
252
|
</a>
|
|
219
253
|
</div>
|
|
@@ -223,8 +257,8 @@ Create the UDDI connection for given endpoint and protocol version.
|
|
|
223
257
|
Uses the connection to transmit given payload (DOM element)
|
|
224
258
|
</p>
|
|
225
259
|
<p><a class="source-toggle" href="#"
|
|
226
|
-
onclick="toggleCode('
|
|
227
|
-
<div class="method-source-code" id="
|
|
260
|
+
onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
|
|
261
|
+
<div class="method-source-code" id="M000026-source">
|
|
228
262
|
<pre>
|
|
229
263
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 63</span>
|
|
230
264
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke</span>(<span class="ruby-identifier">payload</span>)
|
|
@@ -238,11 +272,11 @@ Uses the connection to transmit given payload (DOM element)
|
|
|
238
272
|
</div>
|
|
239
273
|
</div>
|
|
240
274
|
|
|
241
|
-
<div id="method-
|
|
242
|
-
<a name="
|
|
275
|
+
<div id="method-M000025" class="method-detail">
|
|
276
|
+
<a name="M000025"></a>
|
|
243
277
|
|
|
244
278
|
<div class="method-heading">
|
|
245
|
-
<a href="#
|
|
279
|
+
<a href="#M000025" class="method-signature">
|
|
246
280
|
<span class="method-name">invoke_operation</span><span class="method-args">(operation)</span>
|
|
247
281
|
</a>
|
|
248
282
|
</div>
|
|
@@ -252,8 +286,8 @@ Uses the connection to transmit given payload (DOM element)
|
|
|
252
286
|
Uses the connection to invoke SOAP call for given operation (DOM element)
|
|
253
287
|
</p>
|
|
254
288
|
<p><a class="source-toggle" href="#"
|
|
255
|
-
onclick="toggleCode('
|
|
256
|
-
<div class="method-source-code" id="
|
|
289
|
+
onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
|
|
290
|
+
<div class="method-source-code" id="M000025-source">
|
|
257
291
|
<pre>
|
|
258
292
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 55</span>
|
|
259
293
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke_operation</span>(<span class="ruby-identifier">operation</span>)
|
|
@@ -267,11 +301,11 @@ Uses the connection to invoke SOAP call for given operation (DOM element)
|
|
|
267
301
|
</div>
|
|
268
302
|
</div>
|
|
269
303
|
|
|
270
|
-
<div id="method-
|
|
271
|
-
<a name="
|
|
304
|
+
<div id="method-M000024" class="method-detail">
|
|
305
|
+
<a name="M000024"></a>
|
|
272
306
|
|
|
273
307
|
<div class="method-heading">
|
|
274
|
-
<a href="#
|
|
308
|
+
<a href="#M000024" class="method-signature">
|
|
275
309
|
<span class="method-name">max_rows=</span><span class="method-args">(max_rows)</span>
|
|
276
310
|
</a>
|
|
277
311
|
</div>
|
|
@@ -281,8 +315,8 @@ Uses the connection to invoke SOAP call for given operation (DOM element)
|
|
|
281
315
|
Set the maximum rows returns by the UDDI server
|
|
282
316
|
</p>
|
|
283
317
|
<p><a class="source-toggle" href="#"
|
|
284
|
-
onclick="toggleCode('
|
|
285
|
-
<div class="method-source-code" id="
|
|
318
|
+
onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
|
|
319
|
+
<div class="method-source-code" id="M000024-source">
|
|
286
320
|
<pre>
|
|
287
321
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 50</span>
|
|
288
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max_rows=</span>(<span class="ruby-identifier">max_rows</span>)
|
|
@@ -293,19 +327,19 @@ Set the maximum rows returns by the UDDI server
|
|
|
293
327
|
</div>
|
|
294
328
|
</div>
|
|
295
329
|
|
|
296
|
-
<div id="method-
|
|
297
|
-
<a name="
|
|
330
|
+
<div id="method-M000027" class="method-detail">
|
|
331
|
+
<a name="M000027"></a>
|
|
298
332
|
|
|
299
333
|
<div class="method-heading">
|
|
300
|
-
<a href="#
|
|
334
|
+
<a href="#M000027" class="method-signature">
|
|
301
335
|
<span class="method-name">to_s</span><span class="method-args">()</span>
|
|
302
336
|
</a>
|
|
303
337
|
</div>
|
|
304
338
|
|
|
305
339
|
<div class="method-description">
|
|
306
340
|
<p><a class="source-toggle" href="#"
|
|
307
|
-
onclick="toggleCode('
|
|
308
|
-
<div class="method-source-code" id="
|
|
341
|
+
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
|
342
|
+
<div class="method-source-code" id="M000027-source">
|
|
309
343
|
<pre>
|
|
310
344
|
<span class="ruby-comment cmt"># File lib/connection.rb, line 70</span>
|
|
311
345
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|