Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 381.1
bearbeitet von sandra_riediger
am 17.12.2014
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 340.1
bearbeitet von Carina Enke
am 15.10.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.12.

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.sandra_riediger
1 +XWiki.carina
Inhalt
... ... @@ -1,5 +1,16 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 +{{layout-section ac:type="single"}}
4 +{{layout-cell}}
5 +
6 +
7 +(% class="removedPlaceholderWrapper" %)
8 +
9 +
10 +
11 +{{/layout-cell}}
12 +{{/layout-section}}
13 +
3 3  {{layout-section ac:type="two_right_sidebar"}}
4 4  {{layout-cell}}
5 5  ====== Inhalt: ======
... ... @@ -6,34 +6,11 @@
6 6  
7 7  
8 8  
9 -{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
20 +{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
10 10  {{/layout-cell}}
11 11  
12 12  {{layout-cell}}
13 -|=(% colspan="1" %)(% colspan="1" %)
14 -(((
15 -Programmversion
16 -)))|(% colspan="1" %)(% colspan="1" %)
17 -(((
18 18  
19 -)))
20 -|=(((
21 -Status
22 -)))|(((
23 -(% class="status-macro aui-lozenge aui-lozenge-error" %)ENTWURF
24 -)))
25 -|=(((
26 -Aufgaben
27 -)))|(((
28 -
29 -
30 -
31 -)))
32 -|=(((
33 -JIRA
34 -)))|(((
35 -
36 -)))
37 37  {{/layout-cell}}
38 38  {{/layout-section}}
39 39  
... ... @@ -73,7 +73,7 @@
73 73  
74 74  == Anmeldung des LMS ==
75 75  
76 -{{code title="Anmeldung des LMS" language="xml"}}
64 +{{code language="xml" title="Anmeldung des LMS"}}
77 77  @WebMethod(operationName = „armSite")
78 78  public String armSite(
79 79  @WebParam(name = „version") final Integer version,
... ... @@ -138,7 +138,7 @@
138 138  
139 139  == Initialisierung durch LMS ==
140 140  
141 -{{code title="Initialisierung durch LMS" language="xml"}}
129 +{{code language="xml" title="Initialisierung durch LMS"}}
142 142  @WebMethod(operationName = „initiateSite")
143 143  public String initiateSite(
144 144  @WebParam(name = „version") final Integer version,
... ... @@ -259,7 +259,7 @@
259 259  
260 260  == Abfrage von Lernerresultaten durch LMS ==
261 261  
262 -{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
250 +{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
263 263   @WebMethod(operationName = „getResultValues")
264 264  public HashMapWrapper getResultValues(
265 265   @WebParam(name = „version") final Integer version,
... ... @@ -311,7 +311,7 @@
311 311  
312 312  == Abfrage von Ergebnisvariablen durch LMS ==
313 313  
314 -{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
302 +{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
315 315   @WebMethod(operationName = „getResultVariables")
316 316  public HashMapWrapper getResultVariables(
317 317  @WebParam(name = „version") final Integer version,
... ... @@ -348,7 +348,7 @@
348 348  
349 349  == Wrapper ==
350 350  
351 -Da die Übertragung von Maps und Listen über JAX-WS Probleme macht (clientseitig gefüllte Listen werden leer über den WS versandt und kommen daher auch leer serverseitig an), müssen diese gewrappt werden.
339 +Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden.
352 352  
353 353  === Wrapper für die HashMap<String, String> ===
354 354  
... ... @@ -374,7 +374,7 @@
374 374  {{layout-cell}}
375 375  ====== relevante Links: ======
376 376  
377 -* [[doc:Schnittstelle ONYX WebPlayer]]
365 +* [[doc:ONYX Player Interface]]
378 378  {{/layout-cell}}
379 379  {{/layout-section}}
380 380  {{/layout}}
... ... @@ -388,7 +388,7 @@
388 388  
389 389  
390 390  
391 -{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
379 +{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
392 392  {{/layout-cell}}
393 393  
394 394  {{layout-cell}}
... ... @@ -398,31 +398,29 @@
398 398  
399 399  {{layout-section ac:type="single"}}
400 400  {{layout-cell}}
401 -
389 +== General information ==
402 402  
403 -== General ==
391 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
404 404  
405 -The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed:
406 -
407 407  |(((
408 408  armSite
409 409  )))|(((
410 -Registration of sequence requests at the ONYX reporter
396 +Registration of sequence requests at the ONYX Reporter
411 411  )))
412 412  |(((
413 413  initiateSite
414 414  )))|(((
415 -Initiates the reporter session (transmission of the CP).
401 +Initiates the Reporter session (transmission of the CP).
416 416  )))
417 417  |(((
418 418  disarmSite
419 419  )))|(((
420 -Release of all reporter resources for this session.
406 +Release of all Reporter resources for this session.
421 421  )))
422 422  |(((
423 423  getResultValues
424 424  )))|(((
425 -Returns all or all requested results for the test. Condition: there is exactly one student in list transmitted in the initiateSite.
411 +Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite.
426 426  )))
427 427  |(% colspan="1" %)(% colspan="1" %)
428 428  (((
... ... @@ -429,12 +429,12 @@
429 429  getResultVariables
430 430  )))|(% colspan="1" %)(% colspan="1" %)
431 431  (((
432 -Returns all or all requested outcome variables for the test. No armSite, initiateSite or disarmSite is necessary.
418 +Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
433 433  )))
434 434  
435 -== Connection to the LMS ==
421 +== Login through the LMS ==
436 436  
437 -{{code title="Anmeldung des LMS" language="xml"}}
423 +{{code language="xml" title="Login through the LMS"}}
438 438  @WebMethod(operationName = „armSite")
439 439  public String armSite(
440 440  @WebParam(name = „version") final Integer version,
... ... @@ -457,22 +457,22 @@
457 457  |(((
458 458  userId
459 459  )))|(((
460 -UserId of the requested reporter user
446 +UserId of the requested Reporter user
461 461  )))
462 462  |(((
463 463  optionalRole
464 464  )))|(((
465 -Optional. User role. 0=student, 1=tutor
451 +Optional. User role. 0 = student, 1 = tutor
466 466  )))
467 467  |(((
468 468  secretToShare
469 469  )))|(((
470 -Shared secret. Has to remain identical for every communication.
456 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
471 471  )))
472 472  |(((
473 473  optionalUserLastName
474 474  )))|(((
475 -Optional. User lastname.
461 +Optional. Last name of the user.
476 476  )))
477 477  |(% colspan="1" %)(% colspan="1" %)
478 478  (((
... ... @@ -479,7 +479,7 @@
479 479  optionalUserFirstName
480 480  )))|(% colspan="1" %)(% colspan="1" %)
481 481  (((
482 -Optional. User firstname.
468 +Optional. First name of the user.
483 483  )))
484 484  |(% colspan="1" %)(% colspan="1" %)
485 485  (((
... ... @@ -494,12 +494,12 @@
494 494  |(((
495 495  String
496 496  )))|(((
497 -Session ID that has to be used to mark any further reporter call.
483 +Session ID which has to be used to mark any other Reporter call.
498 498  )))
499 499  
500 500  == Initialisation through LMS ==
501 501  
502 -{{code title="Initialisierung durch LMS" language="xml"}}
488 +{{code language="xml" title="Initialisation through LMS"}}
503 503  @WebMethod(operationName = „initiateSite")
504 504  public String initiateSite(
505 505  @WebParam(name = „version") final Integer version,
... ... @@ -528,17 +528,17 @@
528 528  |(((
529 529  secretToShare
530 530  )))|(((
531 -Shared secret. Has to remain identical at every communication.
517 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
532 532  )))
533 533  |(((
534 534  students
535 535  )))|(((
536 -List of students with their results. See below.
522 +List of students and their results. See below.
537 537  )))
538 538  |(((
539 539  optionalContentPackage
540 540  )))|(((
541 -Optional. Content Package (zipped) as byte array.
527 +Optional. Content package (zipped) as byte array.
542 542  )))
543 543  |(((
544 544  additionalParams
... ... @@ -551,11 +551,11 @@
551 551  |(((
552 552  String
553 553  )))|(((
554 -Absolute URL of the reporter site for the frame. It has to be enriched by the LMS with the following URLparameters:
540 +Absolute URL of the Reporter site for the IFrame. The URL has to be amended by the LMS with the following URL parameters:
555 555  
556 -* sid: Session ID as returned by armSite
542 +* sid: Session ID, as returned by armSite
557 557  * (((
558 -uid: Student ID as registrated in the initiateSite at the ONYX Reporter.
544 +uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
559 559  )))
560 560  )))
561 561  
... ... @@ -571,7 +571,7 @@
571 571  }
572 572  {{/code}}
573 573  
574 -== Deconnection through the LMS ==
560 +== Logout through the LMS ==
575 575  
576 576  
577 577  
... ... @@ -604,7 +604,7 @@
604 604  |(((
605 605  secretToShare
606 606  )))|(((
607 -Shared secret. Has to remain identical at every communication.
593 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
608 608  )))
609 609  |(((
610 610  additionalParams
... ... @@ -617,12 +617,12 @@
617 617  |(((
618 618  Boolean
619 619  )))|(((
620 -True if successful, otherwise false.
606 +True in the case of success, otherwise false.
621 621  )))
622 622  
623 -== Request of learning results through the LMS ==
609 +== Request of learner results through the LMS ==
624 624  
625 -{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
611 +{{code language="xml" title="Request of learner results through the LMS"}}
626 626   @WebMethod(operationName = „getResultValues")
627 627  public HashMapWrapper getResultValues(
628 628   @WebParam(name = „version") final Integer version,
... ... @@ -651,12 +651,12 @@
651 651  |(((
652 652  secretToShare
653 653  )))|(((
654 -Shared secret. Has to remain identical at every communication.
640 +A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
655 655  )))
656 656  |(((
657 657  requestedValues
658 658  )))|(((
659 -Can be empty, thus all result variables will be returned. If it contains keys, only those will be returned.
645 +Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned.
660 660  )))
661 661  |(((
662 662  additionalParams
... ... @@ -669,12 +669,12 @@
669 669  |(((
670 670  HashMap<String, String>
671 671  )))|(((
672 -Map of result variables, key is the variable name, value the corresponding value (HashMap is wrapped)
658 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
673 673  )))
674 674  
675 675  == Request of result variables through the LMS ==
676 676  
677 -{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
663 +{{code language="xml" title="Request of result variables through the LMS"}}
678 678   @WebMethod(operationName = „getResultVariables")
679 679  public HashMapWrapper getResultVariables(
680 680  @WebParam(name = „version") final Integer version,
... ... @@ -706,13 +706,12 @@
706 706  |(((
707 707  HashMap<String, String>
708 708  )))|(((
709 -Map of result variables, key is the variable name, value the corresponding
710 -value (HashMap is wrapped).
695 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
711 711  )))
712 712  
713 713  == Wrapper ==
714 714  
715 -As the transmission of maps and lists generate problems via JAX-WS (lists filled by the customer are sent without any data and thus reach the server without data) they have to be wrapped.
700 +Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped.
716 716  
717 717  === Wrapper for HashMap<String, String> ===
718 718  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -3342937
1 +182518281
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342937/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/182518281/Schnittstelle ONYX Reporter