Änderungen von Dokument 08 Schnittstelle ONYX Reporter
Zuletzt geändert von Carina Enke am 13.02.2024
Von Version 375.1
bearbeitet von tleu
am 01.12.2014
am 01.12.2014
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 279.1
bearbeitet von Carina Enke
am 08.05.2019
am 08.05.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. tleu1 +XWiki.carina - Inhalt
-
... ... @@ -1,68 +1,409 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 3 +{{layout-section ac:type="single"}} 4 +{{layout-cell}}{{/layout-cell}} 5 +{{/layout-section}} 6 + 2 2 {{layout-section ac:type="two_right_sidebar"}} 3 3 {{layout-cell}} 4 -====== Inhalt: ====== 9 + 10 +{{/layout-cell}} 5 5 12 +{{layout-cell}} 13 +{{scroll-ignore}} 14 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 6 6 7 7 8 -{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}} 17 +{{toc/}} 18 +{{/panel}} 19 +{{/scroll-ignore}} 9 9 {{/layout-cell}} 21 +{{/layout-section}} 10 10 23 +{{layout-section ac:type="single"}} 11 11 {{layout-cell}} 12 -|=(% colspan="1" %)(% colspan="1" %) 25 +== Allgemeines == 26 + 27 +Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen: 28 + 29 +|((( 30 +armSite 31 +)))|((( 32 +Anmeldung von Folgerequests beim ONYX Reporter. 33 +))) 34 +|((( 35 +initiateSite 36 +)))|((( 37 +Initiiert die Reporter-Session (Übertragung des CPs). 38 +))) 39 +|((( 40 +disarmSite 41 +)))|((( 42 +Freigabe von allen Reporter-Ressourcen für diese Session. 43 +))) 44 +|((( 45 +getResultValues 46 +)))|((( 47 +Gibt alle bzw. die angeforderten Resultate für den Test zurück. Voraussetzung: Es ist nur exakt ein Student in der bei initiateSite übertragenen Liste. 48 +))) 49 +|(% colspan="1" %)(% colspan="1" %) 13 13 ((( 14 - Programmversion51 +getResultVariables 15 15 )))|(% colspan="1" %)(% colspan="1" %) 16 16 ((( 17 - 54 +Gibt alle bzw. die angeforderten Outcome-Variablen für den Test zurück. Hierfür sind kein armSite, initiateSite oder disarmSite erforderlich. 18 18 ))) 19 -|=((( 20 -Status 56 + 57 +== Anmeldung des LMS == 58 + 59 +{{code language="xml" title="Anmeldung des LMS"}} 60 +@WebMethod(operationName = „armSite") 61 +public String armSite( 62 +@WebParam(name = „version") final Integer version, 63 +@WebParam(name = „userId") final String userId, 64 +@WebParam(name = „optionalRole") final Integer role, 65 +@WebParam(name = „secretToShare") final String secretToShare, 66 +@WebParam(name = „optionalUserLastName") final String userLastName, 67 +@WebParam(name = „optionalUserFirstName") final String userFirstName, 68 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 69 +} 70 +{{/code}} 71 + 72 +=== Parameter armSite === 73 + 74 +|((( 75 +version 21 21 )))|((( 22 - (% class="status-macro aui-lozengeui-lozenge-error"%)ENTWURF77 +Angefragte Version: 1 23 23 ))) 24 -| =(((25 - Aufgaben79 +|((( 80 +userId 26 26 )))|((( 82 +UserId des anfragenden Reporter-Benutzers 83 +))) 84 +|((( 85 +optionalRole 86 +)))|((( 87 +Optional. Rolle des Benutzers. 0 = Student, 1= Tutor 88 +))) 89 +|((( 90 +secretToShare 91 +)))|((( 92 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 93 +))) 94 +|((( 95 +optionalUserLastName 96 +)))|((( 97 +Optional. Nachname des Benutzers. 98 +))) 99 +|(% colspan="1" %)(% colspan="1" %) 100 +((( 101 +optionalUserFirstName 102 +)))|(% colspan="1" %)(% colspan="1" %) 103 +((( 104 +Optional. Vorname des Benutzers. 105 +))) 106 +|(% colspan="1" %)(% colspan="1" %) 107 +((( 108 +additionalParams 109 +)))|(% colspan="1" %)(% colspan="1" %) 110 +((( 111 +Reserved for future use. 112 +))) 113 + 114 +=== ReturnValue armSite === 115 + 116 +|((( 117 +String 118 +)))|((( 119 +Session ID, mit der alle weiteren Reporter-Aufrufe gekennzeichnet werden müssen. 120 +))) 121 + 122 +== Initialisierung durch LMS == 123 + 124 +{{code language="xml" title="Initialisierung durch LMS"}} 125 +@WebMethod(operationName = „initiateSite") 126 +public String initiateSite( 127 +@WebParam(name = „version") final Integer version, 128 +@WebParam(name = „sessionId") final String sessionId, 129 +@WebParam(name = „secretToShare") final String secretToShare, 130 +@WebParam(name = „students") final ArrayList<ResultsForStudent> students, 131 +@WebParam(name = „optionalContentPackage") final byte[] contentPackage, 132 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 133 +} 134 +{{/code}} 135 + 136 +=== Parameter initiateSite === 137 + 138 +|((( 139 +version 140 +)))|((( 141 +Angefragte Version: 1 142 +))) 143 +|(% colspan="1" %)(% colspan="1" %) 144 +((( 145 +sessionId 146 +)))|(% colspan="1" %)(% colspan="1" %) 147 +((( 148 +SessionId, wie von armSite zurück geliefert. 149 +))) 150 +|((( 151 +secretToShare 152 +)))|((( 153 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 154 +))) 155 +|((( 156 +students 157 +)))|((( 158 +Liste der Studenten mit ihren Resultaten. Siehe unten. 159 +))) 160 +|((( 161 +optionalContentPackage 162 +)))|((( 163 +Optional. Content Package (gezippt) als Byte-Array. 164 +))) 165 +|((( 166 +additionalParams 167 +)))|((( 168 +Reserved for future use. 169 +))) 170 + 171 +=== ReturnValue initiateSite === 172 + 173 +|((( 174 +String 175 +)))|((( 176 +Absolute URL der Reporter-Seite für den IFrame. Dieser ist vom LMS durch die folgenden URL-Parameter anzureichern: 177 + 178 +* sid: Session ID, wie von armSite zurück gegeben 179 +* uid: Student ID, wie in initiateSite beim Reporter angemeldet 180 +))) 181 + 182 +{{code language="xml"}} 183 +public class ResultsForStudent { 184 + private String studentId = „"; 185 + private String firstname = „"; 186 + private String lastname = „"; 187 + private String groupname = „"; 188 + private String tutorname = „"; 189 + private File contentFile = null; 190 + private byte[] resultsFile = null; 191 +} 192 +{{/code}} 193 + 194 +== Abmeldung durch LMS == 195 + 27 27 28 28 198 +{{code}} 199 +@WebMethod(operationName = „disarmSite") 200 +public Boolean disarmSite( 201 +@WebParam(name = „version") final Integer version, 202 +@WebParam(name = „sessionId") final String sessionId, 203 +@WebParam(name = „secretToShare") final String secretToShare, 204 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 205 +} 206 +{{/code}} 207 + 29 29 209 + 210 +=== Parameter disarmSite === 211 + 212 +|((( 213 +version 214 +)))|((( 215 +Angefragte Version: 1 30 30 ))) 31 -|=((( 32 -JIRA 217 +|(% colspan="1" %)(% colspan="1" %) 218 +((( 219 +sessionId 220 +)))|(% colspan="1" %)(% colspan="1" %) 221 +((( 222 +SessionId, wie von armSite zurück geliefert. 223 +))) 224 +|((( 225 +secretToShare 33 33 )))|((( 34 - 227 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 35 35 ))) 229 +|((( 230 +additionalParams 231 +)))|((( 232 +Reserved for future use. 233 +))) 234 + 235 +=== ReturnValue disarmSite === 236 + 237 +|((( 238 +Boolean 239 +)))|((( 240 +True bei Erfolg, sonst false. 241 +))) 242 + 243 +== Abfrage von Lernerresultaten durch LMS == 244 + 245 +{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}} 246 + @WebMethod(operationName = „getResultValues") 247 +public HashMapWrapper getResultValues( 248 + @WebParam(name = „version") final Integer version, 249 + @WebParam(name = „sessionId") final String sessionId, 250 + @WebParam(name = „secretToShare") final String secretToShare, 251 + @WebParam(name = „requestedValues") final HashMap<String, String> 252 + requestedValues, 253 + @WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 254 +} 255 +{{/code}} 256 + 257 +=== Parameter getResultValues === 258 + 259 +|((( 260 +version 261 +)))|((( 262 +Angefragte Version: 1 263 +))) 264 +|(% colspan="1" %)(% colspan="1" %) 265 +((( 266 +sessionId 267 +)))|(% colspan="1" %)(% colspan="1" %) 268 +((( 269 +SessionId, wie von armSite zurück geliefert. 270 +))) 271 +|((( 272 +secretToShare 273 +)))|((( 274 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 275 +))) 276 +|((( 277 +requestedValues 278 +)))|((( 279 +Kann leer sein, dann werden alle Result-Variables zurück geliefert. Sind Keys enthalten, so kommen nur diese zurück. 280 +))) 281 +|((( 282 +additionalParams 283 +)))|((( 284 +Reserved for future use. 285 +))) 286 + 287 +=== ReturnValue getResultValues === 288 + 289 +|((( 290 +HashMap<String, String> 291 +)))|((( 292 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt) 293 +))) 294 + 295 +== Abfrage von Ergebnisvariablen durch LMS == 296 + 297 +{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}} 298 + @WebMethod(operationName = „getResultVariables") 299 +public HashMapWrapper getResultVariables( 300 +@WebParam(name = „version") final Integer version, 301 +@WebParam(name = „contentPackage") final byte[] contentPackage, 302 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 303 +} 304 +{{/code}} 305 + 306 +=== Parameter getResultVariables === 307 + 308 +|((( 309 +version 310 +)))|((( 311 +Angefragte Version: 1 312 +))) 313 +|((( 314 +contentPackage 315 +)))|((( 316 +Content Package (gezippt) als Byte-Array. 317 +))) 318 +|((( 319 +additionalParams 320 +)))|((( 321 +Reserved for future use. 322 +))) 323 + 324 +=== ReturnValue getResultVariables === 325 + 326 +|((( 327 +HashMap<String, String> 328 +)))|((( 329 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt) 330 +))) 331 + 332 +== Wrapper == 333 + 334 +Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden. 335 + 336 +=== Wrapper für die HashMap<String, String> === 337 + 338 +HashMapWrapper.java: 339 + 340 +[[image:attach:HashMapWrapperjava.png]] 341 + 342 +[[image:attach:HashMapWrapperjava2.png]] 343 + 344 +=== Wrapper für die ArrayList<ResultsForStudent> === 345 + 346 +ResultsForStudentsWrapper.java: 347 + 348 +[[image:attach:ResultsForStudentsWrapperjava.png]] 36 36 {{/layout-cell}} 37 37 {{/layout-section}} 38 38 352 +{{layout-section ac:type="two_right_sidebar"}} 353 +{{layout-cell}} 354 + 355 +{{/layout-cell}} 356 + 357 +{{layout-cell}} 358 +====== relevante Links: ====== 359 + 360 +* [[doc:ONYX Player Interface]] 361 +{{/layout-cell}} 362 +{{/layout-section}} 363 +{{/layout}} 364 +{{/sv-translation}} 365 + 366 +{{sv-translation language="en"}} 367 +{{layout}} 368 +{{layout-section ac:type="two_equal"}} 369 +{{layout-cell}} 370 +====== Content: ====== 371 + 372 + 373 + 374 +{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}} 375 +{{/layout-cell}} 376 + 377 +{{layout-cell}} 378 + 379 +{{/layout-cell}} 380 +{{/layout-section}} 381 + 39 39 {{layout-section ac:type="single"}} 40 40 {{layout-cell}} 41 -== Allgemeines==384 +== General information == 42 42 43 - ÜberdieSchnittstellezumONYX WebReporter erfolgtjedeKommunikationzwischendemLMSunddemReporter.DazuerfolgteineReihevonAufrufen:386 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed: 44 44 45 45 |((( 46 46 armSite 47 47 )))|((( 48 - AnmeldungvonFolgerequestsbeimONYX Reporter.391 +Registration of sequence requests at the ONYX Reporter 49 49 ))) 50 50 |((( 51 51 initiateSite 52 52 )))|((( 53 -Initi iertdie Reporter-Session (ÜbertragungdesCPs).396 +Initiates the Reporter session (transmission of the CP). 54 54 ))) 55 55 |((( 56 56 disarmSite 57 57 )))|((( 58 - FreigabevonallenReporter-RessourcenfürdieseSession.401 +Release of all Reporter resources for this session. 59 59 ))) 60 60 |((( 61 61 getResultValues 62 62 )))|((( 63 -Gibt alle bzw. die angeforderten Resultate für den Test zurück. Voraussetzung: 64 - 65 -Es ist nur exakt ein Student in der bei initiateSite übertragenen Liste. 406 +Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite. 66 66 ))) 67 67 |(% colspan="1" %)(% colspan="1" %) 68 68 ((( ... ... @@ -69,12 +69,13 @@ 69 69 getResultVariables 70 70 )))|(% colspan="1" %)(% colspan="1" %) 71 71 ((( 72 - Gibt allebzw. die angefordertenOutcome-VariablenfürdenTestzurück.Hierfürsind keinarmSite, initiateSite oder disarmSiteerforderlich.413 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required. 73 73 ))) 74 74 75 -== AnmeldungdesLMS ==416 +== Login through the LMS == 76 76 77 -{{code title="Anmeldung des LMS" language="xml"}}@WebMethod(operationName = „armSite") 418 +{{code language="xml" title="Login through the LMS"}} 419 +@WebMethod(operationName = „armSite") 78 78 public String armSite( 79 79 @WebParam(name = „version") final Integer version, 80 80 @WebParam(name = „userId") final String userId, ... ... @@ -83,53 +83,289 @@ 83 83 @WebParam(name = „optionalUserLastName") final String userLastName, 84 84 @WebParam(name = „optionalUserFirstName") final String userFirstName, 85 85 @WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 86 -}{{/code}}Parameter armSite 428 +} 429 +{{/code}} 87 87 431 +=== Parameter armSite === 432 + 88 88 |((( 89 - 434 +version 90 90 )))|((( 91 - 436 +Requested version: 1 92 92 ))) 93 93 |((( 94 - 439 +userId 95 95 )))|((( 96 - 441 +UserId of the requested Reporter user 97 97 ))) 98 98 |((( 99 - 444 +optionalRole 100 100 )))|((( 101 - 446 +Optional. User role. 0 = student, 1 = tutor 102 102 ))) 103 103 |((( 104 - 449 +secretToShare 105 105 )))|((( 106 - 451 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 107 107 ))) 108 108 |((( 109 - 454 +optionalUserLastName 110 110 )))|((( 456 +Optional. Last name of the user. 457 +))) 458 +|(% colspan="1" %)(% colspan="1" %) 459 +((( 460 +optionalUserFirstName 461 +)))|(% colspan="1" %)(% colspan="1" %) 462 +((( 463 +Optional. First name of the user. 464 +))) 465 +|(% colspan="1" %)(% colspan="1" %) 466 +((( 467 +additionalParams 468 +)))|(% colspan="1" %)(% colspan="1" %) 469 +((( 470 +Reserved for future use. 471 +))) 472 + 473 +=== ReturnValue armSite === 474 + 475 +|((( 476 +String 477 +)))|((( 478 +Session ID which has to be used to mark any other Reporter call. 479 +))) 480 + 481 +== Initialisation through LMS == 482 + 483 +{{code language="xml" title="Initialisation through LMS"}} 484 +@WebMethod(operationName = „initiateSite") 485 +public String initiateSite( 486 +@WebParam(name = „version") final Integer version, 487 +@WebParam(name = „sessionId") final String sessionId, 488 +@WebParam(name = „secretToShare") final String secretToShare, 489 +@WebParam(name = „students") final ArrayList<ResultsForStudent> students, 490 +@WebParam(name = „optionalContentPackage") final byte[] contentPackage, 491 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 492 +} 493 +{{/code}} 494 + 495 +=== Parameter initiateSite === 496 + 497 +|((( 498 +version 499 +)))|((( 500 +Requested version: 1 501 +))) 502 +|(% colspan="1" %)(% colspan="1" %) 503 +((( 504 +sessionId 505 +)))|(% colspan="1" %)(% colspan="1" %) 506 +((( 507 +SessionId, as returned by armSite. 508 +))) 509 +|((( 510 +secretToShare 511 +)))|((( 512 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 513 +))) 514 +|((( 515 +students 516 +)))|((( 517 +List of students and their results. See below. 518 +))) 519 +|((( 520 +optionalContentPackage 521 +)))|((( 522 +Optional. Content package (zipped) as byte array. 523 +))) 524 +|((( 525 +additionalParams 526 +)))|((( 527 +Reserved for future use. 528 +))) 529 + 530 +=== ReturnValue initiateSite === 531 + 532 +|((( 533 +String 534 +)))|((( 535 +Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters: 536 + 537 +* sid: Session ID, as returned by armSite 538 +* ((( 539 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter 540 +))) 541 +))) 542 + 543 +{{code language="xml"}} 544 +public class ResultsForStudent { 545 + private String studentId = „"; 546 + private String firstname = „"; 547 + private String lastname = „"; 548 + private String groupname = „"; 549 + private String tutorname = „"; 550 + private File contentFile = null; 551 + private byte[] resultsFile = null; 552 +} 553 +{{/code}} 554 + 555 +== Logout through the LMS == 556 + 111 111 558 + 559 +{{code}} 560 +@WebMethod(operationName = „disarmSite") 561 +public Boolean disarmSite( 562 +@WebParam(name = „version") final Integer version, 563 +@WebParam(name = „sessionId") final String sessionId, 564 +@WebParam(name = „secretToShare") final String secretToShare, 565 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 566 +} 567 +{{/code}} 568 + 569 + 570 + 571 +=== Parameter disarmSite === 572 + 573 +|((( 574 +version 575 +)))|((( 576 +Requested version: 1 112 112 ))) 578 +|(% colspan="1" %)(% colspan="1" %) 579 +((( 580 +sessionId 581 +)))|(% colspan="1" %)(% colspan="1" %) 582 +((( 583 +SessionId, as returned by armSite. 584 +))) 585 +|((( 586 +secretToShare 587 +)))|((( 588 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 589 +))) 590 +|((( 591 +additionalParams 592 +)))|((( 593 +Reserved for future use. 594 +))) 113 113 114 -= Überschrift2=596 +=== ReturnValue disarmSite === 115 115 116 -Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetuer. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris. 117 -{{/layout-cell}} 118 -{{/layout-section}} 598 +|((( 599 +Boolean 600 +)))|((( 601 +True in the case of success, otherwise false. 602 +))) 119 119 120 -{{layout-section ac:type="two_right_sidebar"}} 121 -{{layout-cell}} 122 -====== untergeordnete Seiten: ====== 604 +== Request of learner results through the LMS == 123 123 606 +{{code language="xml" title="Request of learner results through the LMS"}} 607 + @WebMethod(operationName = „getResultValues") 608 +public HashMapWrapper getResultValues( 609 + @WebParam(name = „version") final Integer version, 610 + @WebParam(name = „sessionId") final String sessionId, 611 + @WebParam(name = „secretToShare") final String secretToShare, 612 + @WebParam(name = „requestedValues") final HashMap<String, String> 613 + requestedValues, 614 + @WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 615 +} 616 +{{/code}} 124 124 618 +=== Parameter getResultValues === 125 125 126 -{{children all="true"/}} 127 -{{/layout-cell}} 620 +|((( 621 +version 622 +)))|((( 623 +Requested version: 1 624 +))) 625 +|(% colspan="1" %)(% colspan="1" %) 626 +((( 627 +sessionId 628 +)))|(% colspan="1" %)(% colspan="1" %) 629 +((( 630 +SessionId, as returned by armSite. 631 +))) 632 +|((( 633 +secretToShare 634 +)))|((( 635 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 636 +))) 637 +|((( 638 +requestedValues 639 +)))|((( 640 +Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned. 641 +))) 642 +|((( 643 +additionalParams 644 +)))|((( 645 +Reserved for future use. 646 +))) 128 128 129 -{{layout-cell}} 130 -====== relevante Links: ====== 648 +=== ReturnValue getResultValues === 131 131 132 -* [[lorem ipsum>>url:https://www.bps-system.de/help/display/OPAL/Handbuch+OPAL||shape="rect"]] 650 +|((( 651 +HashMap<String, String> 652 +)))|((( 653 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped) 654 +))) 655 + 656 +== Request of result variables through the LMS == 657 + 658 +{{code language="xml" title="Request of result variables through the LMS"}} 659 + @WebMethod(operationName = „getResultVariables") 660 +public HashMapWrapper getResultVariables( 661 +@WebParam(name = „version") final Integer version, 662 +@WebParam(name = „contentPackage") final byte[] contentPackage, 663 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 664 +} 665 +{{/code}} 666 + 667 +=== Parameter getResultVariables === 668 + 669 +|((( 670 +version 671 +)))|((( 672 +Requested version: 1 673 +))) 674 +|((( 675 +contentPackage 676 +)))|((( 677 +Content package (zipped) as byte array. 678 +))) 679 +|((( 680 +additionalParams 681 +)))|((( 682 +Reserved for future use. 683 +))) 684 + 685 +=== ReturnValue getResultVariables === 686 + 687 +|((( 688 +HashMap<String, String> 689 +)))|((( 690 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped) 691 +))) 692 + 693 +== Wrapper == 694 + 695 +Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped. 696 + 697 +=== Wrapper for HashMap<String, String> === 698 + 699 +HashMapWrapper.java: 700 + 701 +[[image:attach:HashMapWrapperjava.png]] 702 + 703 +[[image:attach:HashMapWrapperjava2.png]] 704 + 705 +=== Wrapper for the ArrayList<ResultsForStudent> === 706 + 707 +ResultsForStudentsWrapper.java: 708 + 709 +[[image:attach:ResultsForStudentsWrapperjava.png]] 133 133 {{/layout-cell}} 134 134 {{/layout-section}} 135 135 {{/layout}} 713 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 33423921 +226231103 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 3342392/Schnittstelle ONYX Reporter1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/226231103/Schnittstelle ONYX Reporter