Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1.    From the Project Solutions node select the New Solution menu item.

...

2.   Select the SOAP Server Wizard tool and enter or select the Group folder to receive the project file.

...

3.     Enter the project File name. The extension '.soap.prj' is added automatically.

Image Modified

...


4.   Press the OK button.

Image Modified

The project name is used in the creation of the JAR file name and the service and provider class names.

The JAR file contains the generated service and provider classes.

The end point URL is used in the generated WSDL file.

...

5.   To add Operations to the server service, select the Operations tab and right-click the operation panel.

Image Modified

...


6.   Enter Operation name.

...


Image Added

Image Modified

...


7.   To add operation parameters and to set the return parameter, right-click the operation.

Image Modified

Image Modified

The parameter nodes can be marked to accept and handle data in different ways.

Different icons indicate the node types:

Image Modified

Node is ignored.

Image Modified

Node is a field.

Image Modified

Node is a fixed value.

Image Modified

Node is a list.

Image Modified

Node is a list field.

Image Modified

Node is a fragment.

Image Modified

Node is stream file.

...

In the following diagram, the parameter and return parameter has been marked as fields. You can also use the 7.21 LANSA Repository Viewer to drag and drop a LANSA field name onto a node.

Image Modified

...


8.   Press the build button to generate and compile the service. The service and provider classes will be added to the jar file.

...


Image Added

All generated code and compiled classes exist in the compile sub directory.

Files containing service properties and the WSDL document are created in the solution directory and samples are created in the samples sub directory.

Image Modified