uddi4r 0.8 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/uddi4r.rb +7 -0
- data/lib/{client.rb → uddi4r/client.rb} +121 -3
- data/lib/{connection.rb → uddi4r/connection.rb} +0 -1
- data/lib/{models.rb → uddi4r/models.rb} +94 -5
- data/lib/{soap_builder.rb → uddi4r/soap_builder.rb} +0 -0
- data/lib/uddi4r/try.rb +46 -0
- data/test/test_client.rb +5 -4
- data/test/test_connection.rb +4 -1
- data/test/test_model.rb +4 -1
- metadata +23 -78
- data/doc/classes/Uddi4r.html +0 -190
- data/doc/classes/Uddi4r/BindingDetail.html +0 -172
- data/doc/classes/Uddi4r/BindingTemplate.html +0 -187
- data/doc/classes/Uddi4r/BusinessDetail.html +0 -167
- data/doc/classes/Uddi4r/BusinessEntity.html +0 -167
- data/doc/classes/Uddi4r/BusinessInfo.html +0 -177
- data/doc/classes/Uddi4r/BusinessList.html +0 -172
- data/doc/classes/Uddi4r/BusinessService.html +0 -167
- data/doc/classes/Uddi4r/CategoryBag.html +0 -167
- data/doc/classes/Uddi4r/Client.html +0 -744
- data/doc/classes/Uddi4r/Connection.html +0 -365
- data/doc/classes/Uddi4r/DiscoveryURLs.html +0 -191
- data/doc/classes/Uddi4r/FindQualifiers.html +0 -191
- data/doc/classes/Uddi4r/IdentifierBag.html +0 -167
- data/doc/classes/Uddi4r/KeyedReference.html +0 -192
- data/doc/classes/Uddi4r/Model.html +0 -333
- data/doc/classes/Uddi4r/OverviewDoc.html +0 -154
- data/doc/classes/Uddi4r/RelatedBusinessesList.html +0 -167
- data/doc/classes/Uddi4r/ServiceDetail.html +0 -172
- data/doc/classes/Uddi4r/ServiceInfo.html +0 -172
- data/doc/classes/Uddi4r/ServiceList.html +0 -172
- data/doc/classes/Uddi4r/SoapBuilder.html +0 -390
- data/doc/classes/Uddi4r/TModel.html +0 -187
- data/doc/classes/Uddi4r/TModelBag.html +0 -189
- data/doc/classes/Uddi4r/TModelDetail.html +0 -167
- data/doc/classes/Uddi4r/TModelInfo.html +0 -167
- data/doc/classes/Uddi4r/TModelInstanceInfo.html +0 -172
- data/doc/classes/Uddi4r/TModelList.html +0 -167
- data/doc/created.rid +0 -1
- data/doc/dot/f_0.dot +0 -14
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +0 -386
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +0 -386
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +0 -386
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +0 -386
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/m_1_0.dot +0 -386
- data/doc/dot/m_1_0.png +0 -0
- data/doc/dot/m_2_0.dot +0 -386
- data/doc/dot/m_2_0.png +0 -0
- data/doc/dot/m_3_0.dot +0 -386
- data/doc/dot/m_3_0.png +0 -0
- data/doc/dot/m_4_0.dot +0 -386
- data/doc/dot/m_4_0.png +0 -0
- data/doc/files/README.html +0 -152
- data/doc/files/lib/client_rb.html +0 -151
- data/doc/files/lib/connection_rb.html +0 -153
- data/doc/files/lib/models_rb.html +0 -149
- data/doc/files/lib/soap_builder_rb.html +0 -142
- data/doc/fr_class_index.html +0 -54
- data/doc/fr_file_index.html +0 -31
- data/doc/fr_method_index.html +0 -55
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,365 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Uddi4r::Connection</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Uddi4r::Connection</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/connection_rb.html">
|
59
|
-
lib/connection.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
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>
|
114
|
-
|
115
|
-
<div id="description">
|
116
|
-
<h1><a href="Connection.html">Connection</a></h1>
|
117
|
-
<p>
|
118
|
-
This class manages the UDDI connection and SOAP messaging. It also provides
|
119
|
-
helper methods for creating SOAP payload and related XML elements.
|
120
|
-
</p>
|
121
|
-
<h2>Example</h2>
|
122
|
-
<p>
|
123
|
-
Following example demonstrates the typical browse use-case for UDDI. It
|
124
|
-
starts with the findBusiness use-case and drills down to the specific
|
125
|
-
binding.
|
126
|
-
</p>
|
127
|
-
<pre>
|
128
|
-
uddi = Uddi4r::UddiClient.new(XMethodsUddi.url)
|
129
|
-
biz = uddi.find_business("chaiwat").first
|
130
|
-
service = biz.service_infos.first
|
131
|
-
binding = uddi.find_binding(service.service_key)
|
132
|
-
</pre>
|
133
|
-
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
</div>
|
138
|
-
|
139
|
-
<div id="method-list">
|
140
|
-
<h3 class="section-bar">Methods</h3>
|
141
|
-
|
142
|
-
<div class="name-list">
|
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>
|
149
|
-
</div>
|
150
|
-
</div>
|
151
|
-
|
152
|
-
</div>
|
153
|
-
|
154
|
-
|
155
|
-
<!-- if includes -->
|
156
|
-
<div id="includes">
|
157
|
-
<h3 class="section-bar">Included Modules</h3>
|
158
|
-
|
159
|
-
<div id="includes-list">
|
160
|
-
<span class="include-name"><a href="SoapBuilder.html">SoapBuilder</a></span>
|
161
|
-
</div>
|
162
|
-
</div>
|
163
|
-
|
164
|
-
<div id="section">
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<!-- if method_list -->
|
174
|
-
<div id="methods">
|
175
|
-
<h3 class="section-bar">Public Class methods</h3>
|
176
|
-
|
177
|
-
<div id="method-M000023" class="method-detail">
|
178
|
-
<a name="M000023"></a>
|
179
|
-
|
180
|
-
<div class="method-heading">
|
181
|
-
<a href="#M000023" class="method-signature">
|
182
|
-
<span class="method-name">namespace_for</span><span class="method-args">(version)</span>
|
183
|
-
</a>
|
184
|
-
</div>
|
185
|
-
|
186
|
-
<div class="method-description">
|
187
|
-
<p>
|
188
|
-
Returns fully qualified namespace for given UDDI protocol version
|
189
|
-
</p>
|
190
|
-
<p><a class="source-toggle" href="#"
|
191
|
-
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
192
|
-
<div class="method-source-code" id="M000023-source">
|
193
|
-
<pre>
|
194
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 45</span>
|
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>)
|
196
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@XmlNamespace</span>[<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>()] <span class="ruby-operator">||</span> <span class="ruby-identifier">raise</span>(<span class="ruby-node">"Unsupported UDDI version #{version}"</span>)
|
197
|
-
<span class="ruby-keyword kw">end</span>
|
198
|
-
</pre>
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
</div>
|
202
|
-
|
203
|
-
<div id="method-M000022" class="method-detail">
|
204
|
-
<a name="M000022"></a>
|
205
|
-
|
206
|
-
<div class="method-heading">
|
207
|
-
<a href="#M000022" class="method-signature">
|
208
|
-
<span class="method-name">new</span><span class="method-args">(endpoint, version="2.0", debug=false)</span>
|
209
|
-
</a>
|
210
|
-
</div>
|
211
|
-
|
212
|
-
<div class="method-description">
|
213
|
-
<p>
|
214
|
-
Create the UDDI connection for given endpoint and protocol version.
|
215
|
-
</p>
|
216
|
-
<table>
|
217
|
-
<tr><td valign="top">endpoint:</td><td>URL to UDDI server as string
|
218
|
-
|
219
|
-
</td></tr>
|
220
|
-
<tr><td valign="top">version:</td><td>UDDI protocol version as string. Default (and only support) is
|
221
|
-
"2.0"
|
222
|
-
|
223
|
-
</td></tr>
|
224
|
-
</table>
|
225
|
-
<p><a class="source-toggle" href="#"
|
226
|
-
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
227
|
-
<div class="method-source-code" id="M000022-source">
|
228
|
-
<pre>
|
229
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 34</span>
|
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>)
|
231
|
-
<span class="ruby-ivar">@endpoint</span> = <span class="ruby-identifier">endpoint</span>
|
232
|
-
<span class="ruby-ivar">@version</span> = <span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>()
|
233
|
-
<span class="ruby-ivar">@uddi_namespace</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">namespace_for</span>(<span class="ruby-ivar">@version</span>)
|
234
|
-
<span class="ruby-identifier">props</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">Property</span>.<span class="ruby-identifier">new</span>()
|
235
|
-
<span class="ruby-identifier">props</span>[<span class="ruby-value str">"wiredump_dev"</span>] = <span class="ruby-constant">STDOUT</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">debug</span>
|
236
|
-
<span class="ruby-ivar">@stream_handler</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTPStreamHandler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">props</span>)
|
237
|
-
<span class="ruby-ivar">@max_rows</span> = <span class="ruby-keyword kw">nil</span>
|
238
|
-
<span class="ruby-keyword kw">end</span>
|
239
|
-
</pre>
|
240
|
-
</div>
|
241
|
-
</div>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
245
|
-
|
246
|
-
<div id="method-M000026" class="method-detail">
|
247
|
-
<a name="M000026"></a>
|
248
|
-
|
249
|
-
<div class="method-heading">
|
250
|
-
<a href="#M000026" class="method-signature">
|
251
|
-
<span class="method-name">invoke</span><span class="method-args">(payload)</span>
|
252
|
-
</a>
|
253
|
-
</div>
|
254
|
-
|
255
|
-
<div class="method-description">
|
256
|
-
<p>
|
257
|
-
Uses the connection to transmit given payload (DOM element)
|
258
|
-
</p>
|
259
|
-
<p><a class="source-toggle" href="#"
|
260
|
-
onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
|
261
|
-
<div class="method-source-code" id="M000026-source">
|
262
|
-
<pre>
|
263
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 63</span>
|
264
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke</span>(<span class="ruby-identifier">payload</span>)
|
265
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">puts</span>(<span class="ruby-identifier">payload</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@endpoint</span>
|
266
|
-
<span class="ruby-identifier">data</span> = <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">StreamHandler</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionData</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">payload</span>.<span class="ruby-identifier">to_s</span>())
|
267
|
-
<span class="ruby-identifier">response</span> = <span class="ruby-ivar">@stream_handler</span>.<span class="ruby-identifier">send</span>(<span class="ruby-ivar">@endpoint</span>, <span class="ruby-identifier">data</span>).<span class="ruby-identifier">receive_string</span>
|
268
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">response</span>)
|
269
|
-
<span class="ruby-keyword kw">end</span>
|
270
|
-
</pre>
|
271
|
-
</div>
|
272
|
-
</div>
|
273
|
-
</div>
|
274
|
-
|
275
|
-
<div id="method-M000025" class="method-detail">
|
276
|
-
<a name="M000025"></a>
|
277
|
-
|
278
|
-
<div class="method-heading">
|
279
|
-
<a href="#M000025" class="method-signature">
|
280
|
-
<span class="method-name">invoke_operation</span><span class="method-args">(operation)</span>
|
281
|
-
</a>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
<div class="method-description">
|
285
|
-
<p>
|
286
|
-
Uses the connection to invoke SOAP call for given operation (DOM element)
|
287
|
-
</p>
|
288
|
-
<p><a class="source-toggle" href="#"
|
289
|
-
onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
|
290
|
-
<div class="method-source-code" id="M000025-source">
|
291
|
-
<pre>
|
292
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 55</span>
|
293
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invoke_operation</span>(<span class="ruby-identifier">operation</span>)
|
294
|
-
<span class="ruby-identifier">body</span> = <span class="ruby-identifier">create_body</span>()
|
295
|
-
<span class="ruby-identifier">body</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">operation</span>
|
296
|
-
<span class="ruby-identifier">payload</span> = <span class="ruby-identifier">create_payload</span>(<span class="ruby-identifier">body</span>)
|
297
|
-
<span class="ruby-identifier">invoke</span>(<span class="ruby-identifier">payload</span>)
|
298
|
-
<span class="ruby-keyword kw">end</span>
|
299
|
-
</pre>
|
300
|
-
</div>
|
301
|
-
</div>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
<div id="method-M000024" class="method-detail">
|
305
|
-
<a name="M000024"></a>
|
306
|
-
|
307
|
-
<div class="method-heading">
|
308
|
-
<a href="#M000024" class="method-signature">
|
309
|
-
<span class="method-name">max_rows=</span><span class="method-args">(max_rows)</span>
|
310
|
-
</a>
|
311
|
-
</div>
|
312
|
-
|
313
|
-
<div class="method-description">
|
314
|
-
<p>
|
315
|
-
Set the maximum rows returns by the UDDI server
|
316
|
-
</p>
|
317
|
-
<p><a class="source-toggle" href="#"
|
318
|
-
onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
|
319
|
-
<div class="method-source-code" id="M000024-source">
|
320
|
-
<pre>
|
321
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 50</span>
|
322
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">max_rows=</span>(<span class="ruby-identifier">max_rows</span>)
|
323
|
-
<span class="ruby-ivar">@max_rows</span> = <span class="ruby-identifier">max_rows</span>
|
324
|
-
<span class="ruby-keyword kw">end</span>
|
325
|
-
</pre>
|
326
|
-
</div>
|
327
|
-
</div>
|
328
|
-
</div>
|
329
|
-
|
330
|
-
<div id="method-M000027" class="method-detail">
|
331
|
-
<a name="M000027"></a>
|
332
|
-
|
333
|
-
<div class="method-heading">
|
334
|
-
<a href="#M000027" class="method-signature">
|
335
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
336
|
-
</a>
|
337
|
-
</div>
|
338
|
-
|
339
|
-
<div class="method-description">
|
340
|
-
<p><a class="source-toggle" href="#"
|
341
|
-
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
342
|
-
<div class="method-source-code" id="M000027-source">
|
343
|
-
<pre>
|
344
|
-
<span class="ruby-comment cmt"># File lib/connection.rb, line 70</span>
|
345
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
346
|
-
<span class="ruby-node">"UDDI connection: #{@endpoint}: #{@version} ns:#{@uddi_namespace}"</span>
|
347
|
-
<span class="ruby-keyword kw">end</span>
|
348
|
-
</pre>
|
349
|
-
</div>
|
350
|
-
</div>
|
351
|
-
</div>
|
352
|
-
|
353
|
-
|
354
|
-
</div>
|
355
|
-
|
356
|
-
|
357
|
-
</div>
|
358
|
-
|
359
|
-
|
360
|
-
<div id="validator-badges">
|
361
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
362
|
-
</div>
|
363
|
-
|
364
|
-
</body>
|
365
|
-
</html>
|
@@ -1,191 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Uddi4r::DiscoveryURLs</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Uddi4r::DiscoveryURLs</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/models_rb.html">
|
59
|
-
lib/models.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
<a href="Model.html">
|
69
|
-
Model
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
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>
|
116
|
-
|
117
|
-
<div id="description">
|
118
|
-
<p>
|
119
|
-
UDDI discoverURLs, for more information, see <a
|
120
|
-
href="Model.html">Uddi4r::Model</a>.
|
121
|
-
</p>
|
122
|
-
|
123
|
-
</div>
|
124
|
-
|
125
|
-
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<div id="method-list">
|
129
|
-
<h3 class="section-bar">Methods</h3>
|
130
|
-
|
131
|
-
<div class="name-list">
|
132
|
-
<a href="#M000029">new</a>
|
133
|
-
</div>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
<!-- if includes -->
|
140
|
-
|
141
|
-
<div id="section">
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<!-- if method_list -->
|
151
|
-
<div id="methods">
|
152
|
-
<h3 class="section-bar">Public Class methods</h3>
|
153
|
-
|
154
|
-
<div id="method-M000029" class="method-detail">
|
155
|
-
<a name="M000029"></a>
|
156
|
-
|
157
|
-
<div class="method-heading">
|
158
|
-
<a href="#M000029" class="method-signature">
|
159
|
-
<span class="method-name">new</span><span class="method-args">(*urls)</span>
|
160
|
-
</a>
|
161
|
-
</div>
|
162
|
-
|
163
|
-
<div class="method-description">
|
164
|
-
<p><a class="source-toggle" href="#"
|
165
|
-
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
166
|
-
<div class="method-source-code" id="M000029-source">
|
167
|
-
<pre>
|
168
|
-
<span class="ruby-comment cmt"># File lib/models.rb, line 190</span>
|
169
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">urls</span>)
|
170
|
-
<span class="ruby-identifier">urls</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span>
|
171
|
-
<span class="ruby-identifier">discovery_url</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">u</span>
|
172
|
-
<span class="ruby-keyword kw">end</span>
|
173
|
-
<span class="ruby-keyword kw">end</span>
|
174
|
-
</pre>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
|
180
|
-
</div>
|
181
|
-
|
182
|
-
|
183
|
-
</div>
|
184
|
-
|
185
|
-
|
186
|
-
<div id="validator-badges">
|
187
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
</body>
|
191
|
-
</html>
|