File adapter issue in Linux enviornment

hi'
I am deploying BPEL in Linux enviornment, and with the file adapter read operation I am reading a test.xml file this file is internally refering to emp.xsd (files are below), now the issue is the file adapter is reading XML file even if it is invalid, this was not the case in windows XP enviornment, please advice why it is behaving like this.
Also the path of my XSD is "/home/wsfbpel/public_html/XSD" and the file has all read write permission (chmod 777 filename)
XSD
*<?xml version="1.0" encoding="windows-1252" ?>*
*<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"*
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
*<xsd:element name="readfile">*
*<xsd:complexType>*
*<xsd:sequence>*
*<xsd:element name="name" type="xsd:string"/>*
*<xsd:element name="empid" type="xsd:string"/>*
*</xsd:sequence>*
*</xsd:complexType>*
*</xsd:element>*
*</xsd:schema>*
XML (this is clearly invalid with respect to XSD it is refering to)
*<?xml version="1.0" encoding="utf-8"?>*
*<!-- Created with Liquid XML Studio Developer Edition (Trial) 8.1.2.2399 (http://www.liquid-technologies.com) -->*
*<tns:readfile xmlns:tns="http://www.example.org"*
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.example.org /home/wsfbpel/public_html/XSD/emp.xsd">
*     <tns:name>yatanveersingh</tns:name>     *
*     <tns:empidname>6499</tns:empidname>* +(incorrect element name)+
*</tns:readfile>*
thanks
Yatan

Hi,
My problem got resolved.
There was some access issue to see the txt files at the File Directory.
Thanks.

Similar Messages

  • File Adapter Issue: Not functioning when used with BIC user modules

    Hi! ALL
    We have been experiencing issue with file adapter, when we SeeBurger BIC user modules in sender file - FTP communication channel.
    The regular FTP functionality is working fine if do not have BIC user modules defined under the module tab.However, when put in BIC user module parameters it is not picking up the file.
    Also, we do not see any error logs; even the communication channel monitoring does not show any error log....only show the polling interval success, without the file being picked up.
    This issue started appearing once we deployed our new sda file....as we changed our BIC mapping.
    We can try doing back to our previous sda file....to see it fixes the problem.
    But, before doing that ....we would like to know where the cause of this issue....Can you point us to any error logs we can find on the PI server.
    Your help is greatly appreciated!!
    Thank you,
    Patrick.

    If you configured your logging correctly you should find in the log folders
    ./applications/com.seeburger.jucon/
    ./applications/com.seeburger.bicxiadapter/
    Try to scan those for recent errors - if the no log files can be found you should check the defaultTrace.

  • Base64Binary OSB and File Adapter Issue

    Hi all,
    I am converting an xml to flat file after that i want to write the flatfile to a file using File Adapter in OSB.
    So using java callout we converted the binary content to base64 string and we are able to write the data using file adapter .
    But the file contains as extra line in between each line which my legacy system wont accept.
    I printed the base64 string in the output file and when i decode that file using the website as safe decode as text i am able to get the correct file.
    So where is the problem ? File Adapter ? Why i am getting extrace line in between each line . How to write safely using file adapter.
    If i use file transport of OSB i am able to write without any issues but i want to write dynamic location so i am looking for file transport of OSB.
    Thanks
    Phani

    Hi Anju,
    Thanks for the response . If i decode the base64 binary data using this website if i use Notepad++ i cant see an extra line in the notepad++ it showing as below
    Its a fixed length file 1 to 513 then next line so for the file transport it showing as below
    ISA ............................
    1 to 513 CRLF
    For file adapter it is showing as below in the same notepad++ editor
    ISA..........................
    1 to 513 CR
    CRLF
    an extra CR so an extra line .
    I used MFL and converted the xml to non-xml ( flat file fixed length file) for file transport i am i created another proxy message type Text .It is working fine
    Added to the above problem i have another few questions on the file transport
    How can append to an exiting file using File transport ?
    How to change the File directory dynamically ?

  • FTP/File adapter issue (polling one file at a time)

    Hi,
    I have come across an interesting scenario. I have a folder in which many files are placed at once (around 20+).
    In my adapter I need such a logic that whenever file adapter polls the directory, it should only pick one file, wait for the specified time (in PollingFrequency interval or maybe some other way) and then poll the next file. Right now it polls all the files in one go.
    Is there any property that I can use or any other logic that can help me achieve this?
    Thanks.

    Hi,  You can use MaxRaiseSize property. Set its value to 1.

  • Receiver File Adapter Issue

    Hi,
    I have a scenario like R3(IDOC)->XI(Mapping)->FTP(Content Conversion)
    I am trying to FTP a file across to a vendor's FTP server using the reciver file . adapter. The target filename is of the form %ABC%IJK%%b.However on posting the file i get a message like.
    An error occurred while connecting to the FTP server '<hostname>:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 200 Command Okay. ID: <userid>, Current TR - Recv: <userid>, APRF: *BINARY, Dir: S. Get option: single. '. For details, contact your FTP server vendor.
    It seems although the connection is established, the ftp put does not work
    Can anyone help on what is the cause of the error and possible solutions.
    Regards,
    Alex.

    There can be following things:
    - Target Dir is not present or you dont have an authorization to create it.
    - Check the Access to put the file in that directory.
    Check the same for other interface also. If other interfaces are running fine then try to put the file in that DIRECTORY for test purpose.
    Thanks
    Farooq.

  • File Adapter Issue

    In file adapter Source system having 7 columns and Target system having 6 columns?
    how to synchronise it?
    Edited by: 995694 on Apr 5, 2013 9:33 PM

    Did u mean, how to translate the content from source to target?
    If that is the case, try using an XSLT transformation.
    How are the 7 columns fitting on 6 columns? I mean, maybe 2 columns represent 1 at the Target? Something like that?
    thx
    best

  • File adapter issue - files not processed (file name mask is *)

    Hi guys!
    I have a problem I never faced before. My file adapter doesn't process files in the source directory. When I put there exact file's name, it is processed. But when I use * , nothing happen. This is very strange. I was wondering, if problem can't be in that my PI box is UNIX and it's accessing Win filesystem.
    Any ideas, what to try?
    Thank you!
    Olian

    Yes, but I meant the one directory we're working in. We can write, delete there, so we should be able also use wildcards,  don't we?
    However, I tried it on a directory with 777 attributes. There is a file named clooo.ttt. When I run del .ttt I get Requested action not taken, file unavailable. The same for clooo. , clooo*,...  But when I type del clooo.ttt, the file is deleted...
    Any suggestions?
    Olian

  • OutBound File Adapter Issue

    Hi,
    I need some help in configuring file adapters:
    Process: I have a inbound adapter where i am feeding 4000 - 5000 rows of data from a flat file. I use these records to query a database and get response. I have a outbound file adapter where I write database response to a file.
    Problem: I have set the, write new file to 100 records. But if there are 3950 records going to outbound file adapter, It is only writing 3900 records in the output file directory.
    I need to write all records to the file. Please help me achieve this.
    Thank You
    Anil

    Hi,
    the batching criteria (100) is not met.
    You could improve the bahaviour by setting "Elapsed Time Exceeds" parameter, but still, there are some probs because critaria is only evaluated on invocation (anyone has an answer to that?!):
    from Doc:
    Elapsed Time Exceeds: Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • FTP & Wildcards (File adapter issue) - asterisk not working

    Hi guys!
    We need to use FTP sender adapter and we need to pick up all files present in the directory. Normally we would use asterisk (*), but the adapter is not processing the files. It behaves like the directory would be empty.
    Do you use wildcards in FTP sender channel? Is it working for you?
    Thanx!  Olian

    Hey Olian
    >>worng file list generation
    whenever you give any wildcard character for filename first of all a file list is generated,this file list contains names of all the files in the source directory(if you have given *) or names of files which satisfy your selection criteria(if you have given?).
    once the list is generated then the files are picked up based upon the list.
    to me it looks that this list is not being generated and due to which you are unable to pick the files using wildcard.
    There could be other issues too but i m not sure about them
    Thanx
    Aamir

  • File Adapter Issue in SOA Suite11g

    Hi,
    I have been facing a strange issue while testing my BPEL process.
    I have a BPEL process which reads input as event listener and then does a small transformation
    At last its writing that output message into a txt file using FileAdapter.
    While testing the BPEL process, its showing success instance id but no files are generating.
    When I was checking at Audit Trail, its showing the output message is being passed into the FileAdapter.
    Same time I was checking the server log, but there was no error/exception.
    Can anyone help me to resolve the problem?
    Note:
    I have been using SOA Suite v11.1.1.4 & have configured FileAdapater with option of Logical Path
    Regards,
    Deba

    Hi,
    My problem got resolved.
    There was some access issue to see the txt files at the File Directory.
    Thanks.

  • File Adapter Issue - Don't wont polling

    I am trying to create a bpel process that takes user input and then as I continue the flow thru the process I get to a point where I want to read a file using the adapter, but I want the flow to invoke the partner link and not the adapter polling for the file. This is because the front end of this process will take user input (authentication) and then the page will upload a csv file to a directory. Then the process will take the input and write to DB, then poll the file and write to a different table. But I can't see how to disable polling and tell it to look for the file on demand.
    -WL

    Here is the exception I get on the Invoke of the fileAdapter.
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>file:/C:/OraBPELPM_1/integration/orabpel/domains/default/tmp/.bpel_BPELProcess2_2.0.jar/ReadCSV.wsdl [ Read_ptt::Read(Root-Element) ] - WSIF JCA Execute of operation 'Read' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException; nested exception is: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException</summary>
    </part>
    <part name="detail">
    <detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.inbound.FileActivationSpec due to: ; nested exception is: java.lang.ClassCastException</detail>
    </part>
    </bindingFault>

  • Receiving file adapter content conversion issue

    Guys,
    Could someone please help me with a Receiving file adapter issue?
    My output structure is something like this:
    Vendor_file_MT (occurence 1)
    --Recordset (occurence 0..unbounded)
    Vendor (occurence 1)
    Field1
    Field2
    Field3
    Field73
    Field74
    My content conversion is very simple:
    Recordset Structure: Vendor
    Parameters:
      Vendor.fieldFixedLengths   30,30,30, (...) ,1,27
      Vendor.fixedLengthTooShortHandling   Cut
      Vendor.endSeparator   'nl'
    If I don't do the content conversion, it works fine, I get all the fields in the XML format.
    When I do the content conversion however, I get multiple lines but only the very first field of each line.
    What could be the problem? What am I missing here? Any idea?
    Your help would be much appreciated.
    Thanks,
    Viktor

    Varga:
    Its little strange that its not working even after adding that.  Did you check the receiver channel in your RWB for any logs. Add the statement in my previous post and Also try to clear the Cache and activate the channel again..See if it works
    Glad it worked
    Edited by: Guru on Apr 21, 2008 3:15 PM

  • File adapter Deployment issue

    Hi,
    I have a process that use a file adapter which polles a certain directory.
    I am developing on windows XP and I am deploying to a Linux
    I can't leave the path of this directory as it is since it will not be recognized in the linux server
    How do I solve this issue?
    Amit

    You can specify the Logical Name of the directory from which you want to read the file from. In the BPEL partner link of the bpel.xml file, you then provide the physical parameter value for the Logical Name. This resolves the mapping between the logical directory name and actual physical directory name.
    For example you can specify Logical Name as InputFileDir and in the bpel.xml specify the physical value against the partner link for that file adapter, as following :
    <property name="InputFileDir">C:/ora_home/integration/bpm/samples/tutorials/
    121.FileAdapter/ComplexStructure/InputDir/</property>
    So while development, you can specify the physical directory as in your Windows system, and at deployment you can specify the directory as in your linux system.
    Rahul

  • File Adapter Archiving Issue

    Hi,
    THe file adapter archives the file, it doesn't save the entire contents of the file in the archive folder, but saves the first recordset (row) only in XML format. Did any body face similar issue, and what's the resolution to archive the contents of the file, the way it was sent.
    Thanks
    Pandari

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • Production issue - Sender File adapter not picking up the files from folder

    Hi Guys,
    Ever since the upgrade from XI 3.0 to PI 7.1, we have come acrossinstances of weird error.
    Thsi time again - now the 3rd time - tandom basis, in our production PI server, we have teh file slying in the source directory folder in the server.
    I can see the files lying there in AL11.
    However, it looks like that the file polling has just stopped and the channel is going blank in channel monitoring.
    I have checked in SXMB_MONI and there are no messages since the morning.
    I have tried craeting a replica of the current channel but it is not working.
    This is teh production server and thsi has alraedy created production issues.
    I ahve checked in the SDN forum but am not able to find the details.
    Plaese help me.
    I am anyway going to raise the issue with SAP now.
    Regards,
    Archana
    <REMOVED BY MODERATOR>
    Edited by: Prateek Raj Srivastava on Jun 8, 2010 4:50 PM

    Hi Prateek,
    I have trying all sorts since the morning and then just checked teh file permissions.
    The file permissions were incorrect as compared ot the other files that were processed successfully today.
    Somehow the permissions were changed on the server and the interface channel was not able to poll the files.
    I got teh permissions changed back to 666 and all the files were pikced up in a minute.
    I got the folder checked and it seems like that the permissions were changed somewhere very early in the morning and we are trying to find out how it happened and who did that.
    However, another question i had - this sender file adapter was polling the source directory and deleting the files from there.
    I would have expected that if the channel had issues with the file permission because of which it was not able to access the file, it would have thrown an error something like the file permissions error.
    But there was not a single error in the channel monitoring.
    How can we configure it in a beter way so that we at least soem kind of error indication?
    Please advice.
    Regards,
    Archana

Maybe you are looking for

  • Export Screensaver (Processing-Screensaver)

    Hey there, Before proceeding to my question, I am aware that is not the 'right' forum to post my concern, but I thought maybe someone may already know something to help. We have developed a little project in Processing and we would like to export/sav

  • How can I tell what control the modulation wheel is assigned to?

    Hello, I understand how to reassign the Mod Wheel and other controls with Command-L. However, once I deleted my learned assignments I realized that the modulation wheel had not been working as it should with the thousands of other presets. Apparently

  • How to make function module remote enabled?

    I am trying to make the RSCRMBW_GET_CELL_DATA_BAPI function remote-enabled by choosing remote-enabled in the attributes tab in the function builder. When I try to activate the function, I get an error telling me that Reference parameters are not allo

  • Macbook pro 2009 won't accept disks.

    Today I randomly try putting a disk into my drive for my printer and it wouldn't accept it. When I try putting it in it just spits it back out and does nothing. When I look at system profiler is says everything is okay. And when I tried restarting it

  • IPhone error message when I try to sync.

    When I try to sync my phone this message keeps popping up. Saying it can't connect this iphone because of an error. and its 0xE8000003