UPSPLD0200SendResponse

Gruppe

Eigene Klassen Phase 6

Funktion

Diese Klasse ermöglicht das Senden von PLD-Dateien an UPS und kann die zurück gelieferten Daten an ein Folgeprofil weiterleiten.

Konfigurationsdatei

sample_ups_pld.properties

Beschreibung


Diese Klasse ermöglicht das Senden von PLD-Dateien an UPS und kann die zurück gelieferten Daten an ein Folgeprofil weiterleiten.

Hinweis: Das produktive UPS-System ist mittels DNS-Round-Robin erreichbar, d. h. sollten Sie die IP-Adressen in Ihrer Firewall explizit freischalten müssen, müssen alle betreffenden IP-Adressen freigeschaltet werden.

Parameterbeschreibung


Parameter

Beschreibung

url

URL zu der verbunden wird und an die die PLD-Datei gesendet wird. Default ist die URL des UPS PLD Certification Tool.

user

Benutzer für die Anmeldung.

passwd

Passwort für die Anmeldung.

reportprofile.name

Name eines Folgeprofils, welches die zurück gelieferten Daten verarbeiten soll. Wenn nichts gesetzt wird, findet keine Verarbeitung statt.

reportprofile.context

(optional) Kontext für das Folgeprofil. Default: System

reportprofile.queue

(optional) Queue für das Folgeprofil. Default: DWForwardReceiver

reportprofile.msgType

(optional) Message-Typ. Mögliche Werte sind, a für asynchron, s für synchron und p für persistent. Default: s

warningIsError

(optional) Bei true werden Warnungen in der Antwort als Fehler gewertet. Default: true

Beispiel


sample_ups_pld.properties
# The URL to be connected to and send the PLD file to. Default is the URL of the UPS PLD Certification Tool.
#url=
# Login credentials
user=username
passwd=passwd
# Name of the profile to be started for processing the returned result.
# If no name is specified, no subsequent profile will be started.
#reportprofile.name = UPS Response Processor
# Context to be used for the start of the profile (Default: System).
#reportprofile.context = System
# Queue to be used for the start of the profile (Default: DWForwardReceiver).
#reportprofile.queue = DWForwardReceiver
# Type of the message to be used to start the subsequent profile.
# Use
# a for asynchronous
# s for synchronous
# p for persistent.
# Default is s.
#reportprofile.msgType = s
# Specify if warnings in the response should be regarded as errors (Default: true).
#warningIsError = true