Enterprise Manager logoEM: Web - App Deployment > SOAP Web Services Configuration

Description

The SOAP Web Services Configuration pane displays all defined SOAP services and allows administrators to select a service to configure its version, working directory, configuration file, XML namespace, service port, and exposed methods, enabling precise control over service definitions and execution behavior within Enterprise Manager.

Location

Enterprise Manager logoEM NavigatorWebApp DeploymentSOAP Web Services Configuration

Toolbar

Button Function
Publish After creating a new service, it must be published to the Web Server. Services are published automatically when BBj starts.
Adds new or from WSDL Web Services.
Removes/deletes selected Web Services.
Edits selected Web Service(s).
refresh button Refreshes the displayed list of Web Services and their status.
Creates a new folder within the current displayed directory.
Enables to choose a folder/file from your local system.

SOAP Web Services

Lists all configured SOAP web services and provides controls to manage, publish, and modify them.

SOAP Web Services Settings

Value Description
Name Name of the Web Service(s).

Adding New Web Service

Clicking the icon opens the Create New SOAP Web Service dialog, where users enter a service Name, select the service Type, and click Finish to create it. The newly created service immediately appears in the main SOAP Web Services list, and selecting it opens the SOAP Web Service Config pane, where users configure version, working directory, configuration file, XML namespace, service port, and define methods, calls, and parameters required for the service to operate.

SOAP Web Service Information Settings

Settings Description
Name Name of the Web Service.
Type

The user choose how the SOAP web service will be created.

Type Description
Using Subroutines The web service from BBj subroutines defined within the application code.
Using a Custom Class(Require SAM License) The web service from a Java custom class requiring SAM license.
New From WSDL The web service by importing definitions directly from an existing WSDL.

SOAP Web Service Config Settings

The SOAP Web Service Config pane displays the details necessary for running your application, as well as a list of all methods published by this Web Service.

SOAP Web Service Config Settings List

Settings Description
Name

Name of the Web Service.

Version

The SOAP service definition version to use.

Value Description
1 The original service configuration format.
2 The newer format with extended structure and capabilities used by updated service implementations.

Working Directory

Clicking the icon opens directory browsing, selecting a path sets Working Directory, while clicking the icon opens the Create New Folder dialog to create and name a new folder before selecting a file from that location.

Config File

The configuration file to use for running the Web Service's interpreter. Clicking the icon opens the file browser to select an existing configuration file, while clicking the icon opens the Create New Folder dialog to create and name a new folder before selecting a file from that location.

XML Namespace

The namespace under which the Web Service will be published.

Service Port

The non-secure port for the service, accessible via HTTP. (Should be a number between 1024 and 65535)

SSL Service Port

The secure port for the service, accessible via HTTPS.

Context

The context for the service, configurable via Context Configuration. The default is the root context.

Value Description
root The root web application context for default server resource mapping usage.
Goldmine The context for integrating GoldMine web resources access support.
htdocs Directory context for serving static web content files directly.
BBJSP The context for executing BBj Server Pages within web applications.

Authentication Method

The method of a generated Java class that the web service will use for authentication. The method must be defined in either the user's object, subroutine program, or WSDL. It must take a username and password and return a boolean value indicating whether the user has been authorized to use the service.

Status

Specifies whether the service is enabled or disabled. If the service is enabled, it will return HTTP 200 and present a WSDL to the user when its URL is invoked with the wsdl parameter. If it is disabled, the service will return HTTP 404 (File not Found).

Exception Class

A custom exception class for the service.

SSCP

The Session-Specific Classpath assigned to the BBj session, enabling the session to load and use application-specific Java classes and libraries. See: Session-Specific Classpath.

Value Description
<default> The default SSCP, applying the system’s configured classpath when no custom SSCP is specified.
addon The SSCP, applying its defined classpath entries for addon libraries and extensions.
barista The SSCP, applying its defined classpath entries for Barista framework libraries and classes.
basisdemos The SSCP, applying its defined classpath entries for basisdemos programs and resources.
bbj_default The SSCP, applying the default BBj classpath inherited from internal and configured JARs.
graffiti The SSCP, applying its defined classpath entries for graffiti libraries and application classes.

SOAP Web Service Config: Add Method

The Add Method panel manages the list of SOAP service methods. Clicking the icon inserts a <new> entry into the method list for definition, while selecting an existing method(s) and clicking the icon removes it from the list.

SOAP Web Service Config: Enter the Method Name and Call

