<?xml version="1.0"?>
<quickserver>
    <!-- the name of the server -->
	<name>SoapServer v 0.27</name>
	
	<!-- ip address and port the server should listen on -->
	<port>8090</port>
	<bind-address>0.0.0.0</bind-address>
	
	<!-- the jSoapServer class that is responsible for the command handling -->
	<client-event-handler>org.jSoapServer.SoapHandler</client-event-handler>
	<client-binary-handler>org.jSoapServer.SoapHandler</client-binary-handler>	
	
	<!-- the jSoapServer class where the request data is stored -->
	<client-data>org.jSoapServer.SoapData</client-data>

	<!-- the data mode that is used by jSoapServer -->
	<default-data-mode>
		<data-type-in>Binary</data-type-in>
		<data-type-out>Binary</data-type-out>
	</default-data-mode>

	<!-- if java NIO should be used -->
	<server-mode>
		<blocking>true</blocking>
	</server-mode>
	
	<!-- connection timeout in milliseconds -->
	<timeout>120000</timeout>
	<timeout-msg>-ERR Timeout</timeout-msg>

	<max-connection>-1</max-connection>
	<max-connection-msg>Server Busy\nMax Connection Reached</max-connection-msg>

	<console-logging-level>WARNING</console-logging-level>
	<console-logging-formatter>org.quickserver.util.logging.MiniFormatter</console-logging-formatter>
	
	<object-pool>
		<max-active>-1</max-active>
		<max-idle>50</max-idle>

		<thread-object-pool>
			<max-active>200</max-active>
			<max-idle>50</max-idle>
		</thread-object-pool>

		<client-handler-object-pool>
			<max-active>-1</max-active>
			<max-idle>50</max-idle>
		</client-handler-object-pool>

		<byte-buffer-object-pool>
			<max-active>500</max-active>
			<max-idle>50</max-idle>
		</byte-buffer-object-pool>

		<client-data-object-pool>
			<max-active>-1</max-active>
			<max-idle>50</max-idle>
		</client-data-object-pool>
	</object-pool>	
	
	<communication-logging>
		<enable>true</enable>
	</communication-logging>

	<init-server-hooks>
		<class-name>org.jSoapServer.SetupLoggingHook</class-name>
	</init-server-hooks>

	<!-- Config QSAdminServer -->
	<qsadmin-server>
		<port>9080</port>
		<bind-address>127.0.0.1</bind-address>

		<command-plugin>org.jSoapServer.QSAdminSoapPlugin</command-plugin>

		<command-shell>
			<enable>true</enable>
		</command-shell>

		<communication-logging>
			<enable>false</enable>
		</communication-logging>

		<access-constraint>
		  <ip-filter> 
			<enable>false</enable>
			<allow-access>true</allow-access>
			<ip-collection>
			  <client-ip-address>127.0.0.1</client-ip-address> 
			</ip-collection>
		  </ip-filter> 
		</access-constraint> 
	</qsadmin-server>
	<!-- Config QSAdminServer -->
</quickserver>
