Products Downloads


French version


 

Access

To open this page, click on the Java - Web Services tab in one of the following dialog boxes:

Web service production

Data entry

Style

Used to define the Web services implementation type.
The REST option is used to produce Web services in a REST architecture. The RPC, WRAPPED, DOCUMENT or DOCUMENT_JAXWS options are used to produce Web services according to the SOAP standard in a specific style and implementation.


SOAP Web services
Detail of the different styles:
RPC            => RPC/Encoded style                 Underlying framework: Axis1
                                                    Obsolete, do not use.
WRAPPED        => DOCUMENT/Literal Wrapped style    Underlying framework: Axis1
                                                    Obsolete, do not use.
DOCUMENT       => DOCUMENT/Literal style            Underlying framework: Axis2
DOCUMENT-JAXWS => DOCUMENT/Literal style            Underlying framework: Axis2 JAX-WS
                                                    Implementation using annotations.
REST Web Services
REST                                                Underlying framework: CXF JAX-RS
                                                    Implementation using annotations
                                                    Spring configuration.


Note : For SOAP Web services, only DOCUMENT and DOCUMENT_JAXWS styles can be used to produce services with complex input parameters (lists, tables).



Check boxes

Automatic registration

Enable the SOAP Web Services automatic registration option by default.



SOAP services registration

Information relating to the registration of a SOAP Web service in the Adelia environment.


Data entry

Namespace

Pseudo-URL used to name the SOAP Web service components uniquely.


Access point

Access point by default for the SOAP Web service.

Default value:

http://localhost:8080/NomduSite/services if the style is RPC or WRAPPED.

http://localhost:8080/NomduSite/servaxis2 if the style is DOCUMENT or DOCUMENT_JAXWS.


Radio buttons

Default visibility

Sets the default visibility for the registered Web service (i.e. public or private).


REST deployment attributes

Information used when creating a site with the 'Web services provider' option checked.


Data entry

Servlet [url-pattern]

url-pattern of the CXF servlet in charge of managing REST Web services.

This information is included in the web application's deployment descriptor (web.xml) when creating a site.

Default value: /ws/*


Jaxrs:server

Spring configuration information for REST Web services.

This information is included in the web application's Spring configuration file (beans.xml) when creating a site.


Id

Identifier of the Spring server component in charge of REST Web services.

Default value: RestAdelia


Address

URI associated with the Spring server component in charge of REST Web services.

Default value: /


TransportId

Namespace associated with the Spring server component defining the transport layer used for REST Web services.

Default value: http://cxf.apache.org/transports/http


Access point

Calculated information about the base access point to a resource.

Note : The access point (URL) of a REST Web service target resource has the following components:

http://<DomainName>/<WebAppName>/<CXF_url-pattern>/<SpringServerAddress>/<RootResourceURI>/<TargetResourceURI>

with :

<DomainName>: Name of domain hosting the Web application.

<WebAppName>: Web application name.

<CXF_url-pattern>: Url-pattern of the CXF servlet.

<SpringServerAddress>: Address of the Spring server component.

<RootResourceURI>: Root resource URI; Cf. program @Path.

<TargetResourceURI>: Target resource URI; Cf. public procedure @Path.


The base access point is the URL:

http://<DomainName>/<WebAppName>/<CXF_url-pattern>/<SpringServerAddress>


↑ Top of page

  • Aucune étiquette