This section describes the roles of different users and helps new users understand which prerequisites are required for each business service activity.
This section covers the following topics:
With all the functionality and components of Natural Business Services, it is important to understand which components are required for your scenario. Every development activity requires the Business Service repository and the Administration subsystem and every consumer requires an existing business service. All business services are created using the Natural Business Services Natural plug-in. As this plug-in does not require EntireX, you can use Natural Development Server (NDV) for development. EntireX is required for runtime environments.
At a high level, the minimum tasks required to produce a viable business service are:
Install Natural Business Services on the client and the server.
Ensure connectivity exists through NDV (for development activities) and EntireX (for development and/or runtime activities).
Ensure security is set for users and the development environments.
Create the business service.
Consume the business service through one of the following options:
Java (via Eclipse)
Visual Studio
Invoke the business service through one of the consumers.
This section describes the prerequisites required for each business service activity. The following topics are covered:
The following components are required to create a business service with the Natural Business Services Natural plug-in:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | NDV | X |
The following components are required to create a business service with the Natural Business Services Eclipse plug-in:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X |
The following components are required to create a Web service to be used with IIS (Internet Information Server) and without a client SDK, such as Visual Studio or Eclipse:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X | X |
Tip:
Use these Web services to generate web applications created with
HTML, JavaScript, and XSL. For more information, see
Build a
Web Application.
The following components are required to create a Java application or Web service:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | X | EntireX |
The following components are required to create a .NET application or Web service:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | X | NDV or EntireX | X |
The following components are required to execute a web application for Web services created without using an SDK:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X | X |
The following components are required to execute a Java application:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X |
The following components are required to execute a Java Web service:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X |
The following components are required to execute a .NET application:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X |
The following components are required to execute a .NET Web service that works with ASP.NET:
Natural Business Services | Natural for Windows | Eclipse (Java) | Visual Studio .NET | Communication Tool | IIS | .NET Runtime | Java Runtime |
---|---|---|---|---|---|---|---|
X | EntireX | X |
The following types of security are available when using the EntireX communication middleware:
Security Type | Description |
---|---|
NONE | Uses no security. |
NSC | Uses Natural Security to validate users and check library access. (Natural Business Services definitions are used to check authorizations.) |
APPL | Uses Natural Business Services to validate users and check authorization. |
SAF | Uses SAF to validate users and check authorizations. |
SAF-NSC | Uses SAF for user authentication, Natural Business Services for user, group, service, and method validation. |
SAF-APPL | Uses SAF for user authentication, Natural Security for user and group validation, and Natural Business Services for service and method validation. |
Note:
Depending on your configuration, use either NSC or APPL with
Natural Development Server (NDV).
As most sites have both a production and development environment, the decision about which type of security to use can be postponed for a while (although you must eventually choose a security type).
For more information on security, see Defining Users and Security Groups.
Once you know which components are required for your site, you can determine which tasks must be done and how to verify that a task is completed. This section covers the following topics:
This section describes the products and procedures required to install Natural Business Services on the server and on the client.
The following products are required to install Natural Business Services on the server:
Natural Development Server (NDV)
Natural Business Services (NBS)
Note:
Natural Security and
EntireX are optional.
For information on installing Natural Business Services on the server, see:
To verify that Natural Business Services is installed on the server:
Ensure that Natural for Windows can connect to the server via NDV.
Ensure that users and groups are defined in NBS and, optionally, Natural Security.
Optionally, ensure that the attach, dispatch, and security servers can be initiated and pinged.
The following products are required to install Natural Business Services on the client:
Natural for Windows
Business Service plug-in (repository explorer)
For information on installing Natural Business Services on the client, see Natural Business Services Installation on Windows.
To verify that the plug-in is installed and activated on the client:
Access the Business Service repository explorer.
Select Domains > DEMO.
Open the context menu for Customer.
Select
on the submenu.Select the Browse method.
Select
.If data comes back, there is connectivity to a business service.
This section describes the products and procedures required to set up, deploy, and monitor the development environment. The following products are required for these tasks:
Natural for Windows
Business Service plug-in (repository explorer)
To verify that the products are operational:
Add a new domain.
Define a new steplib chain that includes all your development libraries required for the new domain.
Associate the new steplib chain with the new domain.
Define the domain, service, and method-level security.
Perform audit activities (as required).
Deploy services (as required).
For information on the Eclipse plug-in, see Natural Business Services Eclipse Plug-in
For information on the Natural plug-in, see Natural Business Services Natural Plug-in
This section describes the products and procedures required to create a business service using the Eclipse and Natural plug-ins.
The following products are required to create a business service in the Eclipse plug-in:
Eclipse SDK
Natural Business Services Eclipse plug-in
To verify that the plug-in is operational:
Invoke the wizard and create a new business service.
Use the Service Repository Explorer to test the business service.
For information, see Natural Business Services Eclipse Plug-in.
The following products are required to create a business service in the Natural plug-in:
Natural for Windows
Natural Business Services Natural plug-in
To verify that the plug-in is operational:
Invoke the wizard and create a new business service.
Use the Business Service repository explorer to test the business service.
For information, see Natural Business Services Natural Plug-in.
This section describes the products and procedures required to configure the client in the Eclipse and Natural plug-ins, and in the Visual Studio add-in.
The following product is required to configure the client in the Eclipse plug-in:
Natural Business Services Eclipse plug-in
To verify that the plug-in is operational:
Open the context menu for Default Broker in the repository explorer.
Select
on the submenu.The Connection Configuration Wizard is displayed.
Select Default Broker from Connection ID.
Type the broker ID for the default broker in Broker ID.
Type the port number for the default broker in Port.
Select
and verify that there is connectivity.For information, see Configure Connections.
The following product is required to configure the client in the Natural plug-in:
Natural Business Services Natural plug-in
Note:
The NBS attach server must be available to complete this
test.
To verify that the plug-in is operational:
Select
from the menu.Select Default Broker from Connection ID.
Type the broker ID for the default broker in Broker ID.
Type the port number in Port.
Select
and verify that there is connectivity.For information, see Access Business Services.
The following product is required to configure the client in the Visual Studio add-in:
Natural Business Services Natural plug-in
Note:
The NBS attach server must be available to complete this
test.
To verify that the plug-in is operational:
Select
from the menu.Select Default Broker from Connection ID.
Type the broker ID for the default broker in Broker ID.
Type the port number in Port.
Select
and verify that there is connectivity.For information, see Configure Connections.
This section describes the products and procedures required to set up the Internet Information server in the Natural plug-in and in the Visual Studio add-in.
The following products are required to set up the Internet Information server in the Natural plug-in:
Internet Information Server (IIS)
Natural Business Services Natural plug-in
To verify that IIS is operational:
Open the Business Service explorer window in the Natural plug-in.
For information, see Using the Business Service Repository.
Expand the Business Services node.
The Domains and Configuration nodes are displayed.
Expand the Domains node.
The server retrieves the list of business service domains for the specified connection.
Select the Demo domain.
The server retrieves the list of business services in the Demo domain.
Open the context menu for OrderTraditional.
Select
on the submenu.Test the Browse method.
If the method cannot be tested, the reason may be that IIS has not been set up correctly or that the Web.config file in the demo folder (under wwwroot) is using a different connection ID than the active one in the current configuration..
The following products are required to set up the Internet Information server in the Visual Studio add-in:
Internet Information Server (IIS)
Natural Business Services Visual Studio add-in
To verify that IIS is operational:
Open the Business Service explorer window in the Visual Studio add-in.
For information, see Use the Business Service Explorer.
Expand the Business Services node.
The Domains and Configuration nodes are displayed.
Expand the Domains node.
The server retrieves the list of business service domains for the specified connection.
Select the Demo domain.
The server retrieves the list of business services in the Demo domain.
Open the context menu for OrderTraditional.
Select
on the submenu.Test the Browse method.
If the method cannot be tested, the reason may be that IIS has not been set up correctly or that the Web.config file in the demo folder (under wwwroot) is using a different connection ID than the active one in the current configuration..
This section describes the products and procedures required to create a client proxy in the Eclipse plug-in and in the Visual Studio add-in.
The following products are required to create a client proxy in the Eclipse plug-in:
Eclipse SDK
Natural Business Services Eclipse plug-in
To verify that the plug-in is operational:
Open the Business Services repository explorer.
Open the context menu for a business service.
Select
.The Create Class wizard is displayed.
Select
to generate the proxy class using the defaults.Note:
For more information, see
Generate
a Client Proxy Class.
The following products are required to create a client proxy in the Visual Studio add-in:
Visual Studio 2005 or higher
Natural Business Services Visual Studio add-in
To verify that the product is operational:
Open the Business Services repository explorer.
Define a connection to a remote Natural Business Services environment.
Use the Create Class wizard to generate a class for a business service.
Note:
For more information, see
Creating a
Client Proxy Class.
This section describes the products and procedures required to create a Web service in the Eclipse plug-in and in the Visual Studio add-in (to generate in Visual Basic .NET).
The following products are required to create a Web service in the Eclipse plug-in:
Eclipse SDK
Natural Business Services Eclipse plug-in
To verify that the plug-in is operational:
Open the context menu for a business service in the NBS Repositories view.
Select
.The Configure generated class panel for the Create Class wizard is displayed.
Select Generate Web service class.
Select
to generate the proxy class using the defaults.Note:
For more information, see
Generate
a Client Proxy Class.
The following products are required to create a Web service in the Visual Studio add-in for Visual Basic .NET:
Visual Basic .NET
Natural Business Services Visual Studio add-in
To create a Web service:
Create an ASP.NET Web services project.
Write code to access and expose the methods for a previously generated Web service.
Note:
For more information, see SAMPLES in the Natural
Business Services Installation folder.
To test a Web service:
Open the context menu for a Web service in the explorer.
Select
.Select a SOAP method to test.
Note:
For more information, see
Test a Web
Service.
To create a web application:
Open the context menu for the Web Applications node in the explorer.
Tip:
Typically the word "localhost" is used
in the node name.
Select
.The Web Application wizard panel is displayed. This wizard will set up an environment for your new web application.
Note:
For more information, see
Create
the Web Application Project.
To create a web page:
Select the node for a web application listed in the explorer.
Open the context menu for the Pages node.
Select
.The Web Page wizard panel is displayed.
Create a web page.
Note:
For more information, see
Generate a
Web Page.
To create a menu:
Select the node for a web application listed in the repository explorer.
Open the context menu for Menu.
Select
.The Menu wizard panel is displayed.
Create the menu.
Note:
For more information, see
Generate a
Menu.