com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Usage of Metadata Exchange (MEX)
This samples demonstrates
- How to enable a Metadata Exchange (MEX) request for an arbitrary service.
- How to use MEXClient to retrieve metadata from a service that supports MEX requests.
- How to write your own data retrievers to configure the metadata of your service.
Building the sample
The MEX sample is located in  <AS_HOME>\Samples\MEX
 directory.
For more information, see Building Axis2 Samples.
Configuring Services
To enable MEX request support for samples services, follow these steps:
- Login to Application Server Management Console.
- On the Main menu, under services, click List.
The Deployed Services page will appear. - Click on the HelloWorldService1 link.
The service's Dashboard will appear. - Click on the Module Configurations link in the Quality of Services panel of the service dashboard.
- Select wso2mex from the drop down list.
- Click Engage.
- An alert box would be displayed if the module is engaged successfully.
Running the Client
- Switch to
<AS_HOME>/samples/MEX
directory. Execute one of the following commands to run the client:
OS Command On Windows run-client.bat
On Linux/Solaris sh run-client.sh
Enter the URL of the target service. You will be prompted for the URL of the service, from which you wish to retrieve metadata.
For example:ÂPlease enter the service URL: http://localhost:9763/services/HelloWorldService1
Choose the type of metadata you wish to retrieve.
For example, if you wish to retrieve XML Schema documents you need to type 1 and press enter when the following is prompted.Choose type of Metadata    [1] XML Schema    [2] WSDL    [3] WS-Policy    1
- Specify the Identifier.
This is optional. You can skip it by just pressing Enter. - The results will be printed on the Console.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.