Änderungen von Dokument 08 Schnittstelle ONYX Reporter
Zuletzt geändert von Carina Enke am 13.02.2024
Von Version 271.1
bearbeitet von Carina Enke
am 22.01.2020
am 22.01.2020
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.9.
Auf Version 353.1
bearbeitet von Carina Enke
am 08.03.2018
am 08.03.2018
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -6,18 +6,16 @@ 6 6 7 7 {{layout-section ac:type="two_right_sidebar"}} 8 8 {{layout-cell}} 9 - 10 -{{/layout-cell}} 9 +====== Inhalt: ====== 11 11 12 -{{layout-cell}} 13 -{{scroll-ignore}} 14 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 15 15 16 16 17 -{{toc/}} 18 -{{/panel}} 19 -{{/scroll-ignore}} 13 +{{toc maxLevel="5" outline="true" absoluteUrl="true" style="square"/}} 20 20 {{/layout-cell}} 15 + 16 +{{layout-cell}} 17 + 18 +{{/layout-cell}} 21 21 {{/layout-section}} 22 22 23 23 {{layout-section ac:type="single"}} ... ... @@ -381,29 +381,29 @@ 381 381 382 382 {{layout-section ac:type="single"}} 383 383 {{layout-cell}} 384 -== General information==382 +== General == 385 385 386 -The API to the ONYX WebReporter enables the communication between the LMS and the Reporter.384 +The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed: 387 387 388 388 |((( 389 389 armSite 390 390 )))|((( 391 -Registration of sequence requests at the ONYX Reporter389 +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).394 +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.399 +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 isonly one student inthelist transmittedwith initiateSite.404 +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 isrequired.411 +Returns all or all requested outcome variables for the test. No armSite, initiateSite or disarmSite is necessary. 414 414 ))) 415 415 416 -== Login throughthe LMS ==414 +== Connection to the LMS == 417 417 418 -{{code language="xml" title=" Loginthroughthe LMS"}}416 +{{code language="xml" title="Anmeldung des LMS"}} 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 user439 +UserId of the requested reporter user 442 442 ))) 443 443 |((( 444 444 optionalRole 445 445 )))|((( 446 -Optional. User role. 0 444 +Optional. User role. 0=student, 1=tutor 447 447 ))) 448 448 |((( 449 449 secretToShare 450 450 )))|((( 451 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Mustremainthesameforanyfurthercommunication.449 +Shared secret. Has to remain identical for every communication. 452 452 ))) 453 453 |((( 454 454 optionalUserLastName 455 455 )))|((( 456 -Optional. Lastof the user.454 +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. Firstof the user.461 +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 whichhas to be used to mark anyotherReporter call.476 +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="Initialis ation through LMS"}}481 +{{code language="xml" title="Initialisierung durch LMS"}} 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 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Must remainthesameforanyfurthercommunication.510 +Shared secret. Has to remain identical at every communication. 513 513 ))) 514 514 |((( 515 515 students 516 516 )))|((( 517 -List of students andtheir results. See below.515 +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.520 +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 theIFrame.TheURLhas to beamended by the LMS with the following URL533 +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 armSite535 +* sid: Session ID as returned by armSite 538 538 * ((( 539 -uid: Student ID ,as registrated in the initiateSite at the ONYX Reporter537 +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 ==553 +== Deconnection through the LMS == 556 556 557 557 558 558 ... ... @@ -585,7 +585,7 @@ 585 585 |((( 586 586 secretToShare 587 587 )))|((( 588 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Must remainthesameforanyfurthercommunication.586 +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 i n the case of success, otherwise false.599 +True if successful, otherwise false. 602 602 ))) 603 603 604 -== Request of learn erresults through the LMS ==602 +== Request of learning results through the LMS == 605 605 606 -{{code language="xml" title=" RequestoflearnersthroughtheLMS"}}604 +{{code language="xml" title="Abfrage von Lernerresultaten durch LMS"}} 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 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Must remainthesameforanyfurthercommunication.633 +Shared secret. Has to remain identical at every communication. 636 636 ))) 637 637 |((( 638 638 requestedValues 639 639 )))|((( 640 -Can be empty, in which caseall result variablesare returned. Ifkeysareincluded, only thekeyswill be returned.638 +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 isthe respectivevariable's value (HashMap is wrapped)651 +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=" RequestofresultvariablesthroughtheLMS"}}656 +{{code language="xml" title="Abfrage von Ergebnisvariablen durch LMS"}} 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) 688 +Map of result variables, key is the variable name, value the corresponding 689 +value (HashMap is wrapped). 691 691 ))) 692 692 693 693 == Wrapper == 694 694 695 - Sincethe transmission of maps and lists via JAX-WS cancauseproblems,they have to be wrapped.694 +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 - 3010732441 +147882509 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 301073244/Schnittstelle ONYX Reporter1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/147882509/Schnittstelle ONYX Reporter