FTPS in BPEL with passphrase

HI All..how are you today..
i am trying to do a FTPS within the BPEL...i been searching..and i gues it can be done configuring the JNDI for the FTP adapter..since i have the FTPS = true, i can set a private key.....
BUT...what i need, is to use a passphrase for that private key...it works ok from UNix command line..but..i dont see any property in the JNDI to set a passphrase...
any ideas? anyone that have built this before?
thanks in advance.
Pablo.

thanks man..
anyway, there is no place to set the passphrase...it is a passphrase to the private key...(dont know why the client want this sooo secure...)
but since we have a Java program working 100% , we decided to create a webservice from that java, and call as standalone from my Bpel process..
thanks!
P.

Similar Messages

  • FTP Adapter BPEL

    Can anyone help with how to use a FTP adapter in BPEL with the help of a simple example. I need the implementation with a simple example.

    You can find some samples on these links:
    http://java.net/projects/oraclesoasuite11g/pages/FTPAdapters
    http://niallcblogs.blogspot.com/2011/07/soa-suite-11g-ftp-adapter.html

  • BPEL with Reliable Processing

    Hi,
    I read and work on the "BPEL with Reliable Processing" cookbook.
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/qualcomm-bpel.html
    It's great!
    I try to enhance the process by adding notion of priority between different records.
    A priority-based process will favour those processes with high priority values.
    To achieve that, I made the following modifications:
    1) Add the "PRIORITY" column into the "DB_POLL_SOURCE" table.
    CREATE TABLE "DB_POLL_SOURCE"
    "ID" NUMBER (17,0) NOT NULL,
    "VALUE1" VARCHAR2 (32),
    "VALUE2" VARCHAR2 (32),
    "VALUE3" VARCHAR2 (32),
    "PROCESS_NOT_BEFORE" DATE,
    "RETRY_COUNT" NUMBER (7,0) DEFAULT 0 NOT NULL,
    "BPEL_STATE" VARCHAR2 (16) DEFAULT 'P_NEW',
    "CREATED_DTS" DATE DEFAULT SYSDATE,
    "MODIFIED_DTS" DATE DEFAULT SYSDATE,
    "PRIORITY" NUMBER (7,0) DEFAULT 5 NOT NULL
    2) Add an order by clause to sort the "PRIORITY" column in descending order.
    3) Add the where clause (rownum<N) for getting the first N records from the query record set.
    CREATE OR REPLACE VIEW DB_POLL_SOURCE_VW
    (ID, BPEL_STATE)
    AS
    select *
    from (
    select
    dbps.ID,
    dbps.BPEL_STATE
    from
    DB_POLL_SOURCE dbps
    where
    (dbps.PROCESS_NOT_BEFORE is NULL or dbps.PROCESS_NOT_BEFORE < SYSDATE)
    and dbps.BPEL_STATE like 'P_%'
    order by dbps.PRIORITY desc
    where rownum < 5
    The problem is that the view must be updatable and ROWNUM cannot be used inside an updatable view.
    The message error I got is the following:
    ORA-01732: data manipulation operation not legal on this view.
    So my question is:
    How can I define an updatable view to sort the "PRIORITY" column and then limit the number of rows returned?
    Thanks a lot
    Olivier

    If you want to update a view, you must use database triggers to perform this. You can user the statement:
    CREATE OR REPLACE TRIGGER <triggername>
    INSTEAD OF INSERT (or other UPDATE/DELETE or both)
    ON <view>
    FOR EACH ROW
    BEGIN
    .. PLSQL code here ..
    END <triggername>;
    /

  • FTP STOR command with REST capability

    Hi folk,
    I have a cRIO on a remote field, and I need that the program running on that platform periodically uploaded, through the internet, the data files to an FTP server.
    I have used the FTP VIs included in the Internet Toolkit to develop this functionality and I am experiencing some problems.
    During the uploading of files of medium or large size, via FTP, can happen that the FTP server closes the connection.
    The reasons can be different, network operation exceeded the user-specified or system time limit, bandwidth usage is restricted or the bandwidth is limited, etc..
    To overcome this issue the correct strategy is to reopen the FTP connection and to restart the upload from the point where it was interrupted.
    It is very important to finish to upload only the remaining part of the file, and not to restart from the beginning, otherwise you could not end the upload if the FTP server closes the connection again and again.
    For implementing the resume, the FTP protocol supports a number of commands:
    SIZE <remote file-name>  Returns the size of a file (Binary mode) .
    REST <file-size>         Sets the following STOR command to restart transfer
                             from the specified point.
    STOR <remote file-name>  If anticipated from a REST command, store (upload)
                             only the part of the file starting from the
                             specified point.
    At the present, it seams to me that the LabVIEW Internet Toolkit does not support the capability of FTP resume.
    Furthermore, if during a FTP upload the connection is closed by the FTP server, the FTP [STOR].vi exits sometime with ambiguous errors.
    Exit with a correct error:
    Error 56 occurred at TCP Read in NI_InternetTK_Common_VIs.lvlib:TCP Read xTP Reply.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Get Command Reply.vi:1->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
    Possible reason(s):
    LabVIEW:  The network operation exceeded the user-specified or system time limit.
    Exit with an ambiguous error:
    Error 54 occurred at TCP Open Connection in NI_InternetTK_FTP_VIs.lvlib:FTP Open Data Connection.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
    Possible reason(s):
    LabVIEW:  The network address is ill-formed. Make sure the address is in a valid format. For TCP/IP, the address can be either a machine name or an IP address in the form xxx.xxx.xxx.xxx. If this error occurs when specifying a machine name, make sure the machine name is valid. Try to ping the machine name. Check that you have a DNS server properly configured.
    Do you have idea or suggestion of how  realize an FTP STOR command with REST capability?
    Thanks,
    Asper

    Unfortunately the best advice I could give you would be to make a copy of the FTP toolkit and add this functionality yourself. You should have most of the building blocks available to you so it should be fairly starightforward. You could reference the RFC (RFC 959 and RFC 3659 for extensions) for any specifics you need on the packet format. You will need to save some state information so you can resume your download from the correct point.
    Would it be possible to use TFTP? This is much leaner and more likely to succeed if the other ends supports it. I recently wrote a very basic TFTP Write. I'm sure I could do the TFTP Read in short order. I'm still working on packaging it up in a distributable form but I could provide you with a basic VI if needed.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Calling ora:processXQuery from bpel with parameters

    I am trying to call ora:processXQuery from bpel with parameters. I am using SOA Suite 11.1.1.7
    ora:processXQuery('selectVersionNumber.xq',bpws:getVariableData('XML_FILE_VAR','/ns4:InputParameters'),"OBJ_ID_VAR","OBJ_ID_INNER_VAR", bpws:getVariableData('OBJ_ID_VAR'),bpws:getVariableData('OBJ_ID_INNER_VAR'))
    selectVersionNumber.xq :
    xquery version "1.0";
    declare namespace ns4="http://www.example.org";
    let $item := //ns4:P_RELATIONSHIP_TBL
    for $x in $item/P_RELATIONSHIP_TBL_ITEM
        for $y in $x/ns4:P_RELATIONSHIP_TBL_INNER/ns4:P_RELATIONSHIP_TBL_ITEM_INNER
        where $x/ns4:OBJECT_ID = $OBJ_ID_VAR and $y/ns4:OBJECT_ID=$OBJ_ID_INNER_VAR
            return <objectVersion>{ $y/ns4:OBJECT_VERSION_NUMBER }</objectVersion>
    but ora:processXQuery dosen't accept more than two arguments. Is there any work around?

    Create a specific xml schema for your xquery as a input and pass that. Extract the required values from xml in your xquery.

  • BPEL with human using task forms (customization in task display).

    All,
    I have deployed a BPEL with human task with task forms (customization in task display).
    For above customization Jdev automatically generates set of jsp files like Header1.jsp,Footer1.jsp,payload-body.jsp and <task name .jsp> and build an ear which includes war file.
    I have deployed ear as j2ee app using em console.
    It got deployed but when I check em console I could not see any active jsps listed.
    due to this task customizations are not displayed properly.
    but for same app in production instance, it is listing all jsp files in EM console
    Any idea where I am missing
    Thanks,
    Praveen

    I got it.
    If there are no active jsp/servlets listed means they are never invoked.
    I invoked them explicitly then they started coming in the list
    Regards,
    Praveen

  • BPEL with Oracle E-business suite 11.5.10

    Hi,
    We are in the process of testing BPEL with Oracle E-Business suite 11.5.10. What is the best document for configuring these two components.
    Thanks
    Giri

    I recommend you to read documentation about Oracle Applications adapter. This is good start from technical point of view. http://download-west.oracle.com/docs/cd/B14099_19/integrate.1012/b16498.pdf

  • BPEL with TWO data base polling adapters????

    Hi,
    Can some one tell, Is it possible to have two data base polling adapters in one BPEl process??
    What I am trying to do is , simultaneoulsy polling two independent data base tables in one bpel with two receive activities, but it did not work as BPEl should have only one start activity.
    Please post your ideas , if we can achive this.
    Thanks,
    Kumar

    So, are you trying to detect the fact that two different rows in two different tables were both inserted? If so are they related some how? Are they parent child? Is one guaranteed to appear before the other?
    I'm thinking two processes with database adapters that in turn call a third process which has two receives which are connected via a correlation set.
    Another solution would be database triggers that look for the existence of both rows before inserting into a third table -- this third table would drive the database adapter.

  • Integration of bpel with ucm

    Hi All,
    I want to integrate Bpel with UCM but i want to call Bpel from UCM , can anyone please suggest me some documents to go through.
    THanks

    Hi
    You can go through document on myoraclesupport which describes the UCM -BPEL integration steps .
    Link : https://communities.oracle.com/portal/server.pt?open=514&objID=226&mode=2&docID=16616&aggregatorResults=D3567D8318D12963D18032D2467D16616D14422D71801D88343D105006&returnUrl=https%3A%2F%2Fcommunities.oracle.com%2Fportal%2Fserver.pt%2Fcommunity%2Funiversal_content_management%2F224
    Hope this helps .
    Thanks
    Srinath

  • Is it possible to upload large files through FTP to server with iWeb?

    Is it possible to upload large files through FTP to server with iWeb like for example with Cyberduck?
    I don't need to publish website with files, I just need to upload files on server. Can it be done somehow with iWeb?

    Here's some info about FTP...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html
    Make sure you are allowed to store files on your server. Most hosting services don't allow anything to be stored that can't be accessed via the internet. Check the fine print!

  • SSH reset exception via ftp adapter BPEL and ESB

    In our BPEL project and our ESB project using FTP adapters everything starts off good connection. files moving, E.T.C. However whenever it pleases it will throw an SSH reset exception. I checked with the admin's of the server's we are connecting to. And they say there should be no reason why Ex. Permissions, connection time your allowed, E.T.C. I observed what happens as these files get picked up and dropped off. (I set up a little test env at home) We have three files moving. So everytime it polls it has to reconnect Just wanted to throw that in there i mean its obvious but. Anywho is there a setting in BPEL.xml or some ESB file that has the TTL for the connection to a server or something or is anyone encountered an SSH reset exception

    Are you using Linux servers to run your SSHD? If so, this is a known problem not limited to the SOA Suite. It turns out that there are many issues with this even when you use e.g. Putty. Causes can range from network hardware to certain firewall implementations (masquerading issues). If there's a firewall in play, you might want to give it a try to see if the problem also occurs if you bypass it. IMHO you should try and verify if the connections keep alive 'outside' of the SOA Suite on the same host..
    HTH,
    Bas

  • FTP adapter polling with NLST

    HI,
    I am trying to poll a directory for a particular file......but the default LISt command in adapter doesn't poll any thing..so tried using NLST command in jca file....now it polls and created BPEL instances fine but now the issue is it polls all the files and deleates all the files ignoring 'includeFiles' property..
    Can some one help me out if we can use NLST or how to make LIST command work.....remote ftp server is a windows server...
    Thanks

    Hema wrote:
    How does it decide which files to pickup ? It will pick up files with modification dates more recent than the last processed file.
    sometimes it picks up all old files from FTP directoryIf it is picking up the same files, probably it is not being able to calculate the modification dates.
    That can be a configuration problem, take a look at this:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABECEGD
    Note: We are not deleting already read files from the folderProbably, not a good thing to do. May you can archive them instead.
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • Is it possible to have FTP Conflicts/Collisions with multiple devices?

    I understand that you cannot have multiple webservers both using port 80 on your LAN (use different port # and port forward), but I was wondering if the same is true of multiple FTPs?
    In other words, I have 2 devices ...., a weather web server that FTPs my weather station data to my weather website, and I have the WVC54GCA IP Camera, which I want to use to display weather conditions outside, and FTP to my weather website. Can they both use their default FTP port 21 at the same time? ...., or do I have to change one of them to an alternative port #, other than 21? Is it possible to FTP with a port other than port 21?
    Thanks for any feedback,
    Ed

    thanks Castor. I have the Motorola SBG900 ...., I have not set up the port triggering yet, but both my WVC54GCA and my weather server are FTPing up to my weather website  without any problems so far. I might try the port triggering as a safety net and see if things still work OK.
    Ed

  • Creation of BPEL with a WSDL having 2 operations with same name

    How to create a BPEL 2.0 from WSDL which is having the +2 operation with Same  name+ and we are planing to USE PICK activity but the BPEL is giving error while selecting the operation name
    can't create input variable.The selected operation does not have an input message.+
    WSDL:Operation
         <wsdl:portType name="ABC">
              *<wsdl:operation name="XYZ"*>
                   <wsdl:input name="Request1" message="tns:Request"/>
                   <wsdl:output name="Response1" message="tns:Response"/>
              </wsdl:operation>
              *<wsdl:operation name="XYZ">*
                   <wsdl:input name="Request2" message="tns:Request"/>
                   <wsdl:output name="Response2" message="tns:Response"/>
              </wsdl:operation>
         </wsdl:portType>
    Can you please provide the alternate solution if the procedure followed by us is wrong
    Thanks in Advance

    Hi Preetam,
    I believe it's not allowed, use different operation name.
    A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes.
    This applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.
    why do you need multiple operation with same message type?
    Regards,
    Faiz

  • Get-order of FTP-adapter (bpel/esb)

    Hello,
    Is it possible to change or influence the order of getting files, i.e. get files by oldest creation date?
    Scenario:
    I'm using an FTP-adapter in a bpel process to get files. The interval is set to 1 minute. However, sometimes files are created within the 1 minute time-frame. The order of the files is very important in the scenario: the older file must be processed before the newer file by the bpel process. I've looked for any settings in the FTP adapter to influence the get-order, but without any success so far. Can anyone please help?
    Kind regards,
    Harm

    You can find some samples on these links:
    http://java.net/projects/oraclesoasuite11g/pages/FTPAdapters
    http://niallcblogs.blogspot.com/2011/07/soa-suite-11g-ftp-adapter.html

Maybe you are looking for

  • IPhone drivers will not install (windows 7)

    Haya there, I have around 1100 photo's on my iPhone and I was planning to save some on my harddisc so I could free up some space on my phone itself. Easiest way to do this is plug it in, open the iPhone as a flash drive and drag and drop really. Now

  • Query to get users using a Form

    Hi All I would like to build a query to get all users who is having access to a form. I could get the cases where there is no submenus. But how can I handles cases were submenus also there. Please help. I have checked the other posts in this forum. B

  • *Help, please* Preserve Community Styles in Gateway?

    -Plumtree, I really do need some help on this one. I know that our requirements are probably past the scope of what community branding was meant to accomplish, but they are requirements nonetheless... I have 2 issues - 1) I need to preserve Community

  • Inspector Document TOC Update now (Greyed out)

    My pages document is currently 108 pages and growing. It's in need of TOC but although all my instances of Heading 2 are highlighted when I use the styles disclosure triangle and select "Select all uses of Heading 2" in the Inspector TOC tab, after d

  • Commitment item does not update during PO change

    hello All, when we change PO " GL account " the old commitment item remains without changes. your help is appreciated, I.Gad