Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

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

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.carina
1 +XWiki.sandra_riediger
Inhalt
... ... @@ -1,22 +1,39 @@
1 1  {{sv-translation language="de"}}
2 2  {{layout}}
3 -{{layout-section ac:type="single"}}
4 -{{layout-cell}}{{/layout-cell}}
5 -{{/layout-section}}
6 -
7 7  {{layout-section ac:type="two_right_sidebar"}}
8 8  {{layout-cell}}
9 -
5 +====== Inhalt: ======
6 +
7 +
8 +
9 +{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
10 10  {{/layout-cell}}
11 11  
12 12  {{layout-cell}}
13 -{{scroll-ignore}}
14 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
13 +|=(% colspan="1" %)(% colspan="1" %)
14 +(((
15 +Programmversion
16 +)))|(% colspan="1" %)(% colspan="1" %)
17 +(((
18 +
19 +)))
20 +|=(((
21 +Status
22 +)))|(((
23 +(% class="status-macro aui-lozenge aui-lozenge-error" %)ENTWURF
24 +)))
25 +|=(((
26 +Aufgaben
27 +)))|(((
28 +
15 15  
16 -
17 -{{toc/}}
18 -{{/panel}}
19 -{{/scroll-ignore}}
30 +
31 +)))
32 +|=(((
33 +JIRA
34 +)))|(((
35 +
36 +)))
20 20  {{/layout-cell}}
21 21  {{/layout-section}}
22 22  
... ... @@ -56,7 +56,7 @@
56 56  
57 57  == Anmeldung des LMS ==
58 58  
59 -{{code language="xml" title="Anmeldung des LMS"}}
76 +{{code title="Anmeldung des LMS" language="xml"}}
60 60  @WebMethod(operationName = „armSite")
61 61  public String armSite(
62 62  @WebParam(name = „version") final Integer version,
... ... @@ -121,7 +121,7 @@
121 121  
122 122  == Initialisierung durch LMS ==
123 123  
124 -{{code language="xml" title="Initialisierung durch LMS"}}
141 +{{code title="Initialisierung durch LMS" language="xml"}}
125 125  @WebMethod(operationName = „initiateSite")
126 126  public String initiateSite(
127 127  @WebParam(name = „version") final Integer version,
... ... @@ -242,7 +242,7 @@
242 242  
243 243  == Abfrage von Lernerresultaten durch LMS ==
244 244  
245 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
262 +{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
246 246   @WebMethod(operationName = „getResultValues")
247 247  public HashMapWrapper getResultValues(
248 248   @WebParam(name = „version") final Integer version,
... ... @@ -294,7 +294,7 @@
294 294  
295 295  == Abfrage von Ergebnisvariablen durch LMS ==
296 296  
297 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
314 +{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
298 298   @WebMethod(operationName = „getResultVariables")
299 299  public HashMapWrapper getResultVariables(
300 300  @WebParam(name = „version") final Integer version,
... ... @@ -331,7 +331,7 @@
331 331  
332 332  == Wrapper ==
333 333  
334 -Da die Übertragung von Maps und Listen über JAX-WS Probleme machen kann, müssen diese gewrappt werden.
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.
335 335  
336 336  === Wrapper für die HashMap<String, String> ===
337 337  
... ... @@ -357,7 +357,7 @@
357 357  {{layout-cell}}
358 358  ====== relevante Links: ======
359 359  
360 -* [[doc:ONYX Player Interface]]
377 +* [[doc:Schnittstelle ONYX WebPlayer]]
361 361  {{/layout-cell}}
362 362  {{/layout-section}}
363 363  {{/layout}}
... ... @@ -371,7 +371,7 @@
371 371  
372 372  
373 373  
374 -{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}}
391 +{{toc style="square" maxLevel="5" outline="true" absoluteUrl="true"/}}
375 375  {{/layout-cell}}
376 376  
377 377  {{layout-cell}}
... ... @@ -381,29 +381,31 @@
381 381  
382 382  {{layout-section ac:type="single"}}
383 383  {{layout-cell}}
384 -== General information ==
401 +
385 385  
386 -The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
403 +== General ==
387 387  
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 +
388 388  |(((
389 389  armSite
390 390  )))|(((
391 -Registration of sequence requests at the ONYX Reporter
410 +Registration of sequence requests at the ONYX reporter
392 392  )))
393 393  |(((
394 394  initiateSite
395 395  )))|(((
396 -Initiates the Reporter session (transmission of the CP).
415 +Initiates the reporter session (transmission of the CP).
397 397  )))
398 398  |(((
399 399  disarmSite
400 400  )))|(((
401 -Release of all Reporter resources for this session.
420 +Release of all reporter resources for this session.
402 402  )))
403 403  |(((
404 404  getResultValues
405 405  )))|(((
406 -Returns all (requested) results for the test. Condition: There is only one student in the list transmitted with initiateSite.
425 +Returns all or all requested results for the test. Condition: there is exactly one student in list transmitted in the initiateSite.
407 407  )))
408 408  |(% colspan="1" %)(% colspan="1" %)
409 409  (((
... ... @@ -410,12 +410,12 @@
410 410  getResultVariables
411 411  )))|(% colspan="1" %)(% colspan="1" %)
412 412  (((
413 -Returns all (requested) outcome variables for the test. No armSite, initiateSite, or disarmSite is required.
432 +Returns all or all requested outcome variables for the test. No armSite, initiateSite or disarmSite is necessary.
414 414  )))
415 415  
416 -== Login through the LMS ==
435 +== Connection to the LMS ==
417 417  
418 -{{code language="xml" title="Login through the LMS"}}
437 +{{code title="Anmeldung des LMS" language="xml"}}
419 419  @WebMethod(operationName = „armSite")
420 420  public String armSite(
421 421  @WebParam(name = „version") final Integer version,
... ... @@ -438,22 +438,22 @@
438 438  |(((
439 439  userId
440 440  )))|(((
441 -UserId of the requested Reporter user
460 +UserId of the requested reporter user
442 442  )))
443 443  |(((
444 444  optionalRole
445 445  )))|(((
446 -Optional. User role. 0 = student, 1 = tutor
465 +Optional. User role. 0=student, 1=tutor
447 447  )))
448 448  |(((
449 449  secretToShare
450 450  )))|(((
451 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
470 +Shared secret. Has to remain identical for every communication.
452 452  )))
453 453  |(((
454 454  optionalUserLastName
455 455  )))|(((
456 -Optional. Last name of the user.
475 +Optional. User lastname.
457 457  )))
458 458  |(% colspan="1" %)(% colspan="1" %)
459 459  (((
... ... @@ -460,7 +460,7 @@
460 460  optionalUserFirstName
461 461  )))|(% colspan="1" %)(% colspan="1" %)
462 462  (((
463 -Optional. First name of the user.
482 +Optional. User firstname.
464 464  )))
465 465  |(% colspan="1" %)(% colspan="1" %)
466 466  (((
... ... @@ -475,12 +475,12 @@
475 475  |(((
476 476  String
477 477  )))|(((
478 -Session ID which has to be used to mark any other Reporter call.
497 +Session ID that has to be used to mark any further reporter call.
479 479  )))
480 480  
481 481  == Initialisation through LMS ==
482 482  
483 -{{code language="xml" title="Initialisation through LMS"}}
502 +{{code title="Initialisierung durch LMS" language="xml"}}
484 484  @WebMethod(operationName = „initiateSite")
485 485  public String initiateSite(
486 486  @WebParam(name = „version") final Integer version,
... ... @@ -509,17 +509,17 @@
509 509  |(((
510 510  secretToShare
511 511  )))|(((
512 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
531 +Shared secret. Has to remain identical at every communication.
513 513  )))
514 514  |(((
515 515  students
516 516  )))|(((
517 -List of students and their results. See below.
536 +List of students with their results. See below.
518 518  )))
519 519  |(((
520 520  optionalContentPackage
521 521  )))|(((
522 -Optional. Content package (zipped) as byte array.
541 +Optional. Content Package (zipped) as byte array.
523 523  )))
524 524  |(((
525 525  additionalParams
... ... @@ -532,11 +532,11 @@
532 532  |(((
533 533  String
534 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:
554 +Absolute URL of the reporter site for the frame. It has to be enriched by the LMS with the following URLparameters:
536 536  
537 -* sid: Session ID, as returned by armSite
556 +* sid: Session ID as returned by armSite
538 538  * (((
539 -uid: Student ID, as registrated in the initiateSite at the ONYX Reporter
558 +uid: Student ID as registrated in the initiateSite at the ONYX Reporter.
540 540  )))
541 541  )))
542 542  
... ... @@ -552,7 +552,7 @@
552 552  }
553 553  {{/code}}
554 554  
555 -== Logout through the LMS ==
574 +== Deconnection through the LMS ==
556 556  
557 557  
558 558  
... ... @@ -585,7 +585,7 @@
585 585  |(((
586 586  secretToShare
587 587  )))|(((
588 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
607 +Shared secret. Has to remain identical at every communication.
589 589  )))
590 590  |(((
591 591  additionalParams
... ... @@ -598,12 +598,12 @@
598 598  |(((
599 599  Boolean
600 600  )))|(((
601 -True in the case of success, otherwise false.
620 +True if successful, otherwise false.
602 602  )))
603 603  
604 -== Request of learner results through the LMS ==
623 +== Request of learning results through the LMS ==
605 605  
606 -{{code language="xml" title="Request of learner results through the LMS"}}
625 +{{code title="Abfrage von Lernerresultaten durch LMS" language="xml"}}
607 607   @WebMethod(operationName = „getResultValues")
608 608  public HashMapWrapper getResultValues(
609 609   @WebParam(name = „version") final Integer version,
... ... @@ -632,12 +632,12 @@
632 632  |(((
633 633  secretToShare
634 634  )))|(((
635 -A secret string that allows the server and client to encrypt their communication. Must remain the same for any further communication.
654 +Shared secret. Has to remain identical at every communication.
636 636  )))
637 637  |(((
638 638  requestedValues
639 639  )))|(((
640 -Can be empty, in which case all result variables are returned. If keys are included, only the keys will be returned.
659 +Can be empty, thus all result variables will be returned. If it contains keys, only those will be returned.
641 641  )))
642 642  |(((
643 643  additionalParams
... ... @@ -650,12 +650,12 @@
650 650  |(((
651 651  HashMap<String, String>
652 652  )))|(((
653 -Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
672 +Map of result variables, key is the variable name, value the corresponding value (HashMap is wrapped)
654 654  )))
655 655  
656 656  == Request of result variables through the LMS ==
657 657  
658 -{{code language="xml" title="Request of result variables through the LMS"}}
677 +{{code title="Abfrage von Ergebnisvariablen durch LMS" language="xml"}}
659 659   @WebMethod(operationName = „getResultVariables")
660 660  public HashMapWrapper getResultVariables(
661 661  @WebParam(name = „version") final Integer version,
... ... @@ -687,12 +687,13 @@
687 687  |(((
688 688  HashMap<String, String>
689 689  )))|(((
690 -Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
709 +Map of result variables, key is the variable name, value the corresponding
710 +value (HashMap is wrapped).
691 691  )))
692 692  
693 693  == Wrapper ==
694 694  
695 -Since the transmission of maps and lists via JAX-WS can cause problems, they have to be wrapped.
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.
696 696  
697 697  === Wrapper for HashMap<String, String> ===
698 698  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -226231103
1 +3342937
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/226231103/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342937/Schnittstelle ONYX Reporter