...
You can use the pinnedServers
attribute to specify the list of Synapse servers where this proxy service should be deployed. If there is no pinned server list, the proxy service is started in all server instances. The pinnedServers
attribute takes the Synapse server names separated by commas or spaces. The Synapse server name is specified in the system property SynapseServerName
or through the axis2.xml
parameter SynapseConfig.ServerName
. If neither of these are set, the server hostname is used, or it defaults to localhost
. You can give a name to a Synapse server instance by specifying the property -DSynapseServerName=<ServerName>
when you execute the startup script wso2serverintegrator.bat
or wso2serverintegrator.sh
, or by editing wrapper.conf
to do this where Synapse is started as a service.
...
Following are additional service parameters you can use:
Parameter | Value | Default | Description | |||||
---|---|---|---|---|---|---|---|---|
useOriginalwsdl | true / false | false | If this parameter is set to
| |||||
modifyUserWSDLPortAddress | true / false | true | (Effective only with useOriginalwsdl=true) If true (default) modify the port addresses to current host. | |||||
ApplicationXMLBuilder.allowDTD | true / false | true | If this parameter is set to true , it enables data type definition processing for the proxy service. Data type definition processing is disabled in the Axis2 engine due to security vulnerability. This parameter enables it for individual proxy services. | |||||
enablePublishWSDLSafeMode | true / false | true |
If this parameter is set to |
when deploying a proxy service, even though the WSDL is not available, you can prevent the proxy service being faulty. However, the deployed proxy service will be unaccessible since the WSDL is not available.
| |||
showAbsoluteSchemaURL | true/false | true | If this parameter is set to true , the absolute path of the referred schemas of the WSDL is shown instead of the relative paths. |
showProxySchemaURL | true/false |
If this parameter is set to true , the full proxy URL will be set as the prefix to the schema location of the imports in proxy WSDL. |
The following service parameters are for specific transports:
Transport | Require | Parameter | Description |
---|---|---|---|
Optional | transport.jms. | The JMS connection factory definition (from axis2.xml) to be used to |
Optional | transport.jms. | The JMS destination name (Defaults to the service name). |
Optional | transport.jms. | The JMS destination type. Accept values "queue" or "topic." |
Optional | transport.jms. | The destination where a reply will be posted. |
Optional | transport.jms. | The wrapper element for the JMS message. | |
Required | transport.vfs. | The primary File (or Directory) URI in the vfs* transport format, for this service. |
Required | transport.vfs. | The expected content type for files retrieved for this service. The VFS
|
Optional | transport.vfs. | A file name regex pattern to match files against a directory specified |
Optional | transport. | The poll interval (in seconds). |
Optional | transport.vfs. | DELETE or MOVE. |
Optional | transport.vfs. | The directory to move files after processing (i.e. all files process |
Optional | transport.vfs. | DELETE or MOVE. |
Optional | transport.vfs. | The directory to move files after errors (i.e. some of the files |
Optional | transport.vfs. | DELETE or MOVE. |
Optional | transport.vfs. | The directory to move after failure (i.e. all files fail). |
Optional | transport.vfs. | Reply file URI. |
Optional | transport.vfs. | Reply file name (defaults to response XML). |
Optional | transport.vfs. | Timestamp prefix format for processed file name. |
Excerpt | ||
---|---|---|
| ||
The description of Proxy Services in the WSO2 ESB. |