Änderungen von Dokument 08 Schnittstelle ONYX Reporter

Zuletzt geändert von Carina Enke am 13.02.2024

Von Version 350.1
bearbeitet von tleu
am 23.06.2015
Ä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.tleu
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: ======
... ... @@ -325,7 +325,7 @@
325 325  
326 326  == Wrapper ==
327 327  
328 -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.
329 329  
330 330  === Wrapper für die HashMap<String, String> ===
331 331  
... ... @@ -351,7 +351,7 @@
351 351  {{layout-cell}}
352 352  ====== relevante Links: ======
353 353  
354 -* [[doc:Schnittstelle ONYX Player]]
365 +* [[doc:ONYX Player Interface]]
355 355  {{/layout-cell}}
356 356  {{/layout-section}}
357 357  {{/layout}}
... ... @@ -375,29 +375,29 @@
375 375  
376 376  {{layout-section ac:type="single"}}
377 377  {{layout-cell}}
378 -== General ==
389 +== General information ==
379 379  
380 -The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed:
391 +The API to the ONYX WebReporter enables the communication between the LMS and the Reporter. Therefore, a couple of commands will be executed:
381 381  
382 382  |(((
383 383  armSite
384 384  )))|(((
385 -Registration of sequence requests at the ONYX reporter
396 +Registration of sequence requests at the ONYX Reporter
386 386  )))
387 387  |(((
388 388  initiateSite
389 389  )))|(((
390 -Initiates the reporter session (transmission of the CP).
401 +Initiates the Reporter session (transmission of the CP).
391 391  )))
392 392  |(((
393 393  disarmSite
394 394  )))|(((
395 -Release of all reporter resources for this session.
406 +Release of all Reporter resources for this session.
396 396  )))
397 397  |(((
398 398  getResultValues
399 399  )))|(((
400 -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.
401 401  )))
402 402  |(% colspan="1" %)(% colspan="1" %)
403 403  (((
... ... @@ -404,12 +404,12 @@
404 404  getResultVariables
405 405  )))|(% colspan="1" %)(% colspan="1" %)
406 406  (((
407 -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.
408 408  )))
409 409  
410 -== Connection to the LMS ==
421 +== Login through the LMS ==
411 411  
412 -{{code language="xml" title="Anmeldung des LMS"}}
423 +{{code language="xml" title="Login through the LMS"}}
413 413  @WebMethod(operationName = „armSite")
414 414  public String armSite(
415 415  @WebParam(name = „version") final Integer version,
... ... @@ -432,22 +432,22 @@
432 432  |(((
433 433  userId
434 434  )))|(((
435 -UserId of the requested reporter user
446 +UserId of the requested Reporter user
436 436  )))
437 437  |(((
438 438  optionalRole
439 439  )))|(((
440 -Optional. User role. 0=student, 1=tutor
451 +Optional. User role. 0 = student, 1 = tutor
441 441  )))
442 442  |(((
443 443  secretToShare
444 444  )))|(((
445 -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.
446 446  )))
447 447  |(((
448 448  optionalUserLastName
449 449  )))|(((
450 -Optional. User lastname.
461 +Optional. Last name of the user.
451 451  )))
452 452  |(% colspan="1" %)(% colspan="1" %)
453 453  (((
... ... @@ -454,7 +454,7 @@
454 454  optionalUserFirstName
455 455  )))|(% colspan="1" %)(% colspan="1" %)
456 456  (((
457 -Optional. User firstname.
468 +Optional. First name of the user.
458 458  )))
459 459  |(% colspan="1" %)(% colspan="1" %)
460 460  (((
... ... @@ -469,12 +469,12 @@
469 469  |(((
470 470  String
471 471  )))|(((
472 -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.
473 473  )))
474 474  
475 475  == Initialisation through LMS ==
476 476  
477 -{{code language="xml" title="Initialisierung durch LMS"}}
488 +{{code language="xml" title="Initialisation through LMS"}}
478 478  @WebMethod(operationName = „initiateSite")
479 479  public String initiateSite(
480 480  @WebParam(name = „version") final Integer version,
... ... @@ -503,17 +503,17 @@
503 503  |(((
504 504  secretToShare
505 505  )))|(((
506 -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.
507 507  )))
508 508  |(((
509 509  students
510 510  )))|(((
511 -List of students with their results. See below.
522 +List of students and their results. See below.
512 512  )))
513 513  |(((
514 514  optionalContentPackage
515 515  )))|(((
516 -Optional. Content Package (zipped) as byte array.
527 +Optional. Content package (zipped) as byte array.
517 517  )))
518 518  |(((
519 519  additionalParams
... ... @@ -526,11 +526,11 @@
526 526  |(((
527 527  String
528 528  )))|(((
529 -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:
530 530  
531 -* sid: Session ID as returned by armSite
542 +* sid: Session ID, as returned by armSite
532 532  * (((
533 -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
534 534  )))
535 535  )))
536 536  
... ... @@ -546,7 +546,7 @@
546 546  }
547 547  {{/code}}
548 548  
549 -== Deconnection through the LMS ==
560 +== Logout through the LMS ==
550 550  
551 551  
552 552  
... ... @@ -579,7 +579,7 @@
579 579  |(((
580 580  secretToShare
581 581  )))|(((
582 -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.
583 583  )))
584 584  |(((
585 585  additionalParams
... ... @@ -592,12 +592,12 @@
592 592  |(((
593 593  Boolean
594 594  )))|(((
595 -True if successful, otherwise false.
606 +True in the case of success, otherwise false.
596 596  )))
597 597  
598 -== Request of learning results through the LMS ==
609 +== Request of learner results through the LMS ==
599 599  
600 -{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}}
611 +{{code language="xml" title="Request of learner results through the LMS"}}
601 601   @WebMethod(operationName = „getResultValues")
602 602  public HashMapWrapper getResultValues(
603 603   @WebParam(name = „version") final Integer version,
... ... @@ -626,12 +626,12 @@
626 626  |(((
627 627  secretToShare
628 628  )))|(((
629 -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.
630 630  )))
631 631  |(((
632 632  requestedValues
633 633  )))|(((
634 -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.
635 635  )))
636 636  |(((
637 637  additionalParams
... ... @@ -644,12 +644,12 @@
644 644  |(((
645 645  HashMap<String, String>
646 646  )))|(((
647 -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)
648 648  )))
649 649  
650 650  == Request of result variables through the LMS ==
651 651  
652 -{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}}
663 +{{code language="xml" title="Request of result variables through the LMS"}}
653 653   @WebMethod(operationName = „getResultVariables")
654 654  public HashMapWrapper getResultVariables(
655 655  @WebParam(name = „version") final Integer version,
... ... @@ -681,13 +681,12 @@
681 681  |(((
682 682  HashMap<String, String>
683 683  )))|(((
684 -Map of result variables, key is the variable name, value the corresponding
685 -value (HashMap is wrapped).
695 +Map of result variables, key is the variable name, value is the respective variable's value (HashMap is wrapped)
686 686  )))
687 687  
688 688  == Wrapper ==
689 689  
690 -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.
691 691  
692 692  === Wrapper for HashMap<String, String> ===
693 693  
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -146964903
1 +182518281
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/146964903/Schnittstelle ONYX Reporter
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/182518281/Schnittstelle ONYX Reporter