GVAdapterHttpConfiguration

From GreenVulcano Wiki
Revision as of 08:32, 27 February 2012 by Anonymous (talk) (Configuration)
Jump to: navigation, search

The GVHTTPAdapter Element is used by: GVAdapters.

The following table shows the GVHTTPAdapter element's attributes:

Attribute Type Description
type fixed This attribute must assume the value module.
name fixed Module Id always set to HTTP_INBOUND.

Contains the sub-element Configuration.

Configuration

Might contain the sub-elements:

ServletMappings

This element might contain more sub-elements ServletMapping.

The following table shows the ServletMapping element's attributes:

Attribute Type Description
Mapping required The attribute's value can't be null.

Each ServletMapping might contain the following sub-elements:

RetCodeConversionIn

The following table shows the RetCodeConversionIn element's attributes:

Attribute Type Description
RetCodeConversion optional The attribute's admitted values are:
  • ignore
  • 0to1
  • 1to0

RetCodeConversionOut

The following table shows the RetCodeConversionOut element's attributes:

Attribute Type Description
RetCodeConversion optional The attribute's admitted values are:
  • ignore
  • 0to1
  • 1to0

GVConnection

This element contains configuration informations about connection to GreenVulcano® ESB via GVConnector client class.

The following table shows the GVConnection element's attributes:

Attribute Type Description
ConfigFilename required GVC configuration filename.

HTTPTransactions

This element contains the transaction definitions for the managed services.

Might contain the sub-element Transaction.

Transaction

This element contains the transaction definitions for a given service.

All service managed by the HTTPAdapter must have a Transaction element that defines the transaction requirements.

The following table shows the Transaction element's attributes:

Attribute Type Description
system required The attribute's value can't be null.
service required The attribute's value can't be null.
transacted required This parameter defines if a service must be executed in transaction.

The attribute's admitted values are:

  • yes
  • no
timeout optional This parameter defines the transaction timeout in seconds.
close-on-response optional This parameter defines when transaction must be committed: before or after sending the response to the client. The default is before.

The attribute's admitted values are:

  • after
  • before

Might contain the sub-element Description.