Webservices
Webservices
Hallo Ihr,
hat jemand von Euch schon mal soetwas gemacht? Und koennte es mir eventuell sogar erklaeren?
---- Schnipp ---
ich kann die Störungen auf dem Testsystem per WebService auslesen.
INC00028 | New | Neuanschluß eines Telefons per Hand zur Bestimmung von request.getContext()
INC00027 | Closed | Hier ein Ticket im neuen System
INC00026 | InProgress | Test auf Email-Adresse aus einem Ticket
INC00025 | New | Test
INC00024 | New | ID nicht da.
INC00023 | Closed | Ein Test auf die Haustechnik ...
Um eine Störung im System anzulegen braucht es den Wert einer Variablen
( z.B. request.setContext("QA-System"); ).
Die Installationsanleitung sagt zu diesem Parameter folgendes:
Initial configuration and manual steps
For the availability of the new functionality no further configuration is necessary. For the configuration of the functionality itself, please read the following sections.
The Installation of these Webservices adds a Data-definition to the Global Configuration that contains two Attributes, for which values need to be assigned to render any Webservice calls operational. The Data-definition is CUSTM42GlobalConfigurationServices and it contains the String-Attribute SupportedContexts into which a comma-separated list of possible values must be supplied. Most Webservice calls require a Context parameter in the passed Request object, which must be one of the listed values defined as described above. The Data-definition CUSTM42GlobalConfigurationServices also contains a Relation-Attribute DefaultTicketCreator that holds a reference to a User that is used as the default creator for Tickets if a Webservice call supplies no value for it. Both of these Attributes are not visible anywhere in the UI oif the Service-Store. To make them editable, whoever administrates the Service-Store can either set the values directly in the database, or add a dialog-page for the Global Configuration CI and put UI-controls there and subsequently set the values in the Global Configuration dialog.
---- Schnapp ---
LG aus der Hitze
Alexandra
hat jemand von Euch schon mal soetwas gemacht? Und koennte es mir eventuell sogar erklaeren?
---- Schnipp ---
ich kann die Störungen auf dem Testsystem per WebService auslesen.
INC00028 | New | Neuanschluß eines Telefons per Hand zur Bestimmung von request.getContext()
INC00027 | Closed | Hier ein Ticket im neuen System
INC00026 | InProgress | Test auf Email-Adresse aus einem Ticket
INC00025 | New | Test
INC00024 | New | ID nicht da.
INC00023 | Closed | Ein Test auf die Haustechnik ...
Um eine Störung im System anzulegen braucht es den Wert einer Variablen
( z.B. request.setContext("QA-System"); ).
Die Installationsanleitung sagt zu diesem Parameter folgendes:
Initial configuration and manual steps
For the availability of the new functionality no further configuration is necessary. For the configuration of the functionality itself, please read the following sections.
The Installation of these Webservices adds a Data-definition to the Global Configuration that contains two Attributes, for which values need to be assigned to render any Webservice calls operational. The Data-definition is CUSTM42GlobalConfigurationServices and it contains the String-Attribute SupportedContexts into which a comma-separated list of possible values must be supplied. Most Webservice calls require a Context parameter in the passed Request object, which must be one of the listed values defined as described above. The Data-definition CUSTM42GlobalConfigurationServices also contains a Relation-Attribute DefaultTicketCreator that holds a reference to a User that is used as the default creator for Tickets if a Webservice call supplies no value for it. Both of these Attributes are not visible anywhere in the UI oif the Service-Store. To make them editable, whoever administrates the Service-Store can either set the values directly in the database, or add a dialog-page for the Global Configuration CI and put UI-controls there and subsequently set the values in the Global Configuration dialog.
---- Schnapp ---
LG aus der Hitze
Alexandra
Re: Webservices
was genau willst du machen?
Re: Webservices
Mit Hilfe des WebService ein neues Ticket anlegen.
Re: Webservices
Ich habe noch nicht mit dieser Erweiterung gearbeitet, aber wenn ich die von dir kopierte Dokumentation richtig interpretiere... dann existiert versteckt ein neues Attribut SupportedContexts.
Dieses enthält eine Komma-getrennte Liste mit allen unterstützten Werten für setContext.
Wenn du sie noch nicht gepflegt hast fehlt womöglich der Eintrag für QA-System.
Du müsstest also dem Konfigurationselement "Global Configuration" eine neue Dialogseite hinzufügen und dort die Attributfelder hinzufügen, um diese in der Globalen Konfiguration zu editieren.
(Geht natürlich auch direkt über SQL, aber über Dialog ist es eleganter)
Dieses enthält eine Komma-getrennte Liste mit allen unterstützten Werten für setContext.
Wenn du sie noch nicht gepflegt hast fehlt womöglich der Eintrag für QA-System.
Du müsstest also dem Konfigurationselement "Global Configuration" eine neue Dialogseite hinzufügen und dort die Attributfelder hinzufügen, um diese in der Globalen Konfiguration zu editieren.
(Geht natürlich auch direkt über SQL, aber über Dialog ist es eleganter)
Tria-media - IT Solutions
Re: Webservices
Hallo Sven,
Du hast ja Ideen . Mir wird ganz schwindelig dabei. Ich weiss ueberhaupt nicht, wie ich dort etwas ausfuellen kann. Ich habe mal einen Screenshot gemacht. Ist das die Stelle? Und was schreibe ich dann in die einzelnen Abteilungen rein? Muss das einen bestimmten Namen haben, z. B.? Meine Guete, so viel Unwissenheit meinerseits tut mir schon echt leid....
LG und schon mal vielen, vielen Dank
Alexandra
Du hast ja Ideen . Mir wird ganz schwindelig dabei. Ich weiss ueberhaupt nicht, wie ich dort etwas ausfuellen kann. Ich habe mal einen Screenshot gemacht. Ist das die Stelle? Und was schreibe ich dann in die einzelnen Abteilungen rein? Muss das einen bestimmten Namen haben, z. B.? Meine Guete, so viel Unwissenheit meinerseits tut mir schon echt leid....
LG und schon mal vielen, vielen Dank
Alexandra
Re: Webservices
Ja richtig.
Speicher die neue Seite ab und füge unter "Formular" die genannten Felder hinzu.
Dann Speichern und die Aktion "Formular veröffentlichen" ausführen.
Dann hast du in der Globalen Konfiguration die neue Seite und kannst dort die Felder pflegen.
Speicher die neue Seite ab und füge unter "Formular" die genannten Felder hinzu.
Dann Speichern und die Aktion "Formular veröffentlichen" ausführen.
Dann hast du in der Globalen Konfiguration die neue Seite und kannst dort die Felder pflegen.
Tria-media - IT Solutions
Re: Webservices
Hallo,
danke schon mal. Das werde ich probieren. Aber erst morgen oder uebermorgen - heute habe ich frei
LG
Alexandra
danke schon mal. Das werde ich probieren. Aber erst morgen oder uebermorgen - heute habe ich frei
LG
Alexandra
Re: Webservices
Hallo zusammen,
ich habe das auch versucht, bin aber nicht zum Erfolg gekommen. Hier eine kurze Bildergeschichte des Versuchs SupportedContexts auf den Wert „m42allinone“ zu setzen und in Java mittels request.setContext("m42allinone"); zu benutzen.
Ich bekomme jedoch den Fehler: The Context 'm42allinone' is not supported.
VG Harald
ich habe das auch versucht, bin aber nicht zum Erfolg gekommen. Hier eine kurze Bildergeschichte des Versuchs SupportedContexts auf den Wert „m42allinone“ zu setzen und in Java mittels request.setContext("m42allinone"); zu benutzen.
Ich bekomme jedoch den Fehler: The Context 'm42allinone' is not supported.
VG Harald
- Attachments
-
- 07.png
- java error output
- (103.96 KiB) Downloaded 255 times
-
- 06.png
- java code
- (256.4 KiB) Downloaded 236 times
-
- 05.png
- SuportedContexts
- (126.83 KiB) Downloaded 235 times
-
- 04.png
- (147.16 KiB) Downloaded 233 times
-
- 03.png
- (112.87 KiB) Downloaded 231 times
-
- 02.png
- CUSTM42GlobalConfigurationServices
- (140.12 KiB) Downloaded 227 times
-
- 01.png
- Konfigurationselement
- (143.24 KiB) Downloaded 225 times
Re: Webservices
Hallo zusammen,
VG Harald
Das ist richtig. Es funktioniert. Danke! läuft fehlerfrei...Sven_Puth wrote:Du müsstest also dem Konfigurationselement "Global Configuration" eine neue Dialogseite hinzufügen und dort die Attributfelder hinzufügen, um diese in der Globalen Konfiguration zu editieren.
VG Harald
Who is online
Users browsing this forum: No registered users and 3 guests