For an example of creating an extrinsic object, see JAXRPublishExtrinsicObject.java in the directory <INSTALL>/registry/samples/publish-extrinsic/src. This example publishes an XML file to the Registry (its own build.xml file).
To Run the JAXRPublishExtrinsicObject Example
Steps
Go to the directory <INSTALL>/registry/samples/publish-extrinsic.