When you have developed new documents (or new versions
of documents that already exist in WSRR), you can publish them to
WSRR.
About this task
To publish a document, or a new version of a document, to
WSRR:
Procedure
- Switch to the Resource perspective.
- In the Navigator view, right-click the document that you
want to publish, then click . The Publish A Document To WSRR wizard
opens.
- In the wizard, check that the correct name is shown in
the Name field and the correct document type
is shown in the File type field.
- Optional: Type a description in the Description field.
- Optional: If a previous version of the document
already exists in WSRR, type a new version number in the Version field so that you can distinguish this new version of the document.
- If the document that you are publishing has any dependencies
(e.g. WSDL imports or includes) then these must be resolved. The publish
document wizard will attempt to resolve these dependencies automatically
by searching on matching documents already in your workspace. If it
is unable to resolve these dependencies then a warning will be displayed
and manual action must be taken.
You must take action
if a listed dependency in the Dependencies table has a warning icon
and a Status of Select Required. This indicates that duplicate documents
were found that satisfy the dependency. To resolve these duplicates,
click Select, which will show the list of all
matching possible dependency documents in the workspace. Check the
document that you wish to use as the dependency and click OK.
If no suitable document could be found to
satisfy the dependency you will have the option to add a document
to the workspace. Click on
Add to find and
add a file to use as a dependency. If you wish to re-use documents
that are already in WSRR as dependencies then you should retrieve
these into your workspace first; for more information, see
Importing documents from WebSphere Service Registry and Repository to your local workspace.
Note: If a dependency document
itself has dependencies then these must also be resolved. You will
not be able to move on to work with the next document or finish and
publish until all dependencies have been resolved.
- Use the Previous and Next buttons to view all the documents that you selected. If you choose to press Finish before
previewing all documents to ensure that their details are correct,
you will receive a warning message saying that you haven't viewed
them all.
- Click Finish. When the document
has been published to WSRR, a confirmation message is shown. If document
dependencies were added, these will also be published if they were
not already in WSRR.
Results
The document is now stored in
WSRR. You can verify
the document is stored by retrieving it by using the WSRR Content
view. For more information, see
Searching for objects in WSRR Studio.
What to do next
Now, you can perform the following tasks on the document
in
WSRR: