Należy przetestować operację deleteCustomer z użyciem modułu
przetwarzania danych wychodzących utworzonego w kursie 1, korzystając z modułu
testowego w produkcie WebSphere Integration Developer.
- Jeśli produkt WebSphere Process Server nie jest uruchomiony, w produkcie WebSphere Integration Developer należy użyć następującej procedury, aby uruchomić produkt WebSphere Process Server:
- W produkcie WebSphere Integration Developer otwórz widok Serwery, klikając opcję .
- Aby uruchomić serwer WebSphere Process Server, kliknij prawym przyciskiem myszy opcję WebSphere Process Server 6.0, a następnie kliknij przycisk Uruchom.
- Przejdź do perspektywy Integracja biznesowa.
- W produkcie WebSphere Integration Developer kliknij prawym przyciskiem myszy moduł FlatFileOutboundModule, a następnie wybierz opcję .
- Rozwiń opcję Właściwości szczegółowe.
- W oknie Zdarzenia z listy
Operacja wybierz operację
deleteCustomer i podaj następujące Początkowe
parametry żądania:
Nazwa |
Wartość |
customerName |
Pozostaw to pole puste |
Address |
Pozostaw to pole puste |
City |
Pozostaw to pole puste |
State |
Pozostaw to pole puste |
fileName |
filecreate.txt |
directoryPath |
C:\flatfiledir\outputdir |
fileContentEncoding |
<null> |
includeEndBODelimiter |
<null> |
StagingDirectory |
<null> |
Rysunek 1. Strona Zdarzenia z wybraną operacją deleteCustomer
- Kliknij przycisk Kontynuuj.
Wynik
Określony plik został trwale
usunięty z systemu plików. Należy sprawdzić, czy plik
filecreate.txt został usunięty z katalogu
C:\flatfiledir\outputdir.