Using XSLT on File Adapter

Hi guys,
I developed a XSLT and was trying to use it on my File/FTP Adapter. I've read Michael's blog but nothing seems to happen.
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
The only thing I can see is on the message monitoring the following processing:
MP: Entering module processor
MP: Processing local module localejbs/AF_Modules/MessageTransformBean
Transform: using Transform.Class:  $identity
Transform: successfully transformed
From what it seems everything is fine but nothing happens. Most likely, there is some kind of error on the XSLT, eventhough I've tested it and everything runs well.
Is there any log where I can check all the steps that are going through?

Hi Stefan,
It was a typo...
Transform.class -> Transform.Class.
Thanks in advance for the your replies. Points Awarded

Similar Messages

  • Flat file with fixed lengths to XI 3.0 using a Central File Adapter---Error

    Hi
    According to the following link
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    In Adapter Monitor I got the following error,
    In sender Adapter,
    Last message processing started 23:47:35 2008-10-25, Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'Substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
      last retry interval started 23:47:35 2008-10-25
      length 15,000 secs
    some one help me out ?
    Thanks
    Ram

    from the blog you referenced -
    <u> /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    <b>goto step 4</b>
    <u>additional parameters</u>
    add as the last entry
    <recordset structure>.lastFieldsOptional            Yes
    e.g.,
      Substr.lastFieldsOptional            Yes

  • Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?

    Hello,
    I'm wondering if someone have experience setting up conversion for different record structures. The example shown,
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter,
    (in a greate way) only picture one kind of structure.
    How should it be done if the file would contain
    10Mat1
    20100PCS
    The first record structure has columns
    ID(2),Material(10)
    The second redcord structure has columns
    ID(2),Quantity(3), Unit of messure (3)
    Brgds
    Kalle
    Message was edited by: Karl Bergstrom

    The configuration would be like follows:
    Content Conversion Parameters:
    Document Name: <your message type name>
    Document Namespace: <your message type namespace>
    Document Offset: <leave empty>
    Recordset Name: <any name>
    Recordset Namespace: <leave empty>
    Recordset Structure: row1,,row2,
    Recordset Sequence: any
    Recordsets per Message: *
    Key Field Name: ID
    Key Field Type: String
    Parameters for Recordset Structures:
    row1.fieldNames           ID,Material
    row1.fieldFixedLengths    2,10
    row1.keyFieldValue        10
    row2.fieldNames           ID,Quantity,UOM
    row2.fieldFixedLengths    2,3,3
    row2.keyFieldValue        20
    Instead of row1 and row2 you can choose any name.
    Regards
    Stefan

  • Cretaing a new adapter using the existing file adapter

    Hi,
    Is it possible to create a new adapter type copying the existing file adapter. That is I want to create a new adapter type for example "FNFS" and use the same module callsapadapter which is used in the File adapter. So that this new adapter type "FNFS" functions like the File adapter,
    What are the actions I need to perform to acheive this.
    Thanks in advance.

    what will be the significance of that?
    I think if you need some extra functionality then Development of Custom Module is enough.
    /people/john.ta2/blog/2006/12/20/to-create-or-not-to-create-an-sap-xi-adapter
    Thanks
    farooq.

  • How to read accdb and mdb files using JDBC or File Adapter

    Hi,
    How to read and extract the .accdb and .mdb files  from FTP server and parsing into xml  by using FTP or JDBC Adapter in SAP PI7.11 With linx Os.
    Regards
    Upendra

    Hi,
    As per SAP note:1681420 i have to  install the below  driver from Microsoft
    Our SAP PI installed under Unxi OS ,how to install the driver (.exe file) .
    Driver name :AccessDatabaseEngine_x64.exe
    Url:Download Microsoft Access Database Engine 2010 Redistributable from Official Microsoft Download Center
    1681420 - PI : Where to locate the JDBC Driver for Microsoft Access
    Regards
    Upendra

  • JavaConnection Exception when using FTP in File adapter

    Hi I am getting the following error while using FTP as a TP in the File adapter
    Error occurred while connecting to the FTP server "<Terminal IP address> :21": java.net.ConnectException: Connection timed out: connect"
    I am using the guildFTP software for configuring FTR server on my machine.
    And i am giving my terminal as Server IP address in ID.

    try configuring your FTP as per this blog and recheck - /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    in case it doesn't work let us know !!!

  • How to get value of jca.file.IsEof using fromproperties in file adapter

    Hi Guys,
    I have a scenario where i use a file adapter for syncread (for doing chunkRead).
    While invoking this adapter i send jca.file.FileName and jca.file.Directory as input properties dynamically.
    In response i expect jca.file.IsEOF and jca.file.IsMessageRejected, for this i have done the following steps.
    1. Create a file adapter for SyncRead
    2. Create an invoke activity and input/output variables along with it.
    3. set input properties as below ..
    4. get the values of jca.file.IsEOF and jca.file.IsMessageRejected using bplex:fromproerties
    <invoke name="Invoke1"
    inputVariable="Invoke1_SynchChunked_InputVariable"
    outputVariable="Invoke1_SynchChunked_OutputVariable"
    partnerLink="SamplSyncChunkRead"
    portType="ns19:SynchChunked_ptt"
    operation="SynchChunked"
    bpelx:invokeAsDetail="no">
    <bpelx:inputProperty name="jca.file.FileName"
    variable="inputVariable"
    part="payload"
    query="/ns11:fileHeader/ns11:fileName"/>
    <bpelx:inputProperty name="jca.file.Directory"
    variable="inputVariable"
    part="payload"
    query="/ns11:fileHeader/ns11:directory"/>
    <bpelx:fromProperties>
    *<bpelx:fromProperty name="jca.file.IsEOF" variable="isEndofFile"/>*
    *<bpelx:fromProperty name="jca.file.IsMessageRejected" variable="istheMessageRejected"/>*
    </bpelx:fromProperties>
    </invoke>
    5. Flow of the project is fine but im not getting the fromProperty values assigned to variables.
    Note : rather using from proerties like give below
    <bpelx:fromProperties>
    *<bpelx:fromProperty name="jca.file.IsEOF" variable="isEndofFile"/>*
    *<bpelx:fromProperty name="jca.file.IsMessageRejected" variable="istheMessageRejected"/>*
    </bpelx:fromProperties>
    if i use output proerties as given below it is not working..
    <bpelx:outputProperty name="jca.file.isEOF" variable="isEndofFile"/>
    <bpelx:outputProperty name="jca.file.IsMessageRejected" variable="istheMessageRejected"/>
    Any suggestions on this ???
    Thanks in advance guys...

    Thanks veejai...
    i have used the following properties in my code..
    <bpelx:fromProperties>
    <bpelx:fromProperty name="jca.file.IsEOF" variable="isEndofFile"/>
    <bpelx:fromProperty name="jca.file.IsMessageRejected" variable="istheMessageRejected"/>
    </bpelx:fromProperties>
    if i use output proerties as given below it is not working..
    <bpelx:outputProperty name="jca.file.isEOF" variable="isEndofFile"/>
    <bpelx:outputProperty name="jca.file.IsMessageRejected" variable="istheMessageRejected"/>
    any suggestion on <bplex:fromproperties> ??

  • SAP XI: How To Write Shell Script And use it in File Adapter On XI Server

    Hi,
    I want to split file at sender side in XI using Shell Script and then after i want to do
    Mapping.
    Can anyone tell me what exactly it means "write a script in UNIX shell on XI SERVER"?
    Regards,
    Akshay.

    Hi,
    You can execute a Unix script running in the XI server from the File communication channel. Ie. if you want to do something which was not part of XI adapter configuation , then you can make use of external unix script and you can execute those from the XI.
    For this, write a unix script and place in the XI OS level provided that path is accessible from PI Channel.
    E.g
    So u can use this in either Sender Channel to modify the data before it reaches into the Integration Server or in Receiver channel it is generally used to transfer the files into different location via Secure FTP
    SAP help: http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Blog:/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    XI  can be in any OS.
    Hope this helps,
    Rgds,
    Moorthy

  • OS command to use in the file adapter

    Hi All.
    This mus be a really simple question for u guys..
    What code should I add in the communication channel to move a file from C:/test to C:/Source
    Regards,
    Teja

    you can get more detailed documentation in help.sap.com and also you search in forum/wiki
    FYR: http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm (check "under Run Operating System Command Before/After Message Processing")
    Thanks,
    Prasanthi.

  • Using File Adapter.

    hello ppl,
    can anyone please tell me hw to make use of the file adapter or plz share the link, where i can get info regarding it.
    I am stuck in schema creation and have no way to go abt the same .. plz need ur answers as soon as possible..
    To add on to above scenario im getting an error stating "Unable to generate native format".

    Hi,
    It's very easy to use. Follow the following links.
    http://blogs.oracle.com/ajaysharma/entry/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_file.htm#BABCJJCD
    Also there are numerous File Adapter samples available at https://www.samplecode.oracle.com/sf/sfmain/do/home. Just login with your Oracle account and go inside Adapters.
    Regards,
    Neeraj Sehgal

  • Multiple Input Files using File adapter

    hey Experts,
    Wanted to know how i could pick up two different XML files using the Sender file adapter, which i want to process in my scenario, need ur suggestions, i dont want to use BPM. Thanks

    When you use the "additional file" feature, you have to keep in mind that the additional file enters the Integration Engine as attachment of the primary file.
    Modifying this attachment (or merging the two files) is difficult, as you can't use graphical mapping. Accessing the attachment with the other mapping techniques is often cumbersome as well.
    With a BPM, you could use two sender communication channels and correlation, but this alternative seems to be no option for you.
    Could you please tell us
    1. whether or not the two files have the same message type,
    2. which processing has to be performed afterwards and
    3. where does it go to when it leaves the XI?
    That would greatly help us.
    Kind regards,
    Dennis

  • File Adapter: File name when using event

    I'm using the Bea file adapter 7.0 to retrieve ascii files from the file system
    and this triggers a business process in WLI. Is there any way that you can get
    the name of the file when doing this? And is there a way to dynamically name a
    file when you write it to the file system using the file adapter?

    Dear Prakasu,
    In reply to your help
    "Select the Time out tag.
    Fill the require time limit.Like if you want to process a file with in 10 min then maintain 10 min.
    If the file is not transfered with in 10 min then adapter consider an error and through the error.Use alert for adapter errors and send the alert."
    I didn't find Time Out in sender Adapter,Time Out Flag is visible in OS CMDS..
    Can you explain me in more details..
    Thanks
    Prabhakar

  • File Adapter use in BPEL

    Hi All,
    Can you please share some useful information on File Adapter? Is it possible to make use of 2 or more file adapters in a single BPEL Process.
    Scenario is:
    First to read a file from one location.
    Has to place the reaqd file in a different location.
    Club this file with other file in a differnt location, and put that clubbed/merged file in a different location.
    EX: Read from A
    Write to B ( Read another file in B and merge the file A content with in it)
    PLace the (A+B) file in location c with in a different Location.
    Is it possible to read or write a file of size more than 10 MB, how much size does a File Adapter supports? how to read or write files of more size ( more than 10 MB Size)?
    Edited by: user12679330 on Aug 3, 2010 5:35 AM

    hi',
    Read file1 copy the contents to temp_file1, then write that to locationA, in the same process do a synchronous read for file2 and copy the contents to temp_file2, now while writing the file back with contents (file1+file2) you will require a new XSD which will have mapping for both the file elements, and then you can pass the value of temp_file1 and temp_file2 to this file adapter.
    -Yatan

  • Can I control  filenaming when archiving  files using the file adapter?

    Hi folks,
    Is there anyway to control the filename used when the File Adapter writes out to an archive?
    Second question, I also need to be able to pass a "filename" to the adapter from an "input file." Is there a way to do this in the file adapter?
    Sincerely,
    lpac

    Hi,
    I have done that with the ftp adapter. In the .xsl file I wrote the following after the <xsl:stylesheet version="1.0" ....> tag:
    <xsl:variable name="INFILENAME" select="ehdr:getRequestHeader('/fhdr:InboundFTPHeaderType/fhdr:fileName','fhdr=http://xmlns.oracle.com/pcbpel/adapter/ftp/;')"/>
    <xsl:template match="/">
    <xsl:variable name="OUTFILENAME"
    select="ehdr:setOutboundHeader('/fhdr:OutboundFileHeaderType/fhdr:fileName', $INFILENAME, 'fhdr=http://xmlns.oracle.com/pcbpel/adapter/file/;')"/>
    <opaque:opaqueElement>
    <xsl:value-of select="/opaque:opaqueElement"/>
    </opaque:opaqueElement>
    </xsl:template>
    </xsl:stylesheet>
    To use this with the file adapter, you would have to wirte file where is written ftp.
    Hope this helps,
    Zaloa

  • DB Mutex Error with Outbound operation using Normal File adapter in HA env

    Hi All,
    I Have a simple process which picks data from a weblogic jms queue and writes it to a file. Each day this task is carried out once in a day and it writes approx 30k records to the file. the process is made singleton (singleton property on inbound JMS adapter) and used the HA file adapter to write to the file. This setup gave rise to lot of DB Mutex errors. To avoid the DB mutex issue i pointed the file adapter to use the Normal file adapter connection factory instead of the HA File adapter one used earlier. The surprising thing is even this gave rise to DB mutex errors.
    1. Am i missing something here,according to my understanding using a normal file adapter conn factory even in a HA environment should not be creating multiple locks on the file write.
    2. Can i change the standard DS used in the file adapter to a custom DS? will that solve the problem?
    I hope the scenario is clear. Following is the error extract seen at the process and log level
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Unable to acquire mutex for interaction. Unable to acquire mutex for interaction. Unable to acquire lock on resource for "DatabaseMutex::acquireNoSave". ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks
    Nikhil

    We are getting the same error in 11.1.1.5 PS4 version also.Can you post the content of your .jca file here?
    Regards,
    Anuj

Maybe you are looking for

  • I had my computer replaced but copied my hard drive and now I can't access my firefox bookmarks, how can I go and extract the bookmarks from my copied harddrive?

    My HP Touchsmart was sent back in to HP for repairs under warranty. I was advised to make a copy of my harddrive because they may erase my hard drive, which they did, if the problem had to do with a faulty motherboard, which it was. They replaced my

  • Adding pages in pages!!!

    Hi everyone I have a Pages document- it's actually designed to be a report, with over 40 pages. My problem is that I have some pages with charts, graphics, and so on where I've set the various objects to "floating" so that I can place them easily on

  • PowerView Error - Method not found

    Hi I have just got Office 365 pro plus and installed excel 2013 on the pc. My colleague is using the same version from our IT department and he has no issue using it. So I know I have the right licence.  I am getting the following error when trying t

  • Add pictures to my gallery

    I just got a replacement phone, how to I add pictures to my Samsung galaxy s4 gallery from the Verizon cloud?

  • R/3 4.7 Unicode upgrade query

    Dear All, I have a very specific and unique query. We are implementing ESS, MSS, MBO for our clients, and in the process have upgraded the production servers to R/3 4.7 version ( Non - Unicode ). We're using EP 6.0 as the front for the same . My ques