Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Generating Argument Names for Schema Elements

Generating Argument Names for Schema Elements

When you generate a WSDL file, as described in Generating WSDL and Schema from a Java Interface, a method’s argument are generated as schema elements. The elements have generic names, such as
arg1_string
, as shown:
<xs:element form="unqualified" name="arg1_string" type="xs:string"/>
You can generate schema elements with the actual argument names by adding a JAR file called
ae_rt.jar
to the project's Java build path list of external jars and adding annotations to your interface prior to generating the WSDL.
To generate argument names:
  1. In the Project Explorer, right-mouse click on your project, and select
    Properties > Java Build Path
    .
  2. Select the Libraries tab.
  3. Select
    Add External JARs
    .
  4. Browse to [
    Designer Installation
    ]
    \designer\plugins\org.activebpel.enginep_
    [
    version_number
    ]
    \server\shared\lib
  5. Select
    ae_rt.jar
    , as shown:
  6. Open your Java interface file and add the
    @AeWsdlParam
    annotation to each argument. For example:
    Public interface IMyInterface {    public void execute(    @AeWsdlParam("someValue") String someValue); }
  7. Generate (or regenerate ) a WSDL by right-mouse clicking on a Java interface, and selecting
    Generate WSDL
    .
Process Developer generates the schema element with the argument name; for example:
<xs:element form="unqualified" name="someValue" type="xs:string"/>
Notes:
  • You should not edit the generated WSDL. If you update the Java interface, you must regenerate the WSDL.
  • You do not need to deploy
    ae_rt.jar
    . It is already on the server's
    classpath
    .
  • If you upgrade Process Developer to a new version, you must remove the older version of
    ae_rt.jar
    and re-add the new one.

0 COMMENTS

We’d like to hear from you!