Sample configuration file for the Web Services (SOAP) Output adapter.
Here is a sample configuration file for a simple output adapter.
<?xml version="1.0"?>
<Adapter>
<Name>Example SOAP webservice output adapter</Name>
<Description>This is an example SOAP output adapter.</Description>
<Modules>
<Module type="espconnector">
<InstanceName>StockTraderSubscriber</InstanceName>
<Name>EspSubscriber</Name>
<Next>StockTraderServiceTransporter</Next>
<Parameters>
<EspSubscriberParameters>
<ProjectName>StockTraderProject</ProjectName>
<StreamName>tradesOut</StreamName>
<!--
<GDMode>false</GDMode>
<GDKeyColumnName>gdKey</GDKeyColumnName>
<GDOpodeColumnName>gdOpcode</GDOpodeColumnName>
<GDBatchSize>5</GDBatchSize>
<GDPurgeInterval>300</GDPurgeInterval>
<GDControlStream>W1_truncate</GDControlStream>
-->
</EspSubscriberParameters>
</Parameters>
</Module>
<Module type="transporter">
<InstanceName>StockTraderServiceTransporter</InstanceName>
<Name>SOAPOutputTransporter</Name>
<Polling>
<Enabled>true</Enabled>
<TimeInterval>20000</TimeInterval>
</Polling>
<Parameters>
<SOAPOutputTransportParameters>
<webservice name="StockTraderService">
<urls>
<wsdlURL>http://localhost:8080/axis2/services/StockTraderService?wsdl</wsdlURL>
<!-- the serviceURL is only required if you wish to call the service at a different endpoint than
is specified in the wsdl (e.g. for testing or tcpMon)
<serviceURL>http://localhost:8081/axis2/services/StockTraderService</serviceURL>
-->
</urls>
<serviceTimeout>60000</serviceTimeout>
<serviceRetries>2</serviceRetries>
<request action="executeTrade"/>
<mappingFile>stockTraderMappings.xml</mappingFile>
</webservice>
<workingDir>/tmp/adapter/soap</workingDir>
<!--
<proxy>
<host></host>
<port></port>
<nonProxyHosts>localHost|127.0.0.1</nonProxyHosts>
</proxy>
-->
</SOAPOutputTransportParameters>
</Parameters>
</Module>
</Modules>
<EspProjects>
<EspProject>
<Name>StockTraderProject</Name>
<Uri>esp://localhost:19011/w1/p1</Uri>
<Security>
<User></User>
<Password></Password>
<AuthType>user_password</AuthType>
<!--
<RSAKeyStore>/keystore/keystore.jks</espRSAKeyStore>
<RSAKeyStorePassword></espRSAKeyStorePassword>
-->
<!--
<KerberosKDC>KDC</espKerberosKDC>
<KerberosRealm>REALM</espKerberosRealm>
<KerberosService>service/instance</espKerberosService>
<KerberosTicketCache>/tmp/krb5cc_user</espKerberosTicketCache>
-->
<EncryptionAlgorithm>RSA</EncryptionAlgorithm>
</Security>
</EspProject>
</EspProjects>
<GlobalParameters></GlobalParameters>
</Adapter>