Hi again Petals Padawan. Glad to see you're still on board \!
For your 3rd day, you will connect Petals to an FTP server, and expose the created FTP service as a SOAP web-service, outside Petals ESB.
{panel:title=Last tested with}
* Petals ESB 3.1
* Petals Studio 1.1.0
* Petals SE RMI 1.1.1
* Petals BC SOAP 4.0.2
* Petals Webconsole 2.0.3
* Tomcat 6.0.29
* JDK 6 update 20
*Added in this tutorial :*
* Petals BC FTP 3.2.1
* soapUI 3.6
{panel}
h2. Deploy a FTP Service Unit
*Configure and deploy a FTP Service-Unit for* *[ftp.petalslink.com]*
# Start Petals ESB.
# Launch Petals Studio.
# File => New => Service Unit Project: Service Unit - Select the kind of service to create.
# Select: Provide / FTP / Current_Version => Next: FTP Service-Unit - Defines the JBI properties of the service to import.
## Service Name: *FtpTutorial*
# Next => Next: FTP Service-Unit - Define the specific properties for this version of the component.
## Server: *ftp.petalslink.com*
## Port: *21*
## User: *petals*
## Password: *demo*
## Folder: _leave it empty_
## Transfer Type: *auto*
## Connection Mode: *active*
# Finish.
# Give a look at the generated _jbi.xml._ You see the component configuration.
# Give a look at the generated _FtpService.wsdl_. You see all operations available on the service.
# On the left "Petals projects" tree, right click on the Service-Unit Project : "_su-FtpTutorial-provide_" => Petals => Fast Export for Petals.
{note:title=Known bug for Studio v1.1.0 !}Please check jbi.xml and FtpService \!
"interface-name" attribute in _jbi.xml_ and "portType name" in the WSDL should have the same value. If not, please correct _FtpService.wsdl_ :