Änderungen von Dokument 08 Schnittstelle ONYX Reporter
Zuletzt geändert von Carina Enke am 13.02.2024
Von Version 282.1
bearbeitet von Carina Enke
am 08.05.2019
am 08.05.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.
Auf Version 383.1
bearbeitet von sandra_riediger
am 15.12.2014
am 15.12.2014
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
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. carina1 +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 maxLevel="5" style="square" 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,39 +371,64 @@ 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}} 395 +|=(% colspan="1" %)(% colspan="1" %) 396 +((( 397 +Programmversion 398 +)))|(% colspan="1" %)(% colspan="1" %) 399 +((( 378 378 401 +))) 402 +|=((( 403 +Status 404 +)))|((( 405 +(% class="status-macro aui-lozenge aui-lozenge-error" %)DONE 406 +))) 407 +|=((( 408 +Aufgaben 409 +)))|((( 410 + 411 + 412 + 413 +))) 414 +|=((( 415 +JIRA 416 +)))|((( 417 + 418 +))) 379 379 {{/layout-cell}} 380 380 {{/layout-section}} 381 381 382 382 {{layout-section ac:type="single"}} 383 383 {{layout-cell}} 384 - ==General information ==424 + 385 385 386 - TheAPI to theONYX WebReporter enables the communication between the LMS and the Reporter. Therefore,acoupleof commands will be executed:426 +== General == 387 387 428 +The API to the ONYX WebReporter enables the communication between the LMS and the reporter. Therefore, a couple of commands will be executed: 429 + 388 388 |((( 389 389 armSite 390 390 )))|((( 391 -Registration of sequence requests at the ONYX Reporter433 +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).438 +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.443 +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.448 +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.455 +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 ==458 +== Connection to the LMS == 417 417 418 -{{code language="xml"title="Loginthroughthe LMS"}}460 +{{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 user483 +UserId of the requested reporter user 442 442 ))) 443 443 |((( 444 444 optionalRole 445 445 )))|((( 446 -Optional. User role. 0 488 +Optional. User role. 0=student, 1=tutor 447 447 ))) 448 448 |((( 449 449 secretToShare 450 450 )))|((( 451 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Mustremainthesameforanyfurthercommunication.493 +Shared secret. Has to remain identical for every communication. 452 452 ))) 453 453 |((( 454 454 optionalUserLastName 455 455 )))|((( 456 -Optional. Lastof the user.498 +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.505 +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.520 +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"}}525 +{{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 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Must remainthesameforanyfurthercommunication.554 +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.559 +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.564 +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 URL577 +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 armSite579 +* sid: Session ID as returned by armSite 538 538 * ((( 539 -uid: Student ID ,as registrated in the initiateSite at the ONYX Reporter581 +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 ==597 +== 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.630 +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.643 +True if successful, otherwise false. 602 602 ))) 603 603 604 -== Request of learn erresults through the LMS ==646 +== Request of learning results through the LMS == 605 605 606 -{{code language="xml"title="RequestoflearnersthroughtheLMS"}}648 +{{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 - Asecret stringthat allowsthe serverandclientto encrypt theircommunication.Must remainthesameforanyfurthercommunication.677 +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.682 +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)695 +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"}}700 +{{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) 732 +Map of result variables, key is the variable name, value the corresponding 733 +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.738 +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 -22 62308311 +3342922 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/22 6230831/Schnittstelle ONYX Reporter1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342922/Schnittstelle ONYX Reporter