BPEL FTP Adapter name space

Hi Friends,
I have a bpel process which sends xml data over ftp. The name space in FTPed data looks as below:
"<?xml version = "1.0" encoding = "UTF-8" ?>
_+<Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://aiv-external.s3.org.com/UnboxMetadata.xsd" xmlns:tns="http://www.org.com/UnboxMetadata/v1" xmlns="http://www.org.com/UnboxMetadata/v1">+_
<tns:Movie><tns:PartnerName>ABC</tns:PartnerName><tns:UniqueID>1263456</tns:UniqueID>
</tns:Movie>"
However receive of ftpied data expect following (Please note change in sehmalocation:
" <?xml version = "1.0" encoding = "UTF-8" ?>
_+<Metadata xsi:schemaLocation="http://www.amazon.com/UnboxMetadata/v1 http://aiv-external.s3.amazonaws.com/UnboxMetadata.xsd"+_
_+xmlns="http://www.amazon.com/UnboxMetadata/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+_
<Movie><PartnerName>ABC</PartnerName><UniqueID>1263456</UniqueID>
</Movie>"
Is i t possible to control/change schema location and get file in expected form?
Thanks,
Sachin.
Edited by: user10051771 on May 1, 2013 2:31 PM

Thanks Everybody for the prompt response .
1) What error does one get when trying to connect to FTP Sever which only support active mode
No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
QUESTION
========
Does BPEL FTP Adapter supports active ftp mode (instead of passive).
ANSWER
======
No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
COMMANDS :
1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
considered bad practice and a security vulnerability.
But, we would require both ACTIVE and PASSIVE modes.
2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
for example: quote site fixrecfm 90...