The Method configuration section allows defining the method name and call signature for the selected SOAP web service. Clicking the icon inserts a <new> parameter row in the parameters table, enabling users to add and define additional method parameters. Each added entry can be edited to specify the parameter name and type, and selecting an existing parameter from the row then clicking icon removes/deletes it from the list.

Method Name and Call Panel Settings

Settings Description
Method Name Selecting a method from the method panel populates the Method Name field, then the name can be edited.
Call Specific call for method, which is populated in the field, when method name is selected, if needed it can be edited.

SOAP Web Service Config: Usage Details

Selecting BBj CALL opens the Server Invocation String dialog displaying the generated BBj call syntax, while selecting Java Method Signature opens the dialog showing the corresponding Java method signature. Clicking OK in either dialog confirms the selection and saves the displayed invocation details into the Usage Details section for the configured method.

Usage Details

Value Description
BBj CALL Generates code that executes your program when the Web Service is invoked.
Java Method Signature Generates code that appears on the public Web Service interface when the Web Service is published.

Usage Details: Column Settings

The Usage Details parameter table defines return index, parameter names, and data types required by the selected method, enabling precise mapping of inputs and outputs for accurate SOAP service execution.

Column Description

Ret. Idx(Return Index)

Identifies the parameter that will be returned by the SOAP method. Selecting the checkbox marks the corresponding parameter as the return value, and the system automatically assigns its zero-based index based on the parameter’s position in the list.

Parameter Name

Name of the parameter.

Parameter Type

Type of the parameter: BBjString, BBjNumber, BBjInt.

Note: Once all configuration fields and sections are completed, clicking Publish on the top right section of the pane saves the SOAP Web Service configuration and activates it. The newly created service is then listed in the Name column of the SOAP Web Services main pane, confirming successful creation and availability.

See Also

BBjAdminBase

Consuming Web Services

From Legacy to Enterprise With BBj Web Services

Context Configuration

SSL Configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Enterprise Manager - SOAP Web Services Configuration

To view this topic for the preceding Enterprise Manager, see Enterprise Manager Java App - Web Service Configuration.

Description

The Enterprise Manager allows the administrator to change various configuration settings for SOAP Web Services.

To access SOAP Web Services Configuration, expand the Web folder and double-click SOAP Web Services Configuration in the BBj EM Navigator. The SOAP Web Services tab will open to the right.

SOAP Web Services Configuration

The SOAP Web Services Configuration screen displays all currently configured Web Services.

Selecting from the icons at the top right, the administrator can add, edit, or delete a Web Service.


SOAP Web Service Config

The SOAP Web Service Config screen displays the details necessary for running your application, as well as a list of all methods published by this Web Service.  

Setting Description

Name

Name of the Web Service.

Working Directory

Starting directory of BBj Service.

Config File

Config file to use for running the Web Service's interpreter.

XML Namespace

The namespace under which the Web Service will be published.

Service Port

The non-secure port for the service, accessible via HTTP. (Should be a number between 1024 and 65535)

SSL Service Port

The secure port for the service, accessible via HTTPS.

Context

The context for the service, configurable via Context Configuration. The default is the root context.

Authentication Method

The method of a generated Java class that the web service will use for authentication. The method must be defined in either the user's object, subroutine program, or WSDL. It must take a username and password and return a boolean value indicating whether the user has been authorized to use the service.

Status

Specifies whether the service is enabled or disabled. If the service is enabled, it will return HTTP 200 and present a WSDL to the user when its URL is invoked with the "wsdl" parameter. If it is disabled, the service will return HTTP 404 (File not Found).

Exception Class

A custom exception class for the service.

Method Name

The name of the method.

Call

Specific call for method.

Usage Details

Clicking one of these buttons displays the BBj code or Java code for the method.

Ret. Idx(Return Index)

The zero based index of which call parameter to return.

Parameter Name

Name of the parameter.

Parameter Type

Type of the parameter: BBjString, BBjNumber, BBjInt.

Add Method

Click the “+” below the left panel to create a <new> method.

Enter the Method Name and Call.

Add parameters to the method (BBjString, BBjNumber, BBjInt) by clicking the "+" to the left of the parameters table.

Click [BBj CALL] (shown below) or [Java Method Signature] to display the code.


BBj Call

Generates code that executes your program when the Web Service is invoked.

Java Method Signature

Generates code that appears on the public Web Service interface when the Web Service is published.

Copy the displayed code and paste where needed.

Close the tab to save your addition.

Edit Method

Highlight the method in the left panel, and the properties will appear on the right.

Edit the details of the specific Web Service method.

Close the tab to save your addition.

See Also

Consuming Web Services

From Legacy to Enterprise With BBj Web Services