[Users] Help on Getting Started Guide #3: FTP, SOAP
theirman [via Petals Forums]
ml-node+s974793n3690342h76 at n3.nabble.com
Thu Jan 26 13:49:09 CET 2012
Hello,
I tried yesterday and this morning the third step. No problem to put a
file on my FTP server, but an error occured each time i tried to put a file
on my SFTP server.
My request :
<tns:put xmlns:tns="http://petals.ow2.org/components/sftp/version-1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="tns:putRequestFormat">
> <tns:body xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xsi:type="xs:string">/home/theirman/public-files/readme.txt</tns:body>
> <tns:filename xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xsi:type="xs:string">readme.txt</tns:filename>
> </tns:put>
The response :
Configuration error : Missing configuration element : server
> javax.jbi.messaging.MessagingException: Configuration error : Missing
> configuration element : server at
> org.ow2.petals.bc.sftp.listeners.JBIListener.onJBIMessage(JBIListener.java:98)
> at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOptionalOutAsProvider(MessageExchangeProcessor.java:519)
> at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:374)
> at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
> at
> org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:177)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
I don't understand *why the server is missing*. I give it in the
configuration file. (see below the jbi.xml of the BC-SFTP)
<?xml version="1.0" encoding="UTF-8"?>
>
> <jbi:jbi version="1.0"
> xmlns:generatedNs="http://petals.ow2.org/components/sftp/version-1"
> xmlns:jbi="http://java.sun.com/xml/ns/jbi"
> xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
> xmlns:sftp="http://petals.ow2.org/components/sftp/version-1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
>
> <jbi:services binding-component="true">
>
>
> <jbi:provides
> interface-name="generatedNs:SftpInterface"
> service-name="generatedNs:GinFizSFTP"
> endpoint-name="GinFizSFTPEndpoint">
>
>
> <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>SftpService.wsdl</petalsCDK:wsdl>
>
>
> <sftp:host>192.168.1.100</sftp:host>
> <sftp:port>22</sftp:port>
> <sftp:user>theirman</sftp:user>
> <sftp:password>mypasswd</sftp:password>
> <sftp:folder>/home/theirman/</sftp:folder>
> <sftp:overwrite>false</sftp:overwrite>
> </jbi:provides>
> </jbi:services>
> </jbi:jbi>
Cordialement,
TH
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Help-on-Getting-Started-Guide-3-FTP-SOAP-tp2686730p3690342.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120126/73911f83/attachment.htm>
More information about the Users
mailing list