Similar Messages

  • BPEL FTP Adapter Active Mode

    Does BPEL FTP Adapter supports active ftp mode (instead of passive). Apparently the ftp site for one of the Interfaces uses FTP Adapter and that ftp server it is using supports ONLY active ftp sessions, NOT passive.
    Want are configuration to made to changed to support active mode
    oc4j-ra.xml for ACTIVE ftp and not passive

    Thanks Everybody for the prompt response .
    1) What error does one get when trying to connect to FTP Sever which only support active mode
    No Error , but no file transfer happens. SR and Bug Request for the same is already in place .
    QUESTION
    ========
    Does BPEL FTP Adapter supports active ftp mode (instead of passive).
    ANSWER
    ======
    No, FTP Adapter only supports passive mode. For that purpose there is an Enhancement Request
    already, the Bug 6866124 - NEED SUPPORT FOR PASSIVE FTP ADAPTER AND CUSTOM FTP
    COMMANDS :
    1. The FTP Server needs to be active for the Adapter to work. So, both FTP Server and the FTP adapter must be active for it to work.
    Also you only support PASSIVE mode in our FTP JCA adapter. ACTIVE mode is currently
    considered bad practice and a security vulnerability.
    But, we would require both ACTIVE and PASSIVE modes.
    2. Custom commands are not supported. But, we need the samples for custom FTP Commands and support for it.
    for example: quote site fixrecfm 90...

  • BPEL FTP Adapter - tutorial/sample?

    Hi,
    Is there a sample or tutorial available for the BPEL FTP Adapter for v10.1.2.0? Please let me know.
    Thanks
    N

    Yes, there's an end-to-end tutorial that ships with 10.1.2 and can be found in samples\tutorials\129.FTPAdapter.
    HTH,
    Navneet

  • IndexOutOfBoundsException with BPEL FTP adapter

    I am running SOA Suite 10.1.3.4 on WebLogic Server 9.2, and have deployed a simple test BPEL process that is using the FTP adapter to poll for files on a remote SFTP server, retrieve the opaque payload, then copy it to a destination file on another SFTP server. For small files this works fine. For larger files (e.g., a 3.5MB file with ~25000 fixed-length records) I get the following in my OracleSOAServer.log file:
    ===========================================
    java.lang.IndexOutOfBoundsException
         at java.io.ObjectInputStream.read(ObjectInputStream.java:822)
         at oracle.xml.comp.CXMLStream.ensureReadCapacity(CXMLStream.java:1673)
         at oracle.xml.comp.CXMLStream.readChars(CXMLStream.java:1324)
         at oracle.xml.comp.CXMLStream.readUTF(CXMLStream.java:870)
         at oracle.xml.parser.v2.XMLText.readExternal(XMLText.java:905)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2853)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
         at oracle.xml.parser.v2.XMLDocument.readExternal(XMLDocument.java:3394)
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:345)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    <2009-03-06 00:12:12,931> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
    Handled As: com.collaxa.cube.CubeException
    ORABPEL-00000
    ===========================================
    This happens immediately after the polling FTP adapter picks up the file. The IndexOutOfBoundsException is particularly troubling...is this error solely a function of memory (no OutOfMemory exception is being thrown), or is some other factor at work here? Any insights are appreciated.
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Anirudh,
    Thanks for the response. To clarify: my BPEL process starts with a Receive activity (with "createInstance" set to "yes"), which is receiving from an FTP Adapter PartnerLink. This PartnerLink is polling for a file on an SFTP server. When this file is present, and is relatively small, the whole BPEL process completes successfully. When it is of a larger size, I get the error described in my original post. The cause of the indexOutOfBoundsException is what I'm trying to determine. Here is the source for my BPEL process:
    ===================================
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Tue Mar 03 17:01:11 GMT-07:00 2009
    Author: Gary
    Purpose: Empty BPEL Process
    -->
    <process name="KFS_CNV_OpaqueFileRouting"
    targetNamespace="http://xmlns.oracle.com/KFS_CNV_BPEL_OpaqueFileRouting"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    abstractProcess="no" enableInstanceCompensation="no"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/ftp/ReceiveInputFile/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:client="http://xmlns.oracle.com/KFS_CNV_BPEL_FileRouting"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/ftp/WriteOutputFile/">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="GetFile_role" name="ReceiveInputFile"
    partnerLinkType="ns7:GetFile_plt"/>
    <partnerLink name="WriteOutputFile" partnerRole="PutFile_role"
    partnerLinkType="ns8:PutFile_plt"/>
    </partnerLinks>
    <variables>
    <variable name="ReceiveFileContents_GetFile_InputVariable"
    messageType="ns7:GetFile_msg"/>
    <variable name="FtpHeaderData" messageType="ns3:InboundHeader_msg"/>
    <variable name="DestFileHeader" messageType="ns3:OutboundHeader_msg"/>
    <variable name="OutboundFileContents" messageType="ns8:PutFile_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="ReceiveFileContents" partnerLink="ReceiveInputFile"
    portType="ns7:GetFile_ptt" operation="GetFile"
    variable="ReceiveFileContents_GetFile_InputVariable"
    createInstance="yes" bpelx:headerVariable="FtpHeaderData"/>
    <assign name="AssignDestFileHeader">
    <copy>
    <from variable="FtpHeaderData" part="inboundHeader"
    query="/ns3:InboundFTPHeaderType/ns3:fileName"/>
    <to variable="DestFileHeader" part="outboundHeader"
    query="/ns3:OutboundFTPHeaderType/ns3:fileName"/>
    </copy>
    </assign>
    <assign name="AssignDestFileContents">
    <copy>
    <from variable="ReceiveFileContents_GetFile_InputVariable" part="opaque"
    query="/ns2:opaqueElement"/>
    <to variable="OutboundFileContents" part="opaque"
    query="/ns2:opaqueElement"/>
    </copy>
    </assign>
    <invoke name="PushFileContents" partnerLink="WriteOutputFile"
    portType="ns8:PutFile_ptt" operation="PutFile"
    inputVariable="OutboundFileContents"/>
    </sequence>
    </process>
    ===================================
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BPEL FTP adapter

    Hi everyone!
    Is there anyone who can tell me where I can find some information about the usage of the FTP adapter included in BPEL PM 10.1.2.
    Thanks!

    Hi!
    By the using of the beta FTP guide I have solved my doubts about the configuration of the adapters for getting and putting files on different FTP server.
    But during the execution of the process I have noticed a strange thing in the BPEL server console. It seems to be a “great” delay between the activation of the process after the deploying and the effective transferring of files from server1 to server2. I mean, for example, that if I deploy the process at 9,07AM the first transfer begin at 9,28AM, about twenty minutes after and so on for the other istances.
    The situation is that:
    The polling frequency is fixed to 60 seconds;
    The Minimum file age is fixed to 0 seconds;
    The files on server1 have a minimum age of about 2 minutes (and have an extension of type .txt);
    The instances are initiated automatically because I have checked the “create instance” box in the invoke component configuration parameters.
    Initially I think that the delay was due to the difference between my pc-time and the server1-time but modifying my pc-time I have obtained only a little improvement.
    Could it be due to any activation or scheduling parameter in some BPEL file or it is probably a synchronization problem between my pc and server1?
    I bag your pardon if the message is so long but I hope to have success in explaining the problem!
    Thanks,
    Busno.

  • BPEL FTP Adapter problems

    Hi!
    I have two problem using the FTP Adapter in a BPEL process.
    The first can be described as follow: I have a BPEL process that incapsulates the FTP Adapter and it is deployed correctly on the BPEL default domain. It's working fine in a normal context with no error. Now I want to simulate a "read FTP Server" crash; so I put the FTP Server from which I'm reading off-line. When the GET module of the FTP Adapter tries to poll the server, it generates a Null Pointer Exception and on the server command window I can read, after a while, that the process state will be set to OFF. But when I enter in the console I always see the state ON! But the interesting question is: is there an automatic way to recovery the process and to restart it? I see that in the domain parameter there are two values: rcvAgentDelay (7200) and rcvThreshold (600). I tried to set them to some other values, for example (120) and (10), but the process still remains "blocked" and no new polling seems to happen.
    The second problem is about the creation and the deploying on a new domain. I create a new domain called "bulk" and I tried to deploy my process on it but I can't do it due to the generation of many exception! Can I deploy a process with a FTP Adapter component inside on a domain different from the default one? And if the response is positive, like I think, can you summarize the most important steps of it and if I must configure some specific domain parameters?
    Thanks a lot,
    Busnelli.

    OK, firstly I want to thank both of you, Rakesh and Maneesh.
    Here are the details requested:
    Operation System = Windows XP Pro SP2
    BPEL Process Manager = 10.1.2
    BPEL Server version = 2.2 (build 1361)
    JDeveloper version = 10.1.2 (build 1811)
    BPEL Designer version = 10.1.2 (build 050322)
    Usually after any modification I'm used to restarting the BPEL server.
    Today I have downloaded the "Oracle JDeveloper 10g (10.1.3) - Developer Preview" (I think to be the Post Beta 3) and as soon as possible I will try to use it.
    Thanks to both!

  • BPEL FTP Adapter Issue

    I am trying to run the tutorials/129.FTPAdapter example.
    1) placed my FTP configuration in Oracle_Home\integration\orabpel\system\appserver\oc4j\j2ee\home\a
    pplication-deployments\default\FtpAdapter\oc4j-ra.xml file.
    2) created the input, output folder is my ftp
    3) deployed the FTPDebatching process.
    The process started polling the FTP- input directory immediately after deployment.
    But when I place the container.txt file in the input folder then its not reading the contents of that file and no exception message is thrown
    But when I manually initiate the process by giving some input then its writing the input in to a file in FTP- output directory.
    But it should pick up the file from input directory when it is place over there.
    polling frequency is 1 minute.
    Am I missing some configuration ????????

    Did you define in your first activity to create an instance? If you stated in your first activity in your bpel process he needs to create an instance, he will instantiate your process when a file is picked up by the polling mechanism.

  • BPEL FTP Adapter Error : Error ModificationTimeFormat

    Hi ,
    I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
    For that I have created a BPEL Process .
    One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
    If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
    My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
    But When I deploy this BPEL process I am getting the follwing error .
    [u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
    Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
    LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
    mat" activation parameter are correct.Ensure the time format pattern and filenam
    e begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    Please help me out how to get rid of this problem .
    Thanks
    Prashant

    Hi ,
    I have a requiremnt to copy a file from FTP server and put that file into my Local Machine .
    For that I have created a BPEL Process .
    One Partner Link ( FTP ) - There is a option to "delete the file " . I dont want this option , Because I want to copy the file from FTP server to Local Machine not to move the file .
    If I check this " Delete the File " option , instance is sucessfully created and files get moved from FTP server to Local Machine .
    My Question is : I want to "copy" the file from FTP Server to Local Machine , so I deselected the option " Delete the file " . After that I set Time Modification and Format .
    But When I deploy this BPEL process I am getting the follwing error .
    [u]<2007-01-22 11:24:21,164> <DEBUG> <default.collaxa.cube.ws> <FileAdapter::Outbound> PollWork is calling onFatalError for exception Failed to get file modification time.
    Could not get file modification time for file :/MySharedFolders/Testpdf_folder\P
    LSQL Fundamentals - II.pdf. Verify that the values for the "ModificationTimeFor
    mat" activation parameter are correct.Ensure the time format pattern and filenam
    e begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    Please help me out how to get rid of this problem .
    Thanks
    Prashant

  • FTP Adapter Unable to change directory 'inputDir'

    Hi all. I'm trying to put the file into BPEL Process, transform and put it to the output directory like in tutorial 129.FTPAdapter FTPDebatching. But I've got this message:
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>550</code>
    </part>
    <part name="summary">
    <summary>file:/C:/OraHome_1/integration/orabpel/domains/default/tmp/.bpel_FTPDebatch0ing_1.0.jar/FTPDebatchingOutput.wsdl
    [ Put_File_ptt::Put_File(po) ] - WSIF JCA Execute of operation 'Put_File' failed due to: Error changing directory in the host.
    Change working directory to /outputDir in the server failed. ;
    nested exception is: ORABPEL-11431 Error changing directory in the host.
    Change working directory to /outputDir in the server failed.
    Check the error stack and fix the cause of the error.
    Contact oracle support if error is not fixable.</summary>
    </part>
    <part name="detail">
    <detail>550 /outputDir: The system cannot find the file specified.</detail>
    </part>
    </bindingFault>
    What am i must to do?

    Hi Varun,
    Review of the ftp protocol specification
    http://www.w3.org/Protocols/rfc959/
    http://www.w3.org/Protocols/rfc959/5_Declarative.html
    shows that LIST command
    LIST
    125, 150
    226, 250
    425, 426, 451
    450
    500, 501, 502, 421, 530
    does not have 550 code among the codes which are supposed to be returned by ftp server in response
    to ls command. So, it looks like the ftp server running on AIX platofrm violates the ftp protocol specification.
    As a result bpel ftp adapter returns an error and the process goes off-line.
    Solution:
    Apply patch 4508850.
    If for any reason the official patch does not work, then apply the patch manually using the following steps:
    1. Stop OC4J_BPEL
    2. Create the following directories:
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound
    3. Copy the following files
    FileSource.class, PollWork.class, FTPSource.class
    from the patch to
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\FileSource.class
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\PollWork.class
    $O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound\FTPSource.class
    4. Restart OC4J_BPEL
    Cheers,
    Anirudh Pucha

  • Q: ftp adapter local storage

    My dba is asking how much space he should allocate on what file system for intermediate storage used by the BPEL ftp adapter. Does the ftp adapter uses local disk storage to temporarily stage inbound or outbound files for processing? If so, where?
    BTW: Our host OS is Solaris.
    Thanks,
    -Scott K.

    Can anyone let me know how to enforce the XSD validation in the adapter. As of now only the structure of the message is being checked.

  • FTP Adapter

    Hello all,
    I'm having some problems to receive files from ftp adapter of oai.
    The FTP Adapter don't give any error when it start, but it simple don't do anything when i put a file in the ftp receive directory. (I test the same adapter to send and it's working fine)
    Do anyone have any tip?
    One other thing is: How can i change the filename that the FTP Adapter of oia give to the files that he sends?
    Thanks,
    Antsnio Trindade
    PS: Please email me to:
    [email protected]
    or
    [email protected]

    Antonio,
    please see my comments below.
    Thanks,
    Markus
    Markus Spohn
    Senior Product Manager
    9iAS Integration
    Server Technologies
    Oracle Corporation
    200 Oracle Parkway m/s 2op393
    Redwood Shores, CA 94065
    USA
    Work: +1-650-506-9977
    Cell: +1-415-806-1405
    Fax: +1-650-506-7406
    e-Mail: [email protected]
    Hello all,
    I'm having some problems to receive files from ftp adapter of oai.
    The FTP Adapter don't give any error when it start, but it simple don't do anything when i put a file in the ftp receive directory. (I test the same adapter to send and it's working fine)
    Do anyone have any tip?I'd need more information about the configuaration of the FTP adapter.
    One other thing is: How can i change the filename that the FTP Adapter of oia give to the files that he sends?In the current version of the FTP adapter, the naming convention of the file is as follows
    <ftp adapter name><instance number>-<time stamp>
    With the next patchset for 9iAS InterConnect 9.0.2, which is expect to be released within the next week or so,
    we'll provide aditional functionality for the FTP adapter. That will include features that allow users to specify custom
    file names and naming conventions.
    Thanks,
    Antsnio Trindade
    PS: Please email me to:
    [email protected]
    or
    [email protected]

  • File size restriction on FTP Adapter (GET)

    A customer has deployed a BPEL process that we had created that uses the FTP Adapter to download (GET) files. The customer is reporting that when they try to download a large file (about 800 MB in size), the process does not seem to kick in for more than one hour. At this point I don't know how good or bad the network speed is and how long a FTP download will take for a file of that size. But before looking into that, wanted to know if there is any restriction on how big a file can be for it to be downloaded by the BPEL FTP Adapter. If not, is there some way to find out what is wrong with the downloading or to know to progress of the FTP GET?
    The user guide talks about increasing the value of transaction-config timeout in server.xml for the File Adapter. Is this applicable for FTP Adapter also and will it work if I increase this?
    Thanks in advance for your attention.
    Jay

    Thanks for the pointer. The processes are deployed on a 10.1.3.5 instance.
    Of the info I found in that article, only the following seemed applicable:
    53.2.1 Setting Audit Levels from Oracle Enterprise Manager for Large Payload Processing
    I can ask the customer to turn off auditing if it is on. But I am skeptical that this will resolve this issue.
    The following seem to be applicable only to 11g version and I am not sure if they have any corresponding options in 10.1.3.5 (please let me know if I am mistaken):
    1. 53.2.4 Using Adapter Support for Streaming Large Payloads
    2. 53.2.6 Processing Large Documents in Oracle B2B
    Section 53.3.1 Opaque Schema for Processing Large Payloads says the following:
    There is a limitation when you use an opaque schema for processing large payloads. The entire data for the opaque translator is converted to a single Base64-encoded string. An opaque schema is generally used for smaller data. For large data, use the attachments feature instead of the opaque translator.
    Based on your experience, has the FTP Adapter ever been used to download files of 800MB or larger size on a 10.1.3.5 instance? I would like to know if there is any insurmountable system limitation with this approach or is it just a question of proper configuration or is this a bug that the FTP adapter product team can look at. I assume the attachment feature is not available in 10.1.3.5.
    The remaining sections don't seem applicable to the the customer scenario.
    Can you please explain what ODI is?
    Appreciating your input,
    Jay

  • Does Interconnect FTP Adapter support SFTP/SSH?

    Does Interconnect FTP Adapter support SFTP/SSH?
    Thanks!
    -mb

    No it doesn't!
    Actually, FTP adapter in BPEL support secure FTP (FTPS, FTP over SSL), but only on Solaris platform if believe documentation.
    You can try to connect BPEL FTP adapter to InterConnect using new JCA adapter (in IC 10.1.2.0.2), but I'm not sure wether BPEL FTP adapter is JCA-compatable or not (since it is not in Oracle AS adapters package but inside BPEL)...

  • Issue with FTP Adapter ListFiles files with spaces in the filename

    Hi
    I have an FTP adapter that does a ListFiles of all the files in a directory. It comes back and everything works fine however it removes all spaces from the filename meaning when I do the GET afterwards this fails as it is a different filename.
    The filename is a0eQ0000000wJVdIAM~1~ technote316.TIF note the space between ~ and technote.
    When a ListFiles is done I get the following request response in BPEL execution:
    <messages>
    <InvokeGetFilenames_FileListing_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"/></part></InvokeGetFilenames_FileListing_InputVariable>
    <InvokeGetFilenames_FileListing_OutputVariable><part name="filelist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filelist size="1" xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"><file><directory>/salesforce/006Q0000007yKcd</directory><filename>a0eQ0000000wJVdIAM~1~technote316.TIF</filename><lastModifiedTime>1305507120000</lastModifiedTime><creationTime>0</creationTime><size>1906643</size></file></filelist></part></InvokeGetFilenames_FileListing_OutputVariable></messages>
    This then follows with a GET that fails:
    <messages><input>
    <InvokeGETfile_SynchRead_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></InvokeGETfile_SynchRead_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF to be processed was not found or not available or has no content
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>550 /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF: No such file or directory</detail></part><part name="code"><code>550</code></part></remoteFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages>
    I'm guessing its some use of the jca.message.encoding I can't find anything that really explains this though. Just the http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_propertys.htm link.
    Any help would be greatly appreciated.
    Thanks

    Hi PG,
    Is your private file in the form of Java Keystore (.jks)? I had used .ppk file and it was a success.
    If it is .jks in your case, try using the same password for private key as of keystore file (.jks). I hope you're not supplying any PASSWORD in the Adapter properties.
    Regards,
    Neeraj Sehgal

  • FTP adapter on BPEL

    I am using Oracle AS 10.1.3.1 on windows. My FTP server is also on Windows. But during invoke of outbound FTP adapter i am getting following error
    I am able to do FTP from AS machine to FTP server (Window) through command prompt and it is working fine.
    Error message
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_ProfileProcesTest_1.3_42d6d84ceee8de6430d37dfbfaa14936.tmp/FTP_To_OUT.wsdl Put_ptt::Put(Root-Element) - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server.
    ; nested exception is:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    </summary>
    </part><part name="detail"><detail>550 /FTPFolders/CUST_081210184025.txt: The system cannot find the path specified. </detail>
    </part></bindingFault>
    Defination of FTP Adapter is
    <definitions
    name="FTP_To_OUT"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:imp1="http://TargetNamespace.com/Read"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://TargetNamespace.com/Read" schemaLocation="CUST_2007330181610_1.xsd" />
    </schema>
    </types>
    <message name="Root-Element_msg">
    <part name="Root-Element" element="imp1:Root-Element"/>
    </message>
    <portType name="Put_ptt">
    <operation name="Put">
    <input message="tns:Root-Element_msg"/>
    </operation>
    </portType>
    <binding name="Put_binding" type="tns:Put_ptt">
    <jca:binding />
    <operation name="Put">
    <jca:operation
    FileType="binary"
    PhysicalDirectory="FTPFolders"
    InteractionSpec="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec"
    FileNamingConvention="CUST_%yyMMddHHmmss%.txt"
    NumberMessages="1"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTP_To_OUT">
    <port name="Put_pt" binding="tns:Put_binding">
    <jca:address location="eis/Ftp/FtpAdapter" />
    </port>
    </service>
    <plt:partnerLinkType name="Put_plt" >
    <plt:role name="Put_role" >
    <plt:portType name="tns:Put_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Defination of OC4j-ra.xml is
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    <import-shared-library name="oracle.xml"/>
    </imported-shared-libraries>
    <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
    <config-property name="host" value="10.zzz.yy.xxx"/>
    <config-property name="port" value="21"/>
    <config-property name="username" value="xxx"/>
    <config-property name="password" value="yyy"/>
    <config-property name="keepConnections" value="true"/>
    <config-property name="serverType" value="win"/>
    <config-property name="serverLocaleLanguage" value=""/>
    <config-property name="serverLocaleCountry" value=""/>
    <config-property name="serverLocaleVariant" value=""/>
    <config-property name="serverEncoding" value=""/>
    <config-property name="useFtps" value="false"/>
    <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
    <config-property name="walletPassword" value="welcome1"/>
    <config-property name="channelMask" value="both"/>
    <config-property name="securePort" value="990"/>
    <config-property name="keyStoreProviderName" value=""/>
    <config-property name="keystoreType" value=""/>
    <config-property name="keystoreAlgorithm" value=""/>
    <config-property name="enableCipherSuits" value=""/>
    <config-property name="proxyHost" value=""/>
    <config-property name="proxyPort" value=""/>
    <config-property name="proxyUsername" value=""/>
    <config-property name="proxyPassword" value=""/>
    <config-property name="proxyType" value=""/>
    <config-property name="proxyDefinitionFile" value=""/>
    <config-property name="useProxy" value="false"/>
    <config-property name="useSftp" value="false"/>
    <config-property name="authenticationType" value="password"/>
    <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
    <config-property name="preferredCompressionAlgorithm" value="none"/>
    <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
    <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
    <config-property name="privateKeyFile" value=""/>
    <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
    <config-property name="transportProvider" value="socket"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    </oc4j-connector-factories
    Edited by: user6408601 on Dec 10, 2008 6:03 AM

    Probably the Windows FTP server chokes on the path "/FTPFolders/CUST_081210184025.txt" as it uses Unix separators. You may need to use "\FTPFolders\CUST_081210184025.txt". I can't see the properties in the XML you have given, but when you configure the FTP adapter in the application server console there should be one field for the separator and one for the root folder. Both should be "\" rather than "/" on Windows. The default is "/".
    Good luck!

Maybe you are looking for

  • How to find out my login

    I have installed oracle database 11g enterprise edition but when I go to the "get started" section, I get stopped by a login screen. How do I find out my credentials, it doesn't appear to be the same credentials as the oracle website sign in?

  • Just wondering how the best way to work using 2 computers and 2 people.

    If you have 2 computers, a main one doing creative changes and the other person on a second computer doing metadata and keywords, is it possible to keep them synced, so the keyword info etc is kept up to date on the main computer? Would it just be to

  • Can't get computer up, maybe disc too full?

    I knew I needed to delete some things as my machine was running slowly and I checked and the disk was too full. But I hadn't gotten around to it. So today, after leaving it on during the night, the screen was completely black and wouldn't respond. I

  • Excel Upload in BI

    Dear All, We are working on some Client reports in which certain data like production/consumption isbeing captured in SAP Transaction & stored in SAP tables and can be pulled to BI.But,there is certain set of information like process parameters (Temp

  • New Installation - 11.5.10.2 - Rapid Start - Forms don´t goes up.

    Good evening, I've just finished installing Oracle E-Business Suite - 11.5.10.2 version Rapid Start (if u don't know it is a pre-setup environment, but it is exactly the same product) I've installed it on Oracle Enterprise Linux version 4, following