RENAME/COPY/DELETE a file using FTP Adapter in 11g using dynamic values

Hi All
We have a requirement to do the above for a client. I was able to find a post\blog that tells you to add the below properties in FTP adapter JCA file and it works but,
<interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPIoInteractionSpec">
<property name="SourcePhysicalDirectory" value="foo1"/>
<property name="SourceFileName" value="bar1"/>
<property name="TargetIsRemote" value="false"/>
<property name="TargetPhysicalDirectory" value="foo2"/>
<property name="TargetFileName" value="bar2"/>
<property name="Type" value="COPY"/>
</interaction-spec>
The problem is that how to assign these values dynamically (from xpath or bpel variables etc). Can somebody provide me with some pointers? Its very urgent!

Use the below approach to set the directory and file names dynamically.
In BPEL source mode, specify the bpelx:inputProperty. Set the values for these variables in bpel. These can also be accessed as bpel preference values.
<invoke>
<bpelx:inputProperty name="jca.ftp.SourceFileName" variable="SourceFileNameVar"/>
<bpelx:inputProperty name="jca.ftp.TargetFileName" variable="TargetFileNameVar"/>
</invoke>

Similar Messages

  • Problem while reading multiple files through FTP Adapter

    Hi,
    We have a requirement to read the excel files placed in an FTP Location and as there is no Adapter to read Excel file
    we are using FTP Adapter and reading the Header values of the file(name of the
    file) and we are paasing as input to the Java code which will read the data nd insert into the Database.
    If we place above 20 files it was reading only some files and some were left and if we delete the files and place the unread files again some files are read and if we do the same procedure then all the files were read.
    Any help regaring this appreciated.
    Thanks and Regards,
    Nagaraju .D

    Are you doing anything complex for your polling, e.g. Files that must be n time old.
    Can you post the WSDL so I can see the polling configuration. I only need to see the adapter configuration, not the whole file.
    cheers
    James

  • Duplicate File issue using FTP adapter - BizTalk 2010

    Hi We encountered an Issue of picking Duplicate files in BizTalk 2010 from the FTP Location. Need your assistance on this.
    Mainframe sends multiple files a 0 KB file to FTP and BizTalk picks during a particular service window using FTP Adapter. 
    Receive Location has a pipeline component which decodes the MF file(EBCDICRow format). 
    Send Port transmits the file which is decoded in the Receive location. There is no mapping or orchestration involved. 
    When 2 files are placed in FTP Location. BizTalk Transmits the files successfully
    No suspended messages in BizTalk but we see below error in event log. we tried reproduce the issue but no luck. 
    Host Instance running FTP Location is Clustered  
     There was a failure executing the receive pipeline: "XXXX.XX.Pipelines.Receive_XXX_TransactionsMC_passthru, XXX.XX.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2d1f476d5c2f97d"
    Source: "EbcdicRowDeCode" Receive Port: "XXX.XX.MCSTransactionsMC" URI: "ftp://XXXXXXXX:21/'XXXX'/MCSDT.DEFKOP.R001.D*.T*" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.BasicStreamWrapper' to type 'XXX.BizTalk.Pipeline.Components.Streams.V3.VirtualStream
    MF Puts below Files at FTP Location
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    BizTalk Picks ( at specified Service window) and Transmits as 
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    Regards
    -Sri

    Hi Sri,
    There could be two reason for such a behavior:
    1) Using Non-Clustered Hosts: It is always recommended to use the clustered host for FTP adapter. Because FTP don't allow
    any locking mechanism on the files so in case of non-clustered with multiple host instances you might receive same file multiple times through different host instances.
    2) If the original document is still being written to the FTP server by the host application, the FTP adapter cannot
    delete the document and will retrieve another copy of the document at the next polling interval that is configured for the receive location. This behavior causes document duplication to occur. 
    Workaround could be:
    Configure the host application to write to a temporary folder on the same hard disk as the public FTP folder and to periodically move the contents of the temporary folder
    to the FTP folder. The temporary folder should be on the same hard disk as the public FTP folder to make sure that the move operation is atomic. An atomic operation is an operation that is functionally indivisible. If you write data to the public FTP folder
    by using the BizTalk Server FTP adapter, you can do this by specifying a Temporary Folder property in the FTP Transport Properties dialog box when you configure a send port. If you specify a Temporary Folder property, make sure that this folder is on the same
    physical disk as the public FTP folder.
    Configure the FTP receive location to operate within a service window when the host application is not writing data to the FTP server. You can specify the service window
    when you configure the receive location properties.
    Refer: Known Issues with the FTP
    Adapter
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • File format conversion of Target file using FTP adapter

    Hi All,
    I am using FTP adapter to create the file on the Target side. But file needs to below format : How do i conver the XML File fomat( Default generate by XI ) to be generat to below file format;
    000000000000154162,
    CWC1A,,,,
    CWC1B,,,,
    CWC2A,,,,
    CWC2B,,,,
    Please provide your suggestion;
    thanks;
    MK

    Hi Mohan,
       I have a collection of Blogs (links) which Specify the File content conversion parameters.
    File content conversion, I am Not sure as which Link will Match Your Requirement exactly...
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    Content Conversion (Pattern/Random content in input file)
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    Regards,
    Sainath chutke

  • How to read the whole text file lines using FTP adapter

    Hi all,
    How to read the whole text file lines when error occured middle of the text file reading.
    after it is not reading the remaining lines . how to read the whole text file using FTP adapter
    pls can you help me

    Yes there is you need to use the uniqueMessageSeparator property. Have a look at the following link for its implementation.
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CIACDAAC
    cheers
    James

  • Processing files in Sequence using FTP Adapter

    Hi Experts,
    I have searched several forums but i am not clear on  how to process the files using FTP Adapter based on Timestamp.
    To process the files in sequence i.e, FIFO using FTP Adapter
    i have the files with file name customer and timestamp :  customer<yyyyMMddHHmmss>
    there are around 50 files in the FTP server llike this.
    I need to process these files acording to the timestamp and place the files in same processing sequence in the receiver end using the file adapter.
    If i specify the parametes in sender FTP Adapter as
    Qos= EOIO
    Queue name = ACCOUNT
    Whether these parameters would do the processing in sequence according to the Timestamp?
    Suppose if the queue ID for Inbound(SMQ2) is XBTI0_ACCOUNT then whether it will be the same for Outbound(SMQ1)?
    Kindly suggest me how to process the files in sequence according to the Timestamp using FTP Adapter
    Please reply..
    Thanks
    Sai

    Hi Shabarish,
    But this would require one more additional channel to process
    So i think it will take more time to process.
    Let me clarify my question once again.
    I need to Pick the files from FTP server based on their TimeStamp and in sequence.
    the file names are like this Customer<YYYYMMDDHHmmSS>.
    suppose i have 3 files as
    Customer20050413044534
    Customer20050414053430
    Customer20050315034533
    So i need to pick these files in this order and place the files in the same order to the receiver end(File Adapter)
    Customer20050315034533
    Customer20050413044534
    Customer20050414053430.
    As i am using FTP sender adapter i cannot use processing sequence "By Date".
    please suggest me on this.
    Thanks
    Sai.

  • Problem archiving file using FTP adapter

    Hi,
    I am polling some files from another server using FTP adapter in SOA 11g. Even though I have checked the option to archive the files, the files get archived successfully on the server where the SOA process is running, but I am unable to archive the files on the server from which I am reading the file
    I am not sure whether this is the default behaviour or is there any way to archive files on the same server from which I pick or read the file.
    Any help is appreciated.
    Thanks,
    Namrata

    Hi Neeraj,
    Thanks, the archiving in the remoteLocation worked by doing what you told me...
    I tried archiving to the local machine which is not working for me ... i gave both the properties as below...
    <property name="UseRemoteArchive" value="false"/>
    <property name="PhysicalArchiveDirectory" value="C:\Users\naresh\Desktop\ftp"/>
    Thanks,
    Naresh

  • Writing timestamp on the content of file (not the filename) using FTP Adapt

    Hi Experts,
    Is it possible to write a timestamp (from the source server) to a target logfile if I'll use FTP Adapter?
    Here the scenario:
    Source:
    source.log -> the contents is AAAA (the timestamp base from the server is [06/09/10 10:00])
    - basically the source.log file is overwritten with the same content but the timestamp is changed so that's would be scenario
    it will checked by the FTP adapter....
    Target:
    target.log -> the content of the file is 06/09/10 10:00
    so probably if i have a target logfile I'll just have to append the file as this
    06/09/10 10:00
    06/09/10 10:02
    06/09/10 10:04
    06/09/10 10:06
    06/09/10 10:08
    06/09/10 10:10
    If it's possible, how will I do this? Do I need script? or just normal settings of the FTP adapter?
    R-jay

    Yes, is posibble. if i not wrong, you can do this ussing Dynamic configuration.
    see those links
    /people/ryan.crosby/blog/2009/02/27/file-xi-proxy-scenario--moving-binary-files-with-accompanying-filename-attribute-in-converted-xstring-format
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    Thanks
    RP

  • Help on Trasnfering .wsdl/xml format files using FTP Adapter

    Hi,
    I am new to Oracle BPEL and JDeveloper....
    I created some processes to transfer .txt files from one location to another location using FTP Adapter..
    Know I have some files on .wsdl/xml format... using bpel process can we transfer these files from one location to another location using FTP Adapter (Is it possible for .wsdl/xml files)
    can any one help me on this plz
    Thanks
    Venkat

    Thanks Guys .. I am able to transfer .WSDL files also
    Thanks
    venkat

  • FILE and FTP Adapter file size limit

    Hi,
    Oracle SOA Suite ESB related:
    I see that there is a file size limit of 7MB for transferring using File and FTP adapter and that debatching can be used to overcome this issue. Also see that debatching can be done only for strucutred files.
    1) What can be done to transfer unstructured files larger than 7MB from one server to the other using FTP adapter?
    2) For structured files, could someone help me in debatching a file with the following structure.
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_2
    300|Line_id_2|1234|Location_ID_2
    400|Location_ID_2|1234|Dist_ID_2
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_N
    300|Line_id_N|1234|Location_ID_N
    400|Location_ID_N|1234|Dist_ID_N
    999|SSS|1234|88|158
    I would need a the complete data in a single file at the destination for each file in the source. If there are as many number of files as the number of batches at the destination, I would need the file output file structure be as follows:
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    999|SSS|1234|88|158
    Thanks in advance,
    RV
    Edited by: user10236075 on May 25, 2009 4:12 PM
    Edited by: user10236075 on May 25, 2009 4:14 PM

    Ok Here are the steps
    1. Create an inbound file adapter as you normally would. The schema is opaque, set the polling as required.
    2. Create an outbound file adapter as you normally would, it doesn't really matter what xsd you use as you will modify the wsdl manually.
    3. Create a xsd that will read your file. This would typically be the xsd you would use for the inbound adapter. I call this address-csv.xsd.
    4. Create a xsd that is the desired output. This would typically be the xsd you would use for the outbound adapter. I have called this address-fixed-length.xsd. So I want to map csv to fixed length format.
    5. Create the xslt that will map between the 2 xsd. Do this in JDev, select the BPEL project, right-click -> New -> General -> XSL Map
    6. Edit the outbound file partner link wsdl, the the jca operations as the doc specifies, this is my example.
    <jca:binding  />
            <operation name="MoveWithXlate">
          <jca:operation
              InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
              SourcePhysicalDirectory="foo1"
              SourceFileName="bar1"
              TargetPhysicalDirectory="C:\JDevOOW\jdev\FileIoOperationApps\MoveHugeFileWithXlate\out"
              TargetFileName="purchase_fixed.txt"
              SourceSchema="address-csv.xsd" 
              SourceSchemaRoot ="Root-Element"
              SourceType="native"
              TargetSchema="address-fixedLength.xsd" 
              TargetSchemaRoot ="Root-Element"
              TargetType="native"
              Xsl="addr1Toaddr2.xsl"
              Type="MOVE">
          </jca:operation> 7. Edit the outbound header to look as follows
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified"
                    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
                    xmlns="http://www.w3.org/2001/XMLSchema"
                    xmlns:FILEAPP="http://xmlns.oracle.com/pcbpel/adapter/file/">
                <element name="OutboundFileHeaderType">
                    <complexType>
                        <sequence>
                            <element name="fileName" type="string"/>
                            <element name="sourceDirectory" type="string"/>
                            <element name="sourceFileName" type="string"/>
                            <element name="targetDirectory" type="string"/>
                            <element name="targetFileName" type="string"/>                       
                        </sequence>
                    </complexType>
                </element> 
            </schema>
        </types>   8. the last trick is to have an assign between the inbound header to the outbound header partner link that copies the headers. You only need to copy the sourceDirectory and SourceGileName
        <assign name="Assign_Headers">
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:fileName"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceFileName"/>
          </copy>
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:directory"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceDirectory"/>
          </copy>
        </assign>you should be good to go. If you just want pass through then you don't need the native format set to opaque, with no XSLT
    cheers
    James

  • Failure to connect to FTP server using FTP Adapter?

    Attempting to setup a SOA 11g composite app to demo the use of a FTP Adapter. Composite used a File Adapter (Read, opaque schema) wired to a mediator which was wired to a FTPAdapter (ASCII-Put, opaque schema). The routing rule in the mediator maps the File-Read opaque schema to the FTP ASCII-Put opaque schema.
    In the document "+User's Guide for Technology Adapters 11g Release 1 (11.1.1)+" I followed the steps in 4.2.21 Securing Enterprise Information System Credentials to set username/password (ftpuser/oracle) for the eis/Ftp/FtpAdapter connection. This is the default JNDI name for the FTP Adapter.
    For the FTP server installed Filezilla server. Configured the home directory to appropriate folder.
    Installed Filezilla client to test the server using ftpuser/oracle - as the created user on the server. No problem here – can see the appropriate folders and ftp files to/from the folders.
    Used a similar composite using a File Adapter-Write (opaque schema) instead of the FTPAdapter (ASCII-Put - opaque schema). This composite works with no issues. FYI – using JDev 11.1.1.1, SOA Suite 11g.
    Was not using VPN.
    When placed the required file in its directory (for the File-Read) it was read but the ASCII-Put file from Filezilla server did not appear.
    Based on error/fault messages seems to be a login issue. However, have no idea as to where the issue as all usernames/passwords are correct. But then - isn't that always the case?
    After having worked on this for a couple of days - need some help - please.
    The following error messages appeared:
    Filezilla Server:
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.37 beta+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse ([email protected])+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> USER+
    +(000004)11/3/2010 14:06:54 PM - (not logged in) (127.0.0.1)> 501 Syntax error+
    +(000004)11/3/2010 14:07:53 PM - (not logged in) (127.0.0.1)> disconnected.+
    Fault message from WLS enterprise manager for the composite
    onMessage
    Nov 3, 2010 2:06:54 PMonCase "FTPPut.Put"
    Nov 3, 2010 2:06:54 PMTransformed message part "opaque" using "xsl/opaqueElement_To_opaqueElement_3.xsl"
    Nov 3, 2010 2:06:54 PMError during invoking 1-way operation "Put" on target service "FTPPut"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in. Error in logging in. Unable to log in to the server. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Output from SOA Server console window
    Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=>  FileR FileRAdapter Service FileR was unable to perform delivery of inbound message to the composite default/Project1!1
    +.0*03f979cb-4a66-4c89-8a68-cce43fcdef88 due to: BINDING.JCA-12563+
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1 InboundTranslatorDelegate caught Generic Exception , the Resource Adapter will ignore this+
    +Nov 3, 2010 2:06:54 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
    +WARNING: File Adapter Project1+
    +BINDING.JCA-12509+
    +Unable to post inbound message.+
    +Unable to post inbound message to Composite.+
    +The JCA Listener of the JCA Binding Component was unsuccessful in delivering an inbound message from the endpoint FileR due to the following+
    +reason: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +Please examine the log file for any reasons. Make sure the inbound XML messages sent by the Resource Adapter comply to the XML schema defini+
    +tion of the corresponding inbound WSDL message element.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:552)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:376)+
    +at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:377)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:455)+
    +at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:116)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:252)+
    +at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:157)+
    +at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)+
    +at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)+
    +at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)+
    +at java.lang.Thread.run(Thread.java:619)+
    +Caused by: oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteracti+
    +onException.java:75)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:294)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:281)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:870)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:200)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:94)+
    +at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:74)+
    +at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:47)+
    +at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:64)+
    +at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:121)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:467)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:366)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:272)+
    +at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:138)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:655)+
    +at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:481)+
    +at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)+
    +at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)+
    +at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +at java.lang.reflect.Method.invoke(Method.java:597)+
    +at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)+
    +at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)+
    +at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)+
    +at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)+
    +at $Proxy195.post(Unknown Source)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:509)+
    +... 10 more+
    +Caused by: BINDING.JCA-12563+
    +Exception occured when binding was invoked.+
    +Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in logging in.+
    Error in logging in.
    Unable to log in to the server.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:427)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:530)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:49+
    +4)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteractio+
    +n.java:463)+
    +at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:244)+
    +... 52 more+
    +Caused by: BINDING.JCA-11439+
    +Error in logging in.+
    +Error in logging in.+
    +Unable to log in to the server.+
    +Please ensure userid and password specified to login to the server is correct.+
    +at oracle.tip.adapter.ftp.FTPClient.regularLogin(FTPClient.java:1614)+
    +at oracle.tip.adapter.ftp.FTPClient.login(FTPClient.java:1561)+
    +at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:1094)+
    +at oracle.tip.adapter.ftp.FTPAgent.preCall(FTPAgent.java:1515)+
    +at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1154)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.validateDirectory(FileInteraction.java:2726)+
    +at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:548)+
    +at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:238)+
    +at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:297)+
    +... 56 more+

    I've an ftp adapter configured to read from windows server(SOA server running on IBM AIX, filezila on Windows server). I've provided the hostname,username,password, accountname,ftpAbsolutePathBegin as /, port as 21.
    I've set listParserKey to WIN.
    Still FTPAdapter is unable to read from Windows server.
    I'm able to get, delete etc from ftp commands through putty.Port 21 is open.
    Any clue?

  • Urgent ! BPEL file and ftp adapter problem.

    Hi All!
    I have created a bpel process having two partner links.One for the ftp adapter and one for the file adapter. I want the ftp adapter to poll the *.pdf files in the specified directory on the remote machine periodically and get them to my local machine here. For this I am using ftp adapter with read operation and with opaque schemas(because I want the files as they are without any transformation). I am using a receive activity with the ftp adapter, with the create instance box checked.
    To write the file to the local machine I am using file adapter and write operation.File adapter also uses opaque schema.With this file adapter I am using invoke activity.Invoke is below the receive activity in the bpel process. I deployed this successfully on the default domain. I want the bpel process to run automatically,depending on the polling frequency given and create instances and bring the files to my machine.
    But it is not happening.
    Can anybody tell me where I am going wrong.How to accomplish this? It is very urgent issue for me.
    Thanking in advance,
    Regards,
    Deepika.

    Hi All!
    Now I am able to write files and also read files successfully with the remote server. I followed the same method described above.I am using binary format itself for pdf files.But I have to check the option 'to delete files after successful retrieval' to make this happen.I created several partnerlinks with the option in the ftp adapter not checked,but it is not working. Has anybody done successful retrieval without deleting the files at the remote server? If so please let me know.
    Thanking in advance,
    Regards,
    Deepika.
    Message was edited by:
    Deepika

  • How to use FTPS using FTP adapter

    I am trying to create one BPEL process using SOA 11g 11.1.1.4, which will put file on remote location using ftp adapter. I have created JNDI properly and using wallet.
    useFtps= True
    walletLocation= correct path of wallet created in Oracle HTTP Server(OHS)
    walletPassword = walletPassword
    host = ipaddress
    username = myUsername
    password = myPassword
    For all this I have followed http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABEBGGD
    Now, whenever I try to test that BPEL process it gives me error:
    "Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error in establishing SSL session. Error in establishing SSL session. Unable to establish SSL session on control channel. Reply String: 530 Please login with USER and PASS. Reply Code: 530) Please correct the setup for SSL. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution"
    Any suggestion or resolutions are welcome.
    Thanks!!
    Regards
    Yogesh

    Hi,
    When you configure the Connection Factory for FTP Adapter in Admin Console, provide the following values for the attributes like the hostname, username, password, port and the path of remote location as where
    you want to write the file in remote Server i.e., ftpAbsolutePathBegin. Please fill this
    attribute with the path like /soa/ftp/file (example path). If you are writing to a remote FTP server you need to create a Connection factory for that as above.
    Please try this and let me know...
    Thanks,
    N

  • How to change the JCA JNDI dynamically using FTP Adapter

    We have 5 FTP Servers, each having a directory to poll. We have created 5 CCI instances for these FTP Adapters in the FTPAdapter deployment. We created a BPEL process and using FTP Adapter to connect to above mentioned servers.
    Question: Customer's requirement is to use a single BPEL process to poll all these FTP Servers at a specified date and time. How can we connect dynamically to each FTP server at specified time.
    (OR)
    Is there any way to change the JCAJNDI dynamically in a FTP Adapter configuration ?
    I have seen that FTP Adapter POLL doesnt take any JCA JNDI/hostname/un/pwd/date/time dynamically.
    Regards
    Pavan

    Hi Pavan,
    It's possible to change the JNDI dynamically but only when you use put operation where you can control the JNDI name at the time of invoking the FTP Adapter as described in below link.
    Dynamic JNDI in FTP Adapter | jca.jndi property not picked by Adapter
    However, can you consider using BPEL process with SyncRead (and read files through all the JNDIs in a loop) and scheduling this BPEL process to a desired frequency?
    Regards,
    Neeraj Sehgal

  • How to delete Archived files from FTP

    HI,
    I am looking to delete Archived files from FTP Server, Can anybody have idea about this.
    Thanks,
    Ram

    To be frank, deletion of archived files is really a manual activity and is never in reality done by an interface
    so you have two options;
    1. log into the archived folder and manually delete archived files
    2. run a script in your file adapter - this way everytime the interface is triggered the files will be deleted - but then y do this.. instead just dont archive any files at all

Maybe you are looking for