brreg_grunndata 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base'
4
+ require_relative 'address'
5
+ require_relative 'organizational_form'
6
+
7
+ module BrregGrunndata
8
+ module Types
9
+ class Organization < Base
10
+ attribute :orgnr, Types::Coercible::Int
11
+ attribute :organizational_form, Types::OrganizationalForm.optional
12
+
13
+ attribute :name, Types::String.optional
14
+
15
+ attribute :telephone_number, Types::String.optional
16
+ attribute :telefax_number, Types::String.optional
17
+ attribute :mobile_number, Types::String.optional
18
+ attribute :email, Types::String.optional
19
+ attribute :web_page, Types::String.optional
20
+
21
+ attribute :business_address, Types::Address.optional
22
+ attribute :postal_address, Types::Address.optional
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base'
4
+
5
+ module BrregGrunndata
6
+ module Types
7
+ class OrganizationalForm < Base
8
+ attribute :name, Types::String
9
+ attribute :description, Types::String
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ module BrregGrunndata
4
+ module Utils
5
+ # Runs operations against a service or client concurrently
6
+ class ConcurrentOperations
7
+ class UnkownOperationError < Error; end
8
+
9
+ def initialize(service_or_client, operations, args)
10
+ @service_or_client = service_or_client
11
+ @operations = operations
12
+ @args = args
13
+ end
14
+
15
+ # Calls all operations
16
+ #
17
+ # NOTE There hasn't been put much effort in to this class, so
18
+ # when it comes to timeour or error handling you may encounter
19
+ # situaitons it does not currently handle
20
+ #
21
+ # @return Array of all results. Same order as operations where given.
22
+ def call
23
+ results = []
24
+
25
+ threads = @operations.each_with_index.map do |operation, index|
26
+ Thread.new do
27
+ results[index] = call_on_service_or_client operation
28
+ end
29
+ end
30
+
31
+ threads.each(&:join)
32
+
33
+ results
34
+ end
35
+
36
+ private
37
+
38
+ def call_on_service_or_client(operation)
39
+ unless @service_or_client.respond_to? operation
40
+ raise UnkownOperationError, "#{@service_or_client} does not respond to #{operation}"
41
+ end
42
+
43
+ @service_or_client.public_send operation, @args
44
+ end
45
+ end
46
+
47
+ # Helper class to merge two objects instance of Types::Base.
48
+ class BaseTypeMerger
49
+ def initialize(a, b)
50
+ if a.class != b.class
51
+ raise ArgumentError, "#{b.class.name} is not of type #{a.class.name}"
52
+ end
53
+
54
+ @a = a
55
+ @b = b
56
+ end
57
+
58
+ # Merges the two given classes a and b.
59
+ #
60
+ # @return A new instance of type @a
61
+ def merge
62
+ a_hash = without_empty_values @a.to_h
63
+ b_hash = without_empty_values @b.to_h
64
+
65
+ @a.class.new a_hash.merge b_hash
66
+ end
67
+
68
+ private
69
+
70
+ def without_empty_values(hash)
71
+ hash.delete_if { |_k, v| v.nil? }
72
+ end
73
+ end
74
+
75
+ module StringExt
76
+ NAMESPACE_SEPARATOR = '::'
77
+ UNDERSCORE_SEPARATOR = '/'
78
+ UNDERSCORE_DIVISION_TARGET = '\1_\2'
79
+
80
+ refine String do
81
+ # Underscores a string
82
+ #
83
+ # Taken from
84
+ # https://github.com/hanami/utils/blob/a2c9fe966ecc4e1997ffb616c7e57fc6e7acfadd/lib/hanami/utils/string.rb#L154-L175
85
+ def underscore
86
+ new_string = gsub(NAMESPACE_SEPARATOR, UNDERSCORE_SEPARATOR)
87
+ new_string.gsub!(/([A-Z\d]+)([A-Z][a-z])/, UNDERSCORE_DIVISION_TARGET)
88
+ new_string.gsub!(/([a-z\d])([A-Z])/, UNDERSCORE_DIVISION_TARGET)
89
+ new_string.gsub!(/[[:space:]]|\-/, UNDERSCORE_DIVISION_TARGET)
90
+ new_string.downcase!
91
+ new_string
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module BrregGrunndata
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,575 @@
1
+ <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.10-b140319.1121 svn-revision#7b34660d6bc70e587e8ec81a17e4d76af68816a6. --><WL5G3N0:definitions xmlns="" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://no/brreg/saksys/grunndata/ws" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="ErFrServiceDefinitions" targetNamespace="http://no/brreg/saksys/grunndata/ws">
2
+ <WL5G3N0:types>
3
+ <xs:schema xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://no/brreg/saksys/grunndata/ws" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://no/brreg/saksys/grunndata/ws">
4
+ <xs:element name="hentRollerFdato">
5
+ <xs:complexType>
6
+ <xs:sequence>
7
+ <xs:element name="userid" type="xs:string"/>
8
+ <xs:element name="password" type="xs:string"/>
9
+ <xs:element name="orgnr" type="xs:string"/>
10
+ </xs:sequence>
11
+ </xs:complexType>
12
+ </xs:element>
13
+ <xs:element name="hentRollerFdatoResponse">
14
+ <xs:complexType>
15
+ <xs:sequence>
16
+ <xs:element name="return" type="xs:string"/>
17
+ </xs:sequence>
18
+ </xs:complexType>
19
+ </xs:element>
20
+ <xs:element name="hentOpplTilknRegister">
21
+ <xs:complexType>
22
+ <xs:sequence>
23
+ <xs:element name="userid" type="xs:string"/>
24
+ <xs:element name="password" type="xs:string"/>
25
+ <xs:element name="orgnr" type="xs:string"/>
26
+ </xs:sequence>
27
+ </xs:complexType>
28
+ </xs:element>
29
+ <xs:element name="hentOpplTilknRegisterResponse">
30
+ <xs:complexType>
31
+ <xs:sequence>
32
+ <xs:element name="return" type="xs:string"/>
33
+ </xs:sequence>
34
+ </xs:complexType>
35
+ </xs:element>
36
+ <xs:element name="sokEnhet">
37
+ <xs:complexType>
38
+ <xs:sequence>
39
+ <xs:element name="userid" type="xs:string"/>
40
+ <xs:element name="password" type="xs:string"/>
41
+ <xs:element name="searchRequest" type="xs:string"/>
42
+ </xs:sequence>
43
+ </xs:complexType>
44
+ </xs:element>
45
+ <xs:element name="sokEnhetResponse">
46
+ <xs:complexType>
47
+ <xs:sequence>
48
+ <xs:element name="return" type="xs:string"/>
49
+ </xs:sequence>
50
+ </xs:complexType>
51
+ </xs:element>
52
+ <xs:element name="hentKonsern">
53
+ <xs:complexType>
54
+ <xs:sequence>
55
+ <xs:element name="userid" type="xs:string"/>
56
+ <xs:element name="password" type="xs:string"/>
57
+ <xs:element name="orgnr" type="xs:string"/>
58
+ </xs:sequence>
59
+ </xs:complexType>
60
+ </xs:element>
61
+ <xs:element name="hentKonsernResponse">
62
+ <xs:complexType>
63
+ <xs:sequence>
64
+ <xs:element name="return" type="xs:string"/>
65
+ </xs:sequence>
66
+ </xs:complexType>
67
+ </xs:element>
68
+ <xs:element name="hentProkuraSignatur">
69
+ <xs:complexType>
70
+ <xs:sequence>
71
+ <xs:element name="userid" type="xs:string"/>
72
+ <xs:element name="password" type="xs:string"/>
73
+ <xs:element name="orgnr" type="xs:string"/>
74
+ </xs:sequence>
75
+ </xs:complexType>
76
+ </xs:element>
77
+ <xs:element name="hentProkuraSignaturResponse">
78
+ <xs:complexType>
79
+ <xs:sequence>
80
+ <xs:element name="return" type="xs:string"/>
81
+ </xs:sequence>
82
+ </xs:complexType>
83
+ </xs:element>
84
+ <xs:element name="hentBasisdataMini">
85
+ <xs:complexType>
86
+ <xs:sequence>
87
+ <xs:element name="userid" type="xs:string"/>
88
+ <xs:element name="password" type="xs:string"/>
89
+ <xs:element name="orgnr" type="xs:string"/>
90
+ </xs:sequence>
91
+ </xs:complexType>
92
+ </xs:element>
93
+ <xs:element name="hentBasisdataMiniResponse">
94
+ <xs:complexType>
95
+ <xs:sequence>
96
+ <xs:element name="return" type="xs:string"/>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ </xs:element>
100
+ <xs:element name="hentRoller">
101
+ <xs:complexType>
102
+ <xs:sequence>
103
+ <xs:element name="userid" type="xs:string"/>
104
+ <xs:element name="password" type="xs:string"/>
105
+ <xs:element name="orgnr" type="xs:string"/>
106
+ </xs:sequence>
107
+ </xs:complexType>
108
+ </xs:element>
109
+ <xs:element name="hentRollerResponse">
110
+ <xs:complexType>
111
+ <xs:sequence>
112
+ <xs:element name="return" type="xs:string"/>
113
+ </xs:sequence>
114
+ </xs:complexType>
115
+ </xs:element>
116
+ <xs:element name="hentEnBedriftVirksomhet">
117
+ <xs:complexType>
118
+ <xs:sequence>
119
+ <xs:element name="userid" type="xs:string"/>
120
+ <xs:element name="password" type="xs:string"/>
121
+ <xs:element name="orgnr" type="xs:string"/>
122
+ </xs:sequence>
123
+ </xs:complexType>
124
+ </xs:element>
125
+ <xs:element name="hentEnBedriftVirksomhetResponse">
126
+ <xs:complexType>
127
+ <xs:sequence>
128
+ <xs:element name="return" type="xs:string"/>
129
+ </xs:sequence>
130
+ </xs:complexType>
131
+ </xs:element>
132
+ <xs:element name="hentBedrifterVirksomheter">
133
+ <xs:complexType>
134
+ <xs:sequence>
135
+ <xs:element name="userid" type="xs:string"/>
136
+ <xs:element name="password" type="xs:string"/>
137
+ <xs:element name="orgnr" type="xs:string"/>
138
+ </xs:sequence>
139
+ </xs:complexType>
140
+ </xs:element>
141
+ <xs:element name="hentBedrifterVirksomheterResponse">
142
+ <xs:complexType>
143
+ <xs:sequence>
144
+ <xs:element name="return" type="xs:string"/>
145
+ </xs:sequence>
146
+ </xs:complexType>
147
+ </xs:element>
148
+ <xs:element name="hentSaerligeOpplysninger">
149
+ <xs:complexType>
150
+ <xs:sequence>
151
+ <xs:element name="userid" type="xs:string"/>
152
+ <xs:element name="password" type="xs:string"/>
153
+ <xs:element name="orgnr" type="xs:string"/>
154
+ </xs:sequence>
155
+ </xs:complexType>
156
+ </xs:element>
157
+ <xs:element name="hentSaerligeOpplysningerResponse">
158
+ <xs:complexType>
159
+ <xs:sequence>
160
+ <xs:element name="return" type="xs:string"/>
161
+ </xs:sequence>
162
+ </xs:complexType>
163
+ </xs:element>
164
+ <xs:element name="hentProkuraSignaturFdato">
165
+ <xs:complexType>
166
+ <xs:sequence>
167
+ <xs:element name="userid" type="xs:string"/>
168
+ <xs:element name="password" type="xs:string"/>
169
+ <xs:element name="orgnr" type="xs:string"/>
170
+ </xs:sequence>
171
+ </xs:complexType>
172
+ </xs:element>
173
+ <xs:element name="hentProkuraSignaturFdatoResponse">
174
+ <xs:complexType>
175
+ <xs:sequence>
176
+ <xs:element name="return" type="xs:string"/>
177
+ </xs:sequence>
178
+ </xs:complexType>
179
+ </xs:element>
180
+ <xs:element name="hentRolleutskrift">
181
+ <xs:complexType>
182
+ <xs:sequence>
183
+ <xs:element name="userid" type="xs:string"/>
184
+ <xs:element name="password" type="xs:string"/>
185
+ <xs:element name="requestId" type="xs:string"/>
186
+ </xs:sequence>
187
+ </xs:complexType>
188
+ </xs:element>
189
+ <xs:element name="hentRolleutskriftResponse">
190
+ <xs:complexType>
191
+ <xs:sequence>
192
+ <xs:element name="return" type="xs:string"/>
193
+ </xs:sequence>
194
+ </xs:complexType>
195
+ </xs:element>
196
+ <xs:element name="hentBasisdata">
197
+ <xs:complexType>
198
+ <xs:sequence>
199
+ <xs:element name="userid" type="xs:string"/>
200
+ <xs:element name="password" type="xs:string"/>
201
+ <xs:element name="orgnr" type="xs:string"/>
202
+ </xs:sequence>
203
+ </xs:complexType>
204
+ </xs:element>
205
+ <xs:element name="hentBasisdataResponse">
206
+ <xs:complexType>
207
+ <xs:sequence>
208
+ <xs:element name="return" type="xs:string"/>
209
+ </xs:sequence>
210
+ </xs:complexType>
211
+ </xs:element>
212
+ <xs:element name="hentBasisdataFdato">
213
+ <xs:complexType>
214
+ <xs:sequence>
215
+ <xs:element name="userid" type="xs:string"/>
216
+ <xs:element name="password" type="xs:string"/>
217
+ <xs:element name="orgnr" type="xs:string"/>
218
+ </xs:sequence>
219
+ </xs:complexType>
220
+ </xs:element>
221
+ <xs:element name="hentBasisdataFdatoResponse">
222
+ <xs:complexType>
223
+ <xs:sequence>
224
+ <xs:element name="return" type="xs:string"/>
225
+ </xs:sequence>
226
+ </xs:complexType>
227
+ </xs:element>
228
+ <xs:element name="hentEndringslogg">
229
+ <xs:complexType>
230
+ <xs:sequence>
231
+ <xs:element name="userid" type="xs:string"/>
232
+ <xs:element name="password" type="xs:string"/>
233
+ </xs:sequence>
234
+ </xs:complexType>
235
+ </xs:element>
236
+ <xs:element name="hentEndringsloggResponse">
237
+ <xs:complexType>
238
+ <xs:sequence>
239
+ <xs:element name="return" type="xs:string"/>
240
+ </xs:sequence>
241
+ </xs:complexType>
242
+ </xs:element>
243
+ <xs:element name="hentKontaktdata">
244
+ <xs:complexType>
245
+ <xs:sequence>
246
+ <xs:element name="userid" type="xs:string"/>
247
+ <xs:element name="password" type="xs:string"/>
248
+ <xs:element name="orgnr" type="xs:string"/>
249
+ </xs:sequence>
250
+ </xs:complexType>
251
+ </xs:element>
252
+ <xs:element name="hentKontaktdataResponse">
253
+ <xs:complexType>
254
+ <xs:sequence>
255
+ <xs:element name="return" type="xs:string"/>
256
+ </xs:sequence>
257
+ </xs:complexType>
258
+ </xs:element>
259
+ </xs:schema>
260
+ </WL5G3N0:types>
261
+ <WL5G3N0:message name="hentRollerFdato">
262
+ <WL5G3N0:part element="WL5G3N1:hentRollerFdato" name="parameters"/>
263
+ </WL5G3N0:message>
264
+ <WL5G3N0:message name="hentRollerFdatoResponse">
265
+ <WL5G3N0:part element="WL5G3N1:hentRollerFdatoResponse" name="parameters"/>
266
+ </WL5G3N0:message>
267
+ <WL5G3N0:message name="hentOpplTilknRegister">
268
+ <WL5G3N0:part element="WL5G3N1:hentOpplTilknRegister" name="parameters"/>
269
+ </WL5G3N0:message>
270
+ <WL5G3N0:message name="hentOpplTilknRegisterResponse">
271
+ <WL5G3N0:part element="WL5G3N1:hentOpplTilknRegisterResponse" name="parameters"/>
272
+ </WL5G3N0:message>
273
+ <WL5G3N0:message name="sokEnhet">
274
+ <WL5G3N0:part element="WL5G3N1:sokEnhet" name="parameters"/>
275
+ </WL5G3N0:message>
276
+ <WL5G3N0:message name="sokEnhetResponse">
277
+ <WL5G3N0:part element="WL5G3N1:sokEnhetResponse" name="parameters"/>
278
+ </WL5G3N0:message>
279
+ <WL5G3N0:message name="hentKonsern">
280
+ <WL5G3N0:part element="WL5G3N1:hentKonsern" name="parameters"/>
281
+ </WL5G3N0:message>
282
+ <WL5G3N0:message name="hentKonsernResponse">
283
+ <WL5G3N0:part element="WL5G3N1:hentKonsernResponse" name="parameters"/>
284
+ </WL5G3N0:message>
285
+ <WL5G3N0:message name="hentProkuraSignatur">
286
+ <WL5G3N0:part element="WL5G3N1:hentProkuraSignatur" name="parameters"/>
287
+ </WL5G3N0:message>
288
+ <WL5G3N0:message name="hentProkuraSignaturResponse">
289
+ <WL5G3N0:part element="WL5G3N1:hentProkuraSignaturResponse" name="parameters"/>
290
+ </WL5G3N0:message>
291
+ <WL5G3N0:message name="hentBasisdataMini">
292
+ <WL5G3N0:part element="WL5G3N1:hentBasisdataMini" name="parameters"/>
293
+ </WL5G3N0:message>
294
+ <WL5G3N0:message name="hentBasisdataMiniResponse">
295
+ <WL5G3N0:part element="WL5G3N1:hentBasisdataMiniResponse" name="parameters"/>
296
+ </WL5G3N0:message>
297
+ <WL5G3N0:message name="hentRoller">
298
+ <WL5G3N0:part element="WL5G3N1:hentRoller" name="parameters"/>
299
+ </WL5G3N0:message>
300
+ <WL5G3N0:message name="hentRollerResponse">
301
+ <WL5G3N0:part element="WL5G3N1:hentRollerResponse" name="parameters"/>
302
+ </WL5G3N0:message>
303
+ <WL5G3N0:message name="hentEnBedriftVirksomhet">
304
+ <WL5G3N0:part element="WL5G3N1:hentEnBedriftVirksomhet" name="parameters"/>
305
+ </WL5G3N0:message>
306
+ <WL5G3N0:message name="hentEnBedriftVirksomhetResponse">
307
+ <WL5G3N0:part element="WL5G3N1:hentEnBedriftVirksomhetResponse" name="parameters"/>
308
+ </WL5G3N0:message>
309
+ <WL5G3N0:message name="hentBedrifterVirksomheter">
310
+ <WL5G3N0:part element="WL5G3N1:hentBedrifterVirksomheter" name="parameters"/>
311
+ </WL5G3N0:message>
312
+ <WL5G3N0:message name="hentBedrifterVirksomheterResponse">
313
+ <WL5G3N0:part element="WL5G3N1:hentBedrifterVirksomheterResponse" name="parameters"/>
314
+ </WL5G3N0:message>
315
+ <WL5G3N0:message name="hentSaerligeOpplysninger">
316
+ <WL5G3N0:part element="WL5G3N1:hentSaerligeOpplysninger" name="parameters"/>
317
+ </WL5G3N0:message>
318
+ <WL5G3N0:message name="hentSaerligeOpplysningerResponse">
319
+ <WL5G3N0:part element="WL5G3N1:hentSaerligeOpplysningerResponse" name="parameters"/>
320
+ </WL5G3N0:message>
321
+ <WL5G3N0:message name="hentProkuraSignaturFdato">
322
+ <WL5G3N0:part element="WL5G3N1:hentProkuraSignaturFdato" name="parameters"/>
323
+ </WL5G3N0:message>
324
+ <WL5G3N0:message name="hentProkuraSignaturFdatoResponse">
325
+ <WL5G3N0:part element="WL5G3N1:hentProkuraSignaturFdatoResponse" name="parameters"/>
326
+ </WL5G3N0:message>
327
+ <WL5G3N0:message name="hentRolleutskrift">
328
+ <WL5G3N0:part element="WL5G3N1:hentRolleutskrift" name="parameters"/>
329
+ </WL5G3N0:message>
330
+ <WL5G3N0:message name="hentRolleutskriftResponse">
331
+ <WL5G3N0:part element="WL5G3N1:hentRolleutskriftResponse" name="parameters"/>
332
+ </WL5G3N0:message>
333
+ <WL5G3N0:message name="hentBasisdata">
334
+ <WL5G3N0:part element="WL5G3N1:hentBasisdata" name="parameters"/>
335
+ </WL5G3N0:message>
336
+ <WL5G3N0:message name="hentBasisdataResponse">
337
+ <WL5G3N0:part element="WL5G3N1:hentBasisdataResponse" name="parameters"/>
338
+ </WL5G3N0:message>
339
+ <WL5G3N0:message name="hentBasisdataFdato">
340
+ <WL5G3N0:part element="WL5G3N1:hentBasisdataFdato" name="parameters"/>
341
+ </WL5G3N0:message>
342
+ <WL5G3N0:message name="hentBasisdataFdatoResponse">
343
+ <WL5G3N0:part element="WL5G3N1:hentBasisdataFdatoResponse" name="parameters"/>
344
+ </WL5G3N0:message>
345
+ <WL5G3N0:message name="hentEndringslogg">
346
+ <WL5G3N0:part element="WL5G3N1:hentEndringslogg" name="parameters"/>
347
+ </WL5G3N0:message>
348
+ <WL5G3N0:message name="hentEndringsloggResponse">
349
+ <WL5G3N0:part element="WL5G3N1:hentEndringsloggResponse" name="parameters"/>
350
+ </WL5G3N0:message>
351
+ <WL5G3N0:message name="hentKontaktdata">
352
+ <WL5G3N0:part element="WL5G3N1:hentKontaktdata" name="parameters"/>
353
+ </WL5G3N0:message>
354
+ <WL5G3N0:message name="hentKontaktdataResponse">
355
+ <WL5G3N0:part element="WL5G3N1:hentKontaktdataResponse" name="parameters"/>
356
+ </WL5G3N0:message>
357
+ <WL5G3N0:portType name="ErFr">
358
+ <WL5G3N0:operation name="hentRollerFdato" parameterOrder="parameters">
359
+ <WL5G3N0:input message="WL5G3N1:hentRollerFdato"/>
360
+ <WL5G3N0:output message="WL5G3N1:hentRollerFdatoResponse"/>
361
+ </WL5G3N0:operation>
362
+ <WL5G3N0:operation name="hentOpplTilknRegister" parameterOrder="parameters">
363
+ <WL5G3N0:input message="WL5G3N1:hentOpplTilknRegister"/>
364
+ <WL5G3N0:output message="WL5G3N1:hentOpplTilknRegisterResponse"/>
365
+ </WL5G3N0:operation>
366
+ <WL5G3N0:operation name="sokEnhet" parameterOrder="parameters">
367
+ <WL5G3N0:input message="WL5G3N1:sokEnhet"/>
368
+ <WL5G3N0:output message="WL5G3N1:sokEnhetResponse"/>
369
+ </WL5G3N0:operation>
370
+ <WL5G3N0:operation name="hentKonsern" parameterOrder="parameters">
371
+ <WL5G3N0:input message="WL5G3N1:hentKonsern"/>
372
+ <WL5G3N0:output message="WL5G3N1:hentKonsernResponse"/>
373
+ </WL5G3N0:operation>
374
+ <WL5G3N0:operation name="hentProkuraSignatur" parameterOrder="parameters">
375
+ <WL5G3N0:input message="WL5G3N1:hentProkuraSignatur"/>
376
+ <WL5G3N0:output message="WL5G3N1:hentProkuraSignaturResponse"/>
377
+ </WL5G3N0:operation>
378
+ <WL5G3N0:operation name="hentBasisdataMini" parameterOrder="parameters">
379
+ <WL5G3N0:input message="WL5G3N1:hentBasisdataMini"/>
380
+ <WL5G3N0:output message="WL5G3N1:hentBasisdataMiniResponse"/>
381
+ </WL5G3N0:operation>
382
+ <WL5G3N0:operation name="hentRoller" parameterOrder="parameters">
383
+ <WL5G3N0:input message="WL5G3N1:hentRoller"/>
384
+ <WL5G3N0:output message="WL5G3N1:hentRollerResponse"/>
385
+ </WL5G3N0:operation>
386
+ <WL5G3N0:operation name="hentEnBedriftVirksomhet" parameterOrder="parameters">
387
+ <WL5G3N0:input message="WL5G3N1:hentEnBedriftVirksomhet"/>
388
+ <WL5G3N0:output message="WL5G3N1:hentEnBedriftVirksomhetResponse"/>
389
+ </WL5G3N0:operation>
390
+ <WL5G3N0:operation name="hentBedrifterVirksomheter" parameterOrder="parameters">
391
+ <WL5G3N0:input message="WL5G3N1:hentBedrifterVirksomheter"/>
392
+ <WL5G3N0:output message="WL5G3N1:hentBedrifterVirksomheterResponse"/>
393
+ </WL5G3N0:operation>
394
+ <WL5G3N0:operation name="hentSaerligeOpplysninger" parameterOrder="parameters">
395
+ <WL5G3N0:input message="WL5G3N1:hentSaerligeOpplysninger"/>
396
+ <WL5G3N0:output message="WL5G3N1:hentSaerligeOpplysningerResponse"/>
397
+ </WL5G3N0:operation>
398
+ <WL5G3N0:operation name="hentProkuraSignaturFdato" parameterOrder="parameters">
399
+ <WL5G3N0:input message="WL5G3N1:hentProkuraSignaturFdato"/>
400
+ <WL5G3N0:output message="WL5G3N1:hentProkuraSignaturFdatoResponse"/>
401
+ </WL5G3N0:operation>
402
+ <WL5G3N0:operation name="hentRolleutskrift" parameterOrder="parameters">
403
+ <WL5G3N0:input message="WL5G3N1:hentRolleutskrift"/>
404
+ <WL5G3N0:output message="WL5G3N1:hentRolleutskriftResponse"/>
405
+ </WL5G3N0:operation>
406
+ <WL5G3N0:operation name="hentBasisdata" parameterOrder="parameters">
407
+ <WL5G3N0:input message="WL5G3N1:hentBasisdata"/>
408
+ <WL5G3N0:output message="WL5G3N1:hentBasisdataResponse"/>
409
+ </WL5G3N0:operation>
410
+ <WL5G3N0:operation name="hentBasisdataFdato" parameterOrder="parameters">
411
+ <WL5G3N0:input message="WL5G3N1:hentBasisdataFdato"/>
412
+ <WL5G3N0:output message="WL5G3N1:hentBasisdataFdatoResponse"/>
413
+ </WL5G3N0:operation>
414
+ <WL5G3N0:operation name="hentEndringslogg" parameterOrder="parameters">
415
+ <WL5G3N0:input message="WL5G3N1:hentEndringslogg"/>
416
+ <WL5G3N0:output message="WL5G3N1:hentEndringsloggResponse"/>
417
+ </WL5G3N0:operation>
418
+ <WL5G3N0:operation name="hentKontaktdata" parameterOrder="parameters">
419
+ <WL5G3N0:input message="WL5G3N1:hentKontaktdata"/>
420
+ <WL5G3N0:output message="WL5G3N1:hentKontaktdataResponse"/>
421
+ </WL5G3N0:operation>
422
+ </WL5G3N0:portType>
423
+ <WL5G3N0:binding name="ErFrServiceSoapBinding" type="WL5G3N1:ErFr">
424
+ <WL5G3N2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
425
+ <WL5G3N0:operation name="hentRollerFdato">
426
+ <WL5G3N2:operation style="document"/>
427
+ <WL5G3N0:input>
428
+ <WL5G3N2:body parts="parameters" use="literal"/>
429
+ </WL5G3N0:input>
430
+ <WL5G3N0:output>
431
+ <WL5G3N2:body parts="parameters" use="literal"/>
432
+ </WL5G3N0:output>
433
+ </WL5G3N0:operation>
434
+ <WL5G3N0:operation name="hentOpplTilknRegister">
435
+ <WL5G3N2:operation style="document"/>
436
+ <WL5G3N0:input>
437
+ <WL5G3N2:body parts="parameters" use="literal"/>
438
+ </WL5G3N0:input>
439
+ <WL5G3N0:output>
440
+ <WL5G3N2:body parts="parameters" use="literal"/>
441
+ </WL5G3N0:output>
442
+ </WL5G3N0:operation>
443
+ <WL5G3N0:operation name="sokEnhet">
444
+ <WL5G3N2:operation style="document"/>
445
+ <WL5G3N0:input>
446
+ <WL5G3N2:body parts="parameters" use="literal"/>
447
+ </WL5G3N0:input>
448
+ <WL5G3N0:output>
449
+ <WL5G3N2:body parts="parameters" use="literal"/>
450
+ </WL5G3N0:output>
451
+ </WL5G3N0:operation>
452
+ <WL5G3N0:operation name="hentKonsern">
453
+ <WL5G3N2:operation style="document"/>
454
+ <WL5G3N0:input>
455
+ <WL5G3N2:body parts="parameters" use="literal"/>
456
+ </WL5G3N0:input>
457
+ <WL5G3N0:output>
458
+ <WL5G3N2:body parts="parameters" use="literal"/>
459
+ </WL5G3N0:output>
460
+ </WL5G3N0:operation>
461
+ <WL5G3N0:operation name="hentProkuraSignatur">
462
+ <WL5G3N2:operation style="document"/>
463
+ <WL5G3N0:input>
464
+ <WL5G3N2:body parts="parameters" use="literal"/>
465
+ </WL5G3N0:input>
466
+ <WL5G3N0:output>
467
+ <WL5G3N2:body parts="parameters" use="literal"/>
468
+ </WL5G3N0:output>
469
+ </WL5G3N0:operation>
470
+ <WL5G3N0:operation name="hentBasisdataMini">
471
+ <WL5G3N2:operation style="document"/>
472
+ <WL5G3N0:input>
473
+ <WL5G3N2:body parts="parameters" use="literal"/>
474
+ </WL5G3N0:input>
475
+ <WL5G3N0:output>
476
+ <WL5G3N2:body parts="parameters" use="literal"/>
477
+ </WL5G3N0:output>
478
+ </WL5G3N0:operation>
479
+ <WL5G3N0:operation name="hentRoller">
480
+ <WL5G3N2:operation style="document"/>
481
+ <WL5G3N0:input>
482
+ <WL5G3N2:body parts="parameters" use="literal"/>
483
+ </WL5G3N0:input>
484
+ <WL5G3N0:output>
485
+ <WL5G3N2:body parts="parameters" use="literal"/>
486
+ </WL5G3N0:output>
487
+ </WL5G3N0:operation>
488
+ <WL5G3N0:operation name="hentEnBedriftVirksomhet">
489
+ <WL5G3N2:operation style="document"/>
490
+ <WL5G3N0:input>
491
+ <WL5G3N2:body parts="parameters" use="literal"/>
492
+ </WL5G3N0:input>
493
+ <WL5G3N0:output>
494
+ <WL5G3N2:body parts="parameters" use="literal"/>
495
+ </WL5G3N0:output>
496
+ </WL5G3N0:operation>
497
+ <WL5G3N0:operation name="hentBedrifterVirksomheter">
498
+ <WL5G3N2:operation style="document"/>
499
+ <WL5G3N0:input>
500
+ <WL5G3N2:body parts="parameters" use="literal"/>
501
+ </WL5G3N0:input>
502
+ <WL5G3N0:output>
503
+ <WL5G3N2:body parts="parameters" use="literal"/>
504
+ </WL5G3N0:output>
505
+ </WL5G3N0:operation>
506
+ <WL5G3N0:operation name="hentSaerligeOpplysninger">
507
+ <WL5G3N2:operation style="document"/>
508
+ <WL5G3N0:input>
509
+ <WL5G3N2:body parts="parameters" use="literal"/>
510
+ </WL5G3N0:input>
511
+ <WL5G3N0:output>
512
+ <WL5G3N2:body parts="parameters" use="literal"/>
513
+ </WL5G3N0:output>
514
+ </WL5G3N0:operation>
515
+ <WL5G3N0:operation name="hentProkuraSignaturFdato">
516
+ <WL5G3N2:operation style="document"/>
517
+ <WL5G3N0:input>
518
+ <WL5G3N2:body parts="parameters" use="literal"/>
519
+ </WL5G3N0:input>
520
+ <WL5G3N0:output>
521
+ <WL5G3N2:body parts="parameters" use="literal"/>
522
+ </WL5G3N0:output>
523
+ </WL5G3N0:operation>
524
+ <WL5G3N0:operation name="hentRolleutskrift">
525
+ <WL5G3N2:operation style="document"/>
526
+ <WL5G3N0:input>
527
+ <WL5G3N2:body parts="parameters" use="literal"/>
528
+ </WL5G3N0:input>
529
+ <WL5G3N0:output>
530
+ <WL5G3N2:body parts="parameters" use="literal"/>
531
+ </WL5G3N0:output>
532
+ </WL5G3N0:operation>
533
+ <WL5G3N0:operation name="hentBasisdata">
534
+ <WL5G3N2:operation style="document"/>
535
+ <WL5G3N0:input>
536
+ <WL5G3N2:body parts="parameters" use="literal"/>
537
+ </WL5G3N0:input>
538
+ <WL5G3N0:output>
539
+ <WL5G3N2:body parts="parameters" use="literal"/>
540
+ </WL5G3N0:output>
541
+ </WL5G3N0:operation>
542
+ <WL5G3N0:operation name="hentBasisdataFdato">
543
+ <WL5G3N2:operation style="document"/>
544
+ <WL5G3N0:input>
545
+ <WL5G3N2:body parts="parameters" use="literal"/>
546
+ </WL5G3N0:input>
547
+ <WL5G3N0:output>
548
+ <WL5G3N2:body parts="parameters" use="literal"/>
549
+ </WL5G3N0:output>
550
+ </WL5G3N0:operation>
551
+ <WL5G3N0:operation name="hentEndringslogg">
552
+ <WL5G3N2:operation style="document"/>
553
+ <WL5G3N0:input>
554
+ <WL5G3N2:body parts="parameters" use="literal"/>
555
+ </WL5G3N0:input>
556
+ <WL5G3N0:output>
557
+ <WL5G3N2:body parts="parameters" use="literal"/>
558
+ </WL5G3N0:output>
559
+ </WL5G3N0:operation>
560
+ <WL5G3N0:operation name="hentKontaktdata">
561
+ <WL5G3N2:operation style="document"/>
562
+ <WL5G3N0:input>
563
+ <WL5G3N2:body parts="parameters" use="literal"/>
564
+ </WL5G3N0:input>
565
+ <WL5G3N0:output>
566
+ <WL5G3N2:body parts="parameters" use="literal"/>
567
+ </WL5G3N0:output>
568
+ </WL5G3N0:operation>
569
+ </WL5G3N0:binding>
570
+ <WL5G3N0:service name="ErFrService">
571
+ <WL5G3N0:port binding="WL5G3N1:ErFrServiceSoapBinding" name="ErFrSoapPort">
572
+ <WL5G3N2:address location="https://ws.brreg.no:443/grunndata/ErFr"/>
573
+ </WL5G3N0:port>
574
+ </WL5G3N0:service>
575
+ </WL5G3N0:definitions>