Petals-BC-SOAP 4.x

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (19)

View Page History



|| Parameter || Description || Default \\ || Required ||
| soap-version | The SOAP version used to create SOAP messages. \\
Possible values are: true, false. | {center}false{center} | {center}Yes{center} |
| synchronous-timeout | The timeout value when invoking an external service. \\ {info:title=Note}This value overrides the CDK value.{info} \\
The value is expressed in milliseconds. It must be provided in multiples of 100. | {center}30000{center} | {center}No{center} |
| cleanup-transport | Cleanup the transport after the call of the external Web Service. \\
Not cleaning up the transport can cause timeouts on large number of calls. \\



|| Parameter || Description || Default || Required ||
| wsa-to | Default address of the external Web Service to send JBI messages to. | {center}\-{center} | {center}No{center} |
* Put the SOAP headers into the protocol header JBI message property.

By default, the component is configured to handle URI with the [http://localhost:8084/petals/services/]<service-name> pattern (this URI can be configured in the [SOAP component configuration|petalsesb:Petals-BC-SOAP 4.x#componentConfiguration]). It also handles ?wsdl calls; the WSDL description is retrieved from the endpoint and sent back to the consumer.

By default, the list of services is available at [http://localhost:8084/petals/services/listServices] URI (it can also be configured in the [SOAP component configuration|petalsesb:Petals-BC-SOAP 4.x#componentConfiguration]).

{warning}



|| Parameter || Description || Default || Required ||
| service-name | Web Service name to expose. | {center}\-{center} | {center}No{center} |
| soap-action | The SOAP action QName to be used for the Web Service, will override the JBI message operation. | {center}\-{center} | {center}No{center} |
| synchronous-timeout | The timeout value when invoking a service in the JBI bus. \\ {info:title=Note}This value overrides the CDK value.{info} The value is expressed in milliseconds. | {center}\-{center} | {center}No{center} | \\
The value is expressed in milliseconds. | {center}\-{center} | {center}No{center} |
| mode | The mode to be used to receive messages. \\
Possible values are: SOAP for basic Web Service messages, JSON for JSON service messages and REST for REST service messages. | {center}SOAP{center} | {center}Yes{center} |



|| Parameter || Description || Default || Required ||
| service-parameters | Additional XML configuration for created Axis2 service as CDATA, same as the Axis2 services.xml file one. | | {center}No{center} |



|| Parameter || Description || Default || Required ||
| address | Address of the external Web Service to send JBI messages to. | {center}\-{center} | {center}Yes{center} |
| synchronous-timeout | The timeout value when invoking an external service. \\ {info:title=Note}This value override the CDK value.{info} The value is expressed in milliseconds. | | {center}No{center} |
| synchronous-timeout | The timeout value when invoking an external service. \\ {info:title=Note}This value overrides the CDK value.{info} The value is expressed in milliseconds. It must be provided in multiples of 100. | 30000 | {center}No{center} |
| mode | The mode to be used to send SOAP message to the specified address. \\
Possible values are: SOAP for basic Web Service calls, JSON for JSON service calls and REST for REST service calls. | {center}SOAP{center} | {center}Yes{center} |



|| Parameter || Description || Default || Required ||
| wsa-to | Default address of the external Web Service to send JBI messages to. It is the same use than soap:address for the REST mode and it is overridden by soap:address if the both are specified. | | {center}No{center} |
** POST/PUT/DELETE: The JBI message is copied from the HTTP body (only XML contents are supported)

By default, the component is configured to handle URI with the [http://localhost:8084/petals/services/]<service-name> pattern (this URI can be configured in the [SOAP component configuration|petalsesb:Petals-BC-SOAP 4.x#componentConfiguration]). It also handles ?wsdl calls; the WSDL description is retrieved from the endpoint and sent back to the consumer.

h2. Configuration



|| Parameter || Description || Default || Required ||
| service-name | Web Service name to expose. | {center}\-{center} | {center}No{center} |
| synchronous-timeout | The timeout value when invoking a service in the JBI bus. \\ {info:title=Note}This value overrides the CDK value.{info}The value is expressed in milliseconds. | {center}\-{center} | {center}No{center} |
| mode | The mode to be used to receive messages. \\
Possible values are: SOAP for basic Web Service messages, JSON for JSON service messages and REST for REST service messages. | {center}SOAP{center} | {center}Yes{center} |



|| Parameter || Description || Default || Required ||
| service-parameters | Additional XML configuration for created Axis2 service as CDATA, same as the Axis2 services.xml file one. | | {center}No{center} |
h3. Component descriptor

The JMS transport layer must be set in the component jbi.xml file (cf [SOAP component configuration|petalsesb:Petals-BC-SOAP 4.x#componentConfiguration]):
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>



|| Parameter || Description || Default || Required ||
| http-port | Port of the embedded Jetty HTTP server. | {center}8084{center} | {center}No{center} |