[Users] BC-FTP

jihad22 duncanbleu at hotmail.com
Wed Mar 16 11:37:20 CET 2011


For the jbi.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
	JBI descriptor for the Petals' "petals-bc-ftp" component (FTP).
	Originally created for the version 3.3 of the component.
 -->
<jbi:jbi version="1.0" 
	xmlns:ftp="http://petals.ow2.org/components/ftp/version-3"
	xmlns:generatedNs="http://petals.ow2.org/components/ftp/version-3"
	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	<!-- Import a Service into Petals or Expose a Petals Service => use a BC. -->
	<jbi:services binding-component="true">
	
		<!-- Import a Service into Petals => provides a Service. -->
		<jbi:provides 		
			interface-name="generatedNs:FtpInterface"
			service-name="generatedNs:FtpJihad"
			endpoint-name="FtpTestEndpoint">
	
			<!-- CDK specific elements -->
			<petalsCDK:timeout>30000</petalsCDK:timeout>
			<petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl>
			<petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject>
			<petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties>
			<petalsCDK:forward-attachments>false</petalsCDK:forward-attachments>
			<petalsCDK:wsdl>FtpService.wsdl</petalsCDK:wsdl>
		
			<!-- Component specific elements -->	
			<ftp:server>127.0.0.1</ftp:server>
			<ftp:port>21</ftp:port>
			<ftp:user>jihad</ftp:user>
			<ftp:password>jihad</ftp:password>
			<ftp:folder>/</ftp:folder>
			<ftp:transfer-type>auto</ftp:transfer-type>
			<ftp:connection-mode>active</ftp:connection-mode>
			<ftp:delete-processed-files>true</ftp:delete-processed-files>
			<ftp:overwrite>true</ftp:overwrite>		
			
		</jbi:provides>
	</jbi:services>
</jbi:jbi>




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31763#31763

-------------------- m2f --------------------






More information about the Users mailing list