Modifying the parser extension plug-in properties file

You enable your own parser extensions by modifying the default parser extension plug-in properties file.

The default parser extension plug-in properties file installed with the registry is as follows:

# begin_generated_IBM_copyright_prolog
#
# Licensed Materials - Property of IBM
# 5724-N72
# (c) Copyright IBM Corp. 2006 All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with
# IBM Corp.
#
# end_generated_IBM_copyright_prolog
#
# Parser extensions supplied with the default WSRR

No parser extension plug-ins are defined by default but you can add your own by editing the properties file and updating the content stored in the registry.

The properties files are in the format of standard Java™ properties files. Lines beginning with a # character are comments and are ignored, other lines are of the form <key> = <values>.

The <values> are a comma-separated list of class names of the required parser extension classes. Any classes listed must be available on the class path of the application server and must implement the appropriate ServiceRegistryParserExtension interface.

The <keys> are the full namespace of the WSDL extensibility elements to which the parser extension applies. Note that these namespaces are typically in the form of URIs that usually contain the colon character ":". This character cannot be used as part of a <key> in a Java properties file unless it is preceded by a backslash character. As a simpler alternative to using a backslash escape, WSRR allows the colon character to be omitted completely. Thus, for example, you can register a parser extension for the namespace http://myNamespace, with a class name of com.sample.SampleParserExtension, by specifying either
http\://myNamespace=com.sample.SampleParserExtension
or
http//myNamespace=com.sample.SampleParserExtension