Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2025.3

This topic explains the basic procedure for extending Parasoft’s built-in transports and message formats.

Sections include:

Table of Contents
maxLevel1

...

  1. Add the com.parasoft.api.jar file located in the <INSTALL-DIR>/plugins/com.parasoft.ptest.libs.web_<VERSION>/root/ directory to your Java project classpath. You can also create a new Java project that already has the .jar file added to its classpath:
    1. Go to File > New > Project.
    2. Choose SOAtest or Virtualize > Custom Development > SOAtest or Virtualize Java Project

      Info
      iconfalse
      titleBuilding with Maven?

      If you’re building your Java project with Apache Maven, you can add the following to your project's pom.xml:

      Code Block
      <project>
        ...
        <dependencies>
          <dependency>
            <groupId>com.parasoft.soavirt</groupId>
            <artifactId>com.parasoft.api</artifactId>
            <version>9<version>2025.93.0</version> <!-- should match product version -->
            <scope>provided</scope>
          </dependency>
        </dependencies>
      ...
      <repositories>
        <repository>
          <id>ParasoftMavenPublic</id>
          <name>Parasoft Public Repository</name>
          <url>http<url>https://build.parasoft.com/maven/</url>
        </repository>
      </repositories>
      ...
      </project>
  2. Implement the appropriate interfaces. See the following sections for details on implementing the appropriate interfaces:

    Interfaces to Implement for Custom Transports

    Interfaces to Implement for Custom Listeners

    Interfaces to Implement for Custom Message Formats

    Interfaces to Implement for Custom Tools

  3. Create a parasoft-extension.xml file in the default package of your Java project and configure it as appropriate for the item (or items) you’re adding.

...