com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Creating an Axis2 Project

You can create an Axis2 project for use with the Application Server.

Creating an Axis2 Service Project

You can create a new, empty project and develop the service as a Java class inside the project, or create the project and service in one step using an existing WSDL file. 

To create an empty service project:

  1. On the Developer Studio Dashboard, click Axis2 Service Project, leave the first option selected, and click Next.
  2. Fill in the information for creating the project and click Finish.

    The project is created, and the service class is open in the editor.
  3. Create a method in the service class. For example:
  4. Generate the WSDL as follows:
    1. Right-click the project and choose Generate WSDL.
    2. Specify the location and name for the file and click OK.

The WSDL file is generated and appears in the editor.

To create a service project from a WSDL:

  1. On the Developer Studio Dashboard, click Axis2 Service Project, click the option to create the project from a WSDL, and click Next.
  2. Browse to the WSDL file and specify a name for the project, and then click Finish.

The project is created with all the generated stubs created from the WSDL you specified.

Creating an Axis2 Client Project

You can create an Axis2 client project to generate client classes from a WSDL.

  1. On the Developer Studio Dashboard, click Generate Axis2 Web Service Client Project.
  2. Specify the WSDL, and click Next.
  3. Specify the src folder where you want to create the client and click Next. If you want to create a new project for this client, click Create a new Project and enter the required information.
  4. Configure the Axis2 options and click Finish.
    For more information on Axis2 configuration, see: http://axis.apache.org/axis2/java/core/docs/adv-userguide.html

The client classes are created in the source folder you specified.

Creating an Axis2 Web Service Skeleton

You can create an Axis2 web service skeleton project to generate classes from a WSDL.

  1. On the Developer Studio Dashboard, click Generate Axis2 Web Service Skeleton Project.
  2. Specify the WSDL, and click Next.
  3. Specify the src folder where you want to create the skeleton and click Next. If you want to create a new project for this skeleton, click Create a new Project and enter the required information.
  4. Configure the Axis2 options and click Finish.
    For more information on Axis2 configuration, see: http://axis.apache.org/axis2/java/core/docs/adv-userguide.html

The classes are created in the source folder you specified.

Generating an Axis2 Service Archive

You can generate an Axis2 Service Archive (AAR file) by exporting the project.

  1. Right-click the Axis2 service project and select Export Project as Deployable Archive.
  2. Select the project and location where you want to save the archive and click Finish.

Deploying the Project

You can export the project as a web application (WAR) file or you can add it as dependency of a Carbon Application project that you deploy on the WSO2 Application Server. To create a deployable archive (WAR), right-click the project, select Export Project as Deployable Archive, and choose the destination location.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.