Ä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 238.1
bearbeitet von Carina Enke
am 19.05.2020
am 19.05.2020
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 9.0.
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,41 +1,105 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 -{{layout-section ac:type=" two_right_sidebar"}}3 +{{layout-section ac:type="single"}} 3 3 {{layout-cell}} 4 -====== Inhalt: ====== 5 5 6 6 7 +{{details}} 8 +(% class="wrapped" %) 9 +|=((( 10 +Verantwortlicher 11 +)))|((( 12 +\\ 13 +))) 14 +|=(% colspan="1" %)(% colspan="1" %) 15 +((( 16 +Status 17 +)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %) 18 +((( 19 +(% class="content-wrapper" %) 20 +((( 21 +{{sv-metadata type="workflow-status"/}} 7 7 8 -{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}} 9 -{{/layout-cell}} 10 - 11 -{{layout-cell}} 23 +{{status colour="Green" title="Fertig"/}} 24 +))) 25 +))) 12 12 |=(% colspan="1" %)(% colspan="1" %) 13 13 ((( 14 - Programmversion28 +Varianten 15 15 )))|(% colspan="1" %)(% colspan="1" %) 16 16 ((( 17 - 31 +(% class="content-wrapper" %) 32 +((( 33 +{{sv-metadata type="variants"/}} 18 18 ))) 19 -|=((( 20 -Status 21 -)))|((( 22 -(% class="status-macro aui-lozenge aui-lozenge-error" %)ENTWURF 23 23 ))) 24 -|=((( 25 -Aufgaben 26 -)))|((( 27 - 36 +|=(% colspan="1" %)(% colspan="1" %) 37 +((( 38 +Attribute 39 +)))|(% colspan="1" %)(% colspan="1" %) 40 +((( 41 +(% class="content-wrapper" %) 42 +((( 43 +{{sv-metadata type="attributes"/}} 44 +))) 45 +))) 46 +|=(% colspan="1" %)(% colspan="1" %) 47 +((( 48 +Pagekey 49 +)))|(% colspan="1" %)(% colspan="1" %) 50 +((( 51 +(% class="content-wrapper" %) 52 +((( 53 +{{sv-metadata type="pagekey"/}} 54 +))) 55 +))) 56 +|=(% colspan="1" %)(% colspan="1" %) 57 +((( 58 +Übersetzung 59 +)))|(% colspan="1" %)(% colspan="1" %) 60 +((( 61 +(% class="content-wrapper" %) 62 +((( 63 + ONYX Reporter interface 28 28 29 - 65 +{{status colour="Green" title="Fertig"/}} 30 30 ))) 31 -|=((( 32 -JIRA 33 -)))|((( 34 - 35 35 ))) 68 +|=(% colspan="1" %)(% colspan="1" %) 69 +((( 70 +TODOs 71 +)))|(% colspan="1" %)(% colspan="1" %) 72 +((( 73 +(% class="content-wrapper" %) 74 +((( 75 +(% class="task-list" %) 76 +((( 77 +{{task reference="/Tasks/Task_9" status="Done"}} 78 +carina {{mention reference="XWiki.0a49950f5c0f19a8015c101b60e10001" style="FULL_NAME" anchor="XWiki-0a49950f5c0f19a8015c101b60e10001-ysSwd"/}}: Übersetzung offen 79 +{{/task}} 80 +))) 81 +))) 82 +))) 83 +{{/details}} 36 36 {{/layout-cell}} 37 37 {{/layout-section}} 38 38 87 +{{layout-section ac:type="two_right_sidebar"}} 88 +{{layout-cell}} 89 +\\ 90 +{{/layout-cell}} 91 + 92 +{{layout-cell}} 93 +{{scroll-ignore}} 94 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 95 + 96 + 97 +{{toc/}} 98 +{{/panel}} 99 +{{/scroll-ignore}} 100 +{{/layout-cell}} 101 +{{/layout-section}} 102 + 39 39 {{layout-section ac:type="single"}} 40 40 {{layout-cell}} 41 41 == Allgemeines == ... ... @@ -42,6 +42,7 @@ 42 42 43 43 Über die Schnittstelle zum ONYX WebReporter erfolgt jede Kommunikation zwischen dem LMS und dem Reporter. Dazu erfolgt eine Reihe von Aufrufen: 44 44 109 +(% class="wrapped" %) 45 45 |((( 46 46 armSite 47 47 )))|((( ... ... @@ -60,9 +60,7 @@ 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. 128 +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. 66 66 ))) 67 67 |(% colspan="1" %)(% colspan="1" %) 68 68 ((( ... ... @@ -74,7 +74,8 @@ 74 74 75 75 == Anmeldung des LMS == 76 76 77 -{{code title="Anmeldung des LMS" language="xml"}}@WebMethod(operationName = „armSite") 140 +{{code language="xml" title="Anmeldung des LMS"}} 141 +@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,658 @@ 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 150 +} 151 +{{/code}} 87 87 153 +=== Parameter armSite === 154 + 155 +(% class="wrapped" %) 88 88 |((( 89 - 157 +version 90 90 )))|((( 91 - 159 +Angefragte Version: 1 92 92 ))) 93 93 |((( 94 - 162 +userId 95 95 )))|((( 96 - 164 +UserId des anfragenden Reporter-Benutzers 97 97 ))) 98 98 |((( 99 - 167 +optionalRole 100 100 )))|((( 101 - 169 +Optional. Rolle des Benutzers. 0 = Student, 1= Tutor 102 102 ))) 103 103 |((( 104 - 172 +secretToShare 105 105 )))|((( 106 - 174 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 107 107 ))) 108 108 |((( 109 - 177 +optionalUserLastName 110 110 )))|((( 111 - 179 +Optional. Nachname des Benutzers. 112 112 ))) 181 +|(% colspan="1" %)(% colspan="1" %) 182 +((( 183 +optionalUserFirstName 184 +)))|(% colspan="1" %)(% colspan="1" %) 185 +((( 186 +Optional. Vorname des Benutzers. 187 +))) 188 +|(% colspan="1" %)(% colspan="1" %) 189 +((( 190 +additionalParams 191 +)))|(% colspan="1" %)(% colspan="1" %) 192 +((( 193 +Reserved for future use. 194 +))) 113 113 114 -= Überschrift2=196 +=== ReturnValue armSite === 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. 198 +(% class="wrapped" %) 199 +|((( 200 +String 201 +)))|((( 202 +Session ID, mit der alle weiteren Reporter-Aufrufe gekennzeichnet werden müssen. 203 +))) 204 + 205 +== Initialisierung durch LMS == 206 + 207 +{{code language="xml" title="Initialisierung durch LMS"}} 208 +@WebMethod(operationName = „initiateSite") 209 +public String initiateSite( 210 +@WebParam(name = „version") final Integer version, 211 +@WebParam(name = „sessionId") final String sessionId, 212 +@WebParam(name = „secretToShare") final String secretToShare, 213 +@WebParam(name = „students") final ArrayList<ResultsForStudent> students, 214 +@WebParam(name = „optionalContentPackage") final byte[] contentPackage, 215 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 216 +} 217 +{{/code}} 218 + 219 +=== Parameter initiateSite === 220 + 221 +(% class="wrapped" %) 222 +|((( 223 +version 224 +)))|((( 225 +Angefragte Version: 1 226 +))) 227 +|(% colspan="1" %)(% colspan="1" %) 228 +((( 229 +sessionId 230 +)))|(% colspan="1" %)(% colspan="1" %) 231 +((( 232 +SessionId, wie von armSite zurück geliefert. 233 +))) 234 +|((( 235 +secretToShare 236 +)))|((( 237 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 238 +))) 239 +|((( 240 +students 241 +)))|((( 242 +Liste der Studenten mit ihren Resultaten. Siehe unten. 243 +))) 244 +|((( 245 +optionalContentPackage 246 +)))|((( 247 +Optional. Content Package (gezippt) als Byte-Array. 248 +))) 249 +|((( 250 +additionalParams 251 +)))|((( 252 +Reserved for future use. 253 +))) 254 + 255 +=== ReturnValue initiateSite === 256 + 257 +(% class="wrapped" %) 258 +|((( 259 +String 260 +)))|((( 261 +Absolute URL der Reporter-Seite für den IFrame. Dieser ist vom LMS durch die folgenden URL-Parameter anzureichern: 262 + 263 +* sid: Session ID, wie von armSite zurück gegeben 264 +* uid: Student ID, wie in initiateSite beim Reporter angemeldet 265 +))) 266 + 267 +{{code language="xml"}} 268 +public class ResultsForStudent { 269 + private String studentId = „"; 270 + private String firstname = „"; 271 + private String lastname = „"; 272 + private String groupname = „"; 273 + private String tutorname = „"; 274 + private File contentFile = null; 275 + private byte[] resultsFile = null; 276 +} 277 +{{/code}} 278 + 279 +== Abmeldung durch LMS == 280 + 281 +\\ 282 + 283 +{{code}} 284 +@WebMethod(operationName = „disarmSite") 285 +public Boolean disarmSite( 286 +@WebParam(name = „version") final Integer version, 287 +@WebParam(name = „sessionId") final String sessionId, 288 +@WebParam(name = „secretToShare") final String secretToShare, 289 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 290 +} 291 +{{/code}} 292 + 293 +\\ 294 + 295 +=== Parameter disarmSite === 296 + 297 +(% class="wrapped" %) 298 +|((( 299 +version 300 +)))|((( 301 +Angefragte Version: 1 302 +))) 303 +|(% colspan="1" %)(% colspan="1" %) 304 +((( 305 +sessionId 306 +)))|(% colspan="1" %)(% colspan="1" %) 307 +((( 308 +SessionId, wie von armSite zurück geliefert. 309 +))) 310 +|((( 311 +secretToShare 312 +)))|((( 313 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 314 +))) 315 +|((( 316 +additionalParams 317 +)))|((( 318 +Reserved for future use. 319 +))) 320 + 321 +=== ReturnValue disarmSite === 322 + 323 +(% class="wrapped" %) 324 +|((( 325 +Boolean 326 +)))|((( 327 +True bei Erfolg, sonst false. 328 +))) 329 + 330 +== Abfrage von Lernerresultaten durch LMS == 331 + 332 +{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}} 333 + @WebMethod(operationName = „getResultValues") 334 +public HashMapWrapper getResultValues( 335 + @WebParam(name = „version") final Integer version, 336 + @WebParam(name = „sessionId") final String sessionId, 337 + @WebParam(name = „secretToShare") final String secretToShare, 338 + @WebParam(name = „requestedValues") final HashMap<String, String> 339 + requestedValues, 340 + @WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 341 +} 342 +{{/code}} 343 + 344 +=== Parameter getResultValues === 345 + 346 +(% class="wrapped" %) 347 +|((( 348 +version 349 +)))|((( 350 +Angefragte Version: 1 351 +))) 352 +|(% colspan="1" %)(% colspan="1" %) 353 +((( 354 +sessionId 355 +)))|(% colspan="1" %)(% colspan="1" %) 356 +((( 357 +SessionId, wie von armSite zurück geliefert. 358 +))) 359 +|((( 360 +secretToShare 361 +)))|((( 362 +Ein geheimer String, mit dessen Hilfe Server und Client ihre Kommunikation verschlüsseln. Muss bei jeder weiteren Kommunikation gleich bleiben. 363 +))) 364 +|((( 365 +requestedValues 366 +)))|((( 367 +Kann leer sein, dann werden alle Result-Variables zurück geliefert. Sind Keys enthalten, so kommen nur diese zurück. 368 +))) 369 +|((( 370 +additionalParams 371 +)))|((( 372 +Reserved for future use. 373 +))) 374 + 375 +=== ReturnValue getResultValues === 376 + 377 +(% class="wrapped" %) 378 +|((( 379 +HashMap<String, String> 380 +)))|((( 381 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt) 382 +))) 383 + 384 +== Abfrage von Ergebnisvariablen durch LMS == 385 + 386 +{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}} 387 + @WebMethod(operationName = „getResultVariables") 388 +public HashMapWrapper getResultVariables( 389 +@WebParam(name = „version") final Integer version, 390 +@WebParam(name = „contentPackage") final byte[] contentPackage, 391 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 392 +} 393 +{{/code}} 394 + 395 +=== Parameter getResultVariables === 396 + 397 +(% class="wrapped" %) 398 +|((( 399 +version 400 +)))|((( 401 +Angefragte Version: 1 402 +))) 403 +|((( 404 +contentPackage 405 +)))|((( 406 +Content Package (gezippt) als Byte-Array. 407 +))) 408 +|((( 409 +additionalParams 410 +)))|((( 411 +Reserved for future use. 412 +))) 413 + 414 +=== ReturnValue getResultVariables === 415 + 416 +(% class="wrapped" %) 417 +|((( 418 +HashMap<String, String> 419 +)))|((( 420 +Map der Result-Variables, Key ist der Variablenname, Value der jeweilige Wert (HashMap ist gewrappt) 421 +))) 422 + 423 +== Wrapper == 424 + 425 +Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden. 426 + 427 +=== Wrapper für die HashMap<String, String> === 428 + 429 +HashMapWrapper.java: 430 + 431 +[[image:attach:HashMapWrapperjava.png]] 432 + 433 +[[image:attach:HashMapWrapperjava2.png]] 434 + 435 +=== Wrapper für die ArrayList<ResultsForStudent> === 436 + 437 +ResultsForStudentsWrapper.java: 438 + 439 +[[image:attach:ResultsForStudentsWrapperjava.png]] 117 117 {{/layout-cell}} 118 118 {{/layout-section}} 119 119 120 120 {{layout-section ac:type="two_right_sidebar"}} 121 121 {{layout-cell}} 122 -====== untergeordnete Seiten: ====== 445 +\\ 446 +{{/layout-cell}} 123 123 448 +{{layout-cell}} 449 +====== relevante Links: ====== 124 124 451 +* [[doc:ONYX Player Interface]] 452 +{{/layout-cell}} 453 +{{/layout-section}} 454 +{{/layout}} 455 +{{/sv-translation}} 125 125 126 -{{children all="true"/}} 457 +{{sv-translation language="en"}} 458 +{{layout}} 459 +{{layout-section ac:type="two_equal"}} 460 +{{layout-cell}} 461 +====== Content: ====== 462 + 463 + 464 + 465 +{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}} 127 127 {{/layout-cell}} 128 128 129 129 {{layout-cell}} 130 -====== relevante Links: ====== 469 + 470 +{{/layout-cell}} 471 +{{/layout-section}} 131 131 132 -* [[lorem ipsum>>url:https://www.bps-system.de/help/display/OPAL/Handbuch+OPAL||shape="rect"]] 473 +{{layout-section ac:type="single"}} 474 +{{layout-cell}} 475 +== General information == 476 + 477 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed: 478 + 479 +|((( 480 +armSite 481 +)))|((( 482 +Registration of sequence requests at the ONYX Reporter 483 +))) 484 +|((( 485 +initiateSite 486 +)))|((( 487 +Initiates the Reporter session (transmission of the CP). 488 +))) 489 +|((( 490 +disarmSite 491 +)))|((( 492 +Release of all Reporter resources for this session. 493 +))) 494 +|((( 495 +getResultValues 496 +)))|((( 497 +Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite. 498 +))) 499 +|(% colspan="1" %)(% colspan="1" %) 500 +((( 501 +getResultVariables 502 +)))|(% colspan="1" %)(% colspan="1" %) 503 +((( 504 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required. 505 +))) 506 + 507 +== Login through the LMS == 508 + 509 +{{code language="xml" title="Login through the LMS"}} 510 +@WebMethod(operationName = „armSite") 511 +public String armSite( 512 +@WebParam(name = „version") final Integer version, 513 +@WebParam(name = „userId") final String userId, 514 +@WebParam(name = „optionalRole") final Integer role, 515 +@WebParam(name = „secretToShare") final String secretToShare, 516 +@WebParam(name = „optionalUserLastName") final String userLastName, 517 +@WebParam(name = „optionalUserFirstName") final String userFirstName, 518 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 519 +} 520 +{{/code}} 521 + 522 +=== Parameter armSite === 523 + 524 +|((( 525 +version 526 +)))|((( 527 +Requested version: 1 528 +))) 529 +|((( 530 +userId 531 +)))|((( 532 +UserId of the requested Reporter user 533 +))) 534 +|((( 535 +optionalRole 536 +)))|((( 537 +Optional. User role. 0 = student, 1 = tutor 538 +))) 539 +|((( 540 +secretToShare 541 +)))|((( 542 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 543 +))) 544 +|((( 545 +optionalUserLastName 546 +)))|((( 547 +Optional. Last name of the user. 548 +))) 549 +|(% colspan="1" %)(% colspan="1" %) 550 +((( 551 +optionalUserFirstName 552 +)))|(% colspan="1" %)(% colspan="1" %) 553 +((( 554 +Optional. First name of the user. 555 +))) 556 +|(% colspan="1" %)(% colspan="1" %) 557 +((( 558 +additionalParams 559 +)))|(% colspan="1" %)(% colspan="1" %) 560 +((( 561 +Reserved for future use. 562 +))) 563 + 564 +=== ReturnValue armSite === 565 + 566 +|((( 567 +String 568 +)))|((( 569 +Session ID which has to be used to mark any other Reporter call. 570 +))) 571 + 572 +== Initialisation through LMS == 573 + 574 +{{code language="xml" title="Initialisation through LMS"}} 575 +@WebMethod(operationName = „initiateSite") 576 +public String initiateSite( 577 +@WebParam(name = „version") final Integer version, 578 +@WebParam(name = „sessionId") final String sessionId, 579 +@WebParam(name = „secretToShare") final String secretToShare, 580 +@WebParam(name = „students") final ArrayList<ResultsForStudent> students, 581 +@WebParam(name = „optionalContentPackage") final byte[] contentPackage, 582 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 583 +} 584 +{{/code}} 585 + 586 +=== Parameter initiateSite === 587 + 588 +|((( 589 +version 590 +)))|((( 591 +Requested version: 1 592 +))) 593 +|(% colspan="1" %)(% colspan="1" %) 594 +((( 595 +sessionId 596 +)))|(% colspan="1" %)(% colspan="1" %) 597 +((( 598 +SessionId, as returned by armSite. 599 +))) 600 +|((( 601 +secretToShare 602 +)))|((( 603 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 604 +))) 605 +|((( 606 +students 607 +)))|((( 608 +List of students and their results. See below. 609 +))) 610 +|((( 611 +optionalContentPackage 612 +)))|((( 613 +Optional. Content package (zipped) as byte array. 614 +))) 615 +|((( 616 +additionalParams 617 +)))|((( 618 +Reserved for future use. 619 +))) 620 + 621 +=== ReturnValue initiateSite === 622 + 623 +|((( 624 +String 625 +)))|((( 626 +Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters: 627 + 628 +* sid: Session ID, as returned by armSite 629 +* ((( 630 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter 631 +))) 632 +))) 633 + 634 +{{code language="xml"}} 635 +public class ResultsForStudent { 636 + private String studentId = „"; 637 + private String firstname = „"; 638 + private String lastname = „"; 639 + private String groupname = „"; 640 + private String tutorname = „"; 641 + private File contentFile = null; 642 + private byte[] resultsFile = null; 643 +} 644 +{{/code}} 645 + 646 +== Logout through the LMS == 647 + 648 + 649 + 650 +{{code}} 651 +@WebMethod(operationName = „disarmSite") 652 +public Boolean disarmSite( 653 +@WebParam(name = „version") final Integer version, 654 +@WebParam(name = „sessionId") final String sessionId, 655 +@WebParam(name = „secretToShare") final String secretToShare, 656 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 657 +} 658 +{{/code}} 659 + 660 + 661 + 662 +=== Parameter disarmSite === 663 + 664 +|((( 665 +version 666 +)))|((( 667 +Requested version: 1 668 +))) 669 +|(% colspan="1" %)(% colspan="1" %) 670 +((( 671 +sessionId 672 +)))|(% colspan="1" %)(% colspan="1" %) 673 +((( 674 +SessionId, as returned by armSite. 675 +))) 676 +|((( 677 +secretToShare 678 +)))|((( 679 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 680 +))) 681 +|((( 682 +additionalParams 683 +)))|((( 684 +Reserved for future use. 685 +))) 686 + 687 +=== ReturnValue disarmSite === 688 + 689 +|((( 690 +Boolean 691 +)))|((( 692 +True in the case of success, otherwise false. 693 +))) 694 + 695 +== Request of learner results through the LMS == 696 + 697 +{{code language="xml" title="Request of learner results through the LMS"}} 698 + @WebMethod(operationName = „getResultValues") 699 +public HashMapWrapper getResultValues( 700 + @WebParam(name = „version") final Integer version, 701 + @WebParam(name = „sessionId") final String sessionId, 702 + @WebParam(name = „secretToShare") final String secretToShare, 703 + @WebParam(name = „requestedValues") final HashMap<String, String> 704 + requestedValues, 705 + @WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 706 +} 707 +{{/code}} 708 + 709 +=== Parameter getResultValues === 710 + 711 +|((( 712 +version 713 +)))|((( 714 +Requested version: 1 715 +))) 716 +|(% colspan="1" %)(% colspan="1" %) 717 +((( 718 +sessionId 719 +)))|(% colspan="1" %)(% colspan="1" %) 720 +((( 721 +SessionId, as returned by armSite. 722 +))) 723 +|((( 724 +secretToShare 725 +)))|((( 726 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication. 727 +))) 728 +|((( 729 +requestedValues 730 +)))|((( 731 +Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned. 732 +))) 733 +|((( 734 +additionalParams 735 +)))|((( 736 +Reserved for future use. 737 +))) 738 + 739 +=== ReturnValue getResultValues === 740 + 741 +|((( 742 +HashMap<String, String> 743 +)))|((( 744 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped) 745 +))) 746 + 747 +== Request of result variables through the LMS == 748 + 749 +{{code language="xml" title="Request of result variables through the LMS"}} 750 + @WebMethod(operationName = „getResultVariables") 751 +public HashMapWrapper getResultVariables( 752 +@WebParam(name = „version") final Integer version, 753 +@WebParam(name = „contentPackage") final byte[] contentPackage, 754 +@WebParam(name = „additionalParams") final HashMapWrapper additionalParams) { 755 +} 756 +{{/code}} 757 + 758 +=== Parameter getResultVariables === 759 + 760 +|((( 761 +version 762 +)))|((( 763 +Requested version: 1 764 +))) 765 +|((( 766 +contentPackage 767 +)))|((( 768 +Content package (zipped) as byte array. 769 +))) 770 +|((( 771 +additionalParams 772 +)))|((( 773 +Reserved for future use. 774 +))) 775 + 776 +=== ReturnValue getResultVariables === 777 + 778 +|((( 779 +HashMap<String, String> 780 +)))|((( 781 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped) 782 +))) 783 + 784 +== Wrapper == 785 + 786 +Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped. 787 + 788 +=== Wrapper for HashMap<String, String> === 789 + 790 +HashMapWrapper.java: 791 + 792 +[[image:attach:HashMapWrapperjava.png]] 793 + 794 +[[image:attach:HashMapWrapperjava2.png]] 795 + 796 +=== Wrapper for the ArrayList<ResultsForStudent> === 797 + 798 +ResultsForStudentsWrapper.java: 799 + 800 +[[image:attach:ResultsForStudentsWrapperjava.png]] 133 133 {{/layout-cell}} 134 134 {{/layout-section}} 135 135 {{/layout}} 804 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -334 23921 +337413507 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/334 2392/Schnittstelle ONYX Reporter1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/337413507/Schnittstelle ONYX Reporter