Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | Working with Test Clients | Publishing Documents with a Test Client | Building an Outgoing Documents List | Loading Documents from a File
Loading Documents from a File
You can add documents to the outgoing documents list by loading documents from a file. You might have documents saved to a file if you want to use the same set of documents with multiple test clients or you want to use the same documents with a test client across multiple sessions.
You might also have documents saved to file if you want to add or edit document content and then publish the populated documents. When you publish populated documents, you can test subscription filters.
*To load documents from a file
1. In My webMethods: Messaging > Broker Server s > Clients.
2. In the Client List, click the client ID of the test client for which you want to load documents in to the outgoing documents list. If the test client does not appear in the list, use the Search tab to locate it.
3. On the Client Details page, click Test Client View in the Client Details Information view. My webMethods displays the Test Client Information view.
4. Click the Outgoing Documents tab.
If the test client is not connected, the Outgoing Documents tab displays the message "Test client is not connected. Please reconnect the test client to get the information." For information about reconnecting a test client, see Reconnecting Test Clients.
5. Click Add Document. My webMethods displays the Test Client - Add Documents dialog.
6. Click the Load Documents tab.
7. In the File Name field, enter the path to the file containing the documents you want to add to the outgoing documents list. Click the Browse button to navigate to and select the file.
8. Next to Where to Add, select an option to indicate whether you want to insert the documents at the beginning or end of the outgoing document list.
9. Click Load.
If the test client does not have can-publish permissions for one or more of the documents in the file, My webMethods displays the following message:
Documents pasted. However, some documents were not pasted because
their document type didn't have can-publish permission.