Designer 10.7 | webMethods Service Development Help | Working with Publishable Document Types | Making a Document Type Unpublishable
 
Making a Document Type Unpublishable
You can change any publishable document type to a regular IS document type by making the publishable document type unpublishable. Keep the following points in mind when changing the publication status of a publishable document type:
*webMethods Messaging Triggers, publishing services, and processes can only use publishable document types. When you make an IS document type unpublishable, webMethods Messaging Triggers, publishing services, and steps in a process that use that IS document type will fail.
*If a publishing service specifies the publishable document type and you make the document type unpublishable, the publishing service will not execute successfully. The next time the service executes, Integration Server throws a service exception stating that the specified document type is not publishable.
*You can only change the publishable status of an IS document type if you own the lock on the IS document type (or you have it checked out) and you have write permission to the IS document type.
*If you make a publishable document type unpublishable and the assigned messaging connection alias is not available, the messaging provider will not remove the provider definition automatically. You will need to remove it manually using the Broker interface in My webMethods or the Universal Messaging Enterprise Manager.
*To make a publishable document type unpublishable
1. In the Package Navigator view of the Service Development perspective, double-click the document type that you want to make unpublishable.
The document type opens in the Document Type Editor window.
2. In the Properties view, set the Publishable property to False.
3. Select File > Save.
Designer displays the Delete Confirmation dialog box. This dialog box prompts you to indicate whether the associated provider definition should be deleted or retained.
4. If you would like to delete the associated provider definition from the messaging provider, select the Delete associated provider definition check box.
5. Click OK.