Versions Compared

Key

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

...

Name

POST_TO_URI

Possible Values

"true", "false"

Default Behavior

false

Scope

axis2

Description

This property makes the request URL that is sent from WSO2 Enterprise Integrator(WSO2 EI) the ESB profile a complete URL. When set to false only the context path will be included in the request URL that is sent. It is important that this property is set to true when WSO2 EI the ESB profile needs to communicate with the back-end service through a proxy server.

Example

Code Block
<property name="POST_TO_URI" scope="axis2" value="true"/>

...

Name

FORCE_SC_ACCEPTED

Possible Values

"true", "false"

Default Behavior

false

Scope

axis2

Description

When set to true, this property forces a 202 HTTP response to the client immediately after WSO2 EI the ESB profile receives the message so that the client stops waiting for a response.

Example

Code Block
<property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/>

...

Name

NO_ENTITY_BODY

Possible Values

none

Default Behavior

In case of GET and DELETE requests this property is set to true.

Scope

axis2

Description

This property should be set if a user wants to generate a response from WSO2 EI the ESB profile to a request without an entity body, for example, GET request.

Info

If using the PayloadFactory mediator, this property does not need to be manually set since it is done automatically by the mediator.

Example

Code Block
<property name="NO_ENTITY_BODY" action="remove" scope="axis2"/>

...

Name

FAULTS_AS_HTTP_200

Possible Values

"true", "false"

Default Behavior

false

Scope

axis2

Description

When WSO2 EI receives a soap fault as a HTTP 500 message, WSO2 EI the ESB profile will forward this fault to client with status code 200.

Example

Code Block
<property name="FAULTS_AS_HTTP_200" value="true" scope="axis2"/>

...

Name

REQUEST_HOST_HEADER

Possible Values

string

Default Behavior

WSO2 EI The ESB profile will set hostname of target endpoint and port as the HTTP host header

Scope

axis2

Description

The value of this property will be set as the HTTP host header of outgoing request

Example

Code Block
<property name="REQUEST_HOST_HEADER" value="www.wso2.org" scope="axis2"/>

...

Name

FORCE_HTTP_CONTENT_LENGTH

Possible Values

"true", "false"

Default Behavior

false

Scope

axis2

Description

This property allows the content length to be sent when WSO2 EI the ESB profile sends a request to a back end server. When HTTP 1.1 is used, this property disables chunking and sends the content length. When HTTP 1.0 is used, the property only sends the content length.

This property should be set in scenarios where the backend server is not able to accept chunked content. For example, in a scenario where a pass-through proxy is defined and the backend does not accept chunked content, this property should be used together with the COPY_CONTENT_LENGTH_FROM_INCOMING property, to simply add the content length without chunking.

Warning

This property can cause performance degradation. It should only be used with message relay.

Example

Code Block
languagexml
<property name="FORCE_HTTP_CONTENT_LENGTH" scope="axis2" value="true"></property>

...