File Adapter Read not working
Hi All,
I have a file adapter service,which has to read a CSV file.
The configurations i have done is
1)Gave the incming diretory path,delete option is checked
2)Polling frequency - 5 secs
3) gave the xsd.
But the process is not picking up the file,and i dont see any errors in domain.log
Please help.
Regards
Ashwini
Hi Anirudh,
Thanks for the reply.
IS there no solution other than restarting the server ??
below is the xsd i am using.please let me know the modifications that i can do to reject the second invoice if there are any errors in that and proceed further.
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://antony.blog.com/ReadStructuredMasterDetailService"
xmlns:tns="http://antony.blog.com/ReadStructuredMasterDetailService"
elementFormDefault="qualified" attributeFormDefault="unqualified"
nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
<xsd:element name="Invoice">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="InvoiceHeader" nxsd:startsWith="$H$" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Supplier_name" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Supplier_Site" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Inv_No" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Invoice_Date" type="xsd:date" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Invoice_Currency" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Invoice_gross_Amount" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Total_Ex_VAT" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="""/>
<xsd:element name="Total_VAT_Amount" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Scanned_image_Reference_URL" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" />
<xsd:element name="InvoiceDtail" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="InvoiceDTL" nxsd:startsWith="$D$"
maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Business_Unit" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="location" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Store_Name" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Department" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Natural_Account" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>
<xsd:element name="Inc_VAT" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="Ex_VAT" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="VAT_Amount" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," />
<xsd:element name="VAT_Rate" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="${eol}"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Regards
Ashwini
Similar Messages
-
[File-Adapter] Reading not finished files
Hey,
my sender file adapter reading files which are not finished yet.
The files are created by an ABAP programm. The creation could
take some seconds. If the file adapter polls while creation is not
finished, we have a problem.
The flag "Process Read-Only Files" is not set, so the ABAP programm
doesn't seem to set the file to read only.
Is there a way to check (e.g. with an operating system command) if the
file is processed completly?
For example I could check if the date of creation is higher than 10 minutes
or something like this.
Any other ideas?
thanks
chrisWhat is the file adapter option you are using?
If NFS, you have the option "Milliseconds check before modification" that will prevent the file from being picked up till they are completly written.
If FTP, then when the file is being written to the ftp folder you should have the option to use temporary files option
Regards,
Bhavesh -
Dynamic port configured for FILE adapter is not working
Hi,
I have a simple dynamic port in an orchestration that writes a file to a file location. Here is the configuration
================
FilePort(Microsoft.XLANGs.BaseTypes.Address) = "FILE://c:\\TestFolder\\Out";
FilePort(Microsoft.XLANGs.BaseTypes.TransportType) = "FILE";
================
When I run this orchestration, the dynamic port does not write the file to the folder, however I does not show any error either. It is always in "Ready to Run" state where the message is "Queued Awaiting".
I tried all sorts of combinations like FILE:// FILE:\\ File: file:// file:\\ etc... and also without the moniker, just c:\.... I get the same problem.
when I use a static port(subscribed to the same message) it works fine. When I use a static port ALONGWITH this dynamic port then both works fine !!! I receive 2 files.
but when I use only dynamic port it does not work!!
Anybody knows how to solve it.
THANKS IN AVANCE
PLEASE HELP
SuryaIt could be becasue you 're not passing in the file name, Try something like this..
SndPort_Dynamic(Microsoft.XLANGs.BaseTypes.Address)=@"file://C:\Test\Try\Out\Test1.xml";
But even when you don't pass the file name, i was expecting the erro to be like:
The FILE send adapter cannot open file C:\TestFolder\Out\ for writing.
Details: The system cannot find the path specified.
But try with File Name and restart the host instance after the change.
Or use somehting like this:
FilePort(Microsoft.XLANGs.BaseTypes.Address)=@"file://C:\Test\Try\Out\\%MessageID%.xml";
FilePort(Microsoft.XLANGs.BaseTypes.TransportType) = "File";
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful. -
FCC Send File Adapter - missingLastFields not working
Hi
I have a flat file to capture using the sender File adapter
Parameter as follows:
Header_fieldNames : Key,Name,StaffID,Telephone
Header_fieldFixedLengths : 2,12,10,8
Header_endSeparator : 'nl'
Line_fieldNames : Key,Address,Company,LineText
Line_fieldFixedLengths : 2,20,20,40
However there are times where last field come in missing.
Hence I use the Header_missingLastFields : error
Line_missingLastFields : error
However it does not seem to be working as the adapter fails to pick the file from the FTP folder
but if I replace error with ignore, the sender adapter picked the files and process and send to the receiver adapter.
I need to flagged error in sxmb_moni if last field or last few fields are missing....any advise how could this be achieve ?
Regards
FredHi Freddy,
I think you might like to specify missingLastFields = add. then it will add the missing fields as empty. you can further check if these are empty in mapping and then fail the message or create an alert.
If you specify "ignore" then you will not get those fields in your structure and if you specify "error" then the file will not be picked up.
have a look here
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
missingLastfields
If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
○ ignore
Outbound structure only contains the fields in the inbound structure
○ add
Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
○ error
Conversion is terminated due to the incomplete inbound structure. An error message is displayed
regards,
francis -
File Adapter is not working and create client copy in NW 7.0?
hi,
this is sreeram.i installed and configured PI 7.0 SR2 but file was not picking up from the input folder.i can able to select file adapter when i am creating communication channel.i gone throw RWB component monitoring->Adaptor monitoring there i seen all adaptors are in faded color not in green.can any one help to resolve the proble?
one more question is i created 3 clients from 000 client using tcode scc4.when i am entering with SAP* and password is: pass it's not entering into that client.i also tried username: SAP* password as : password pls tell me SAP* password in NW 7.o?Hi,
Take a look at the forum links looks like same problem
HTTP Response: 500 internal server error
HTTP adapter - 500 Internal server error
Message mapping-Urgent
Can you go through the below urls:
calling soap error
SOAP - XI - SOAP Error
Error while Testing SOAP Adapter In XI
Please reward points if it helps
Thanks
Vikranth -
File adapter - APPEND not working
Hi Everyone,
I want to append a text file on the target side. I am using FCC on the receiver side and the file construction mode is "APPEND" and file type is "TEXT". When i test my scenario, the file gets created for the first time and for the next time onwards, I get an error : "Target file already exists and must not be overwritten".
Kindly help me to solve this issue.
Thanks,
LaawanyaCheck the below thread for the same:
Have you checked overwrite box?
It should be checked as well, and also check for necessary authorizations for this.
Appending data in receiver file adapter
Divyesh Vasani -
Sender file adapter is not polling the file.
Dear all,
Sender file adapter is not polling the file.(But Receiver file adapter is getting the file)
we have installed SP15.
It was worked fine for previous SP14.
I have cheked in Adapter monioring also.
Can you help me out of this problem
Regards
DhanabalHi Dhanabal,
Is the XI system running on a unix machine ?
If yes, from the OS level for the folder you are using in the file comm. channel, execute the command
<b>chmod 777 <folder_name></b>
The reason for the file to show up in receiver side and not get deleted might be that the xi user mighht be having only read access to the folder...
Thanks,
Renjith. -
Can file adapter read file link/short cut
All,
I have a requirement for following use case
Can file adapter read a file-link (basically a short-cut to a file in a folder) and check if the file exists at the path referred to in the short-cut.
Thanks,
PraveenHi
symbolic link did not work
polling folder - "/tmp/filepoll"
soft link - "/tmp/filepolllink" ponits to above folder
my OS is Sun Solaris
error in opmn.log
<2010-03-24 07:46:55,023> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - successfully completed endpointActivation for portType=Read_ptt, operation=Read
<2010-03-24 07:46:55,025> <INFO> <default.collaxa.cube.activation> <File Adapter::Inbound> Poller raising Alert for exception : ORABPEL-11001
Invalid Input Directory.
The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "/tmp/filepolllink".
Ensure that the following conditions are satisfied for the input directory :
1) It exists and is a directory (not a file). and
2) It is readable (file read permissions). and
3) If activation parameter "DeleteFile" is set to "true" then the directory should also have granted write permissions. and
4) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor.
Thanks,
Praveen -
Windows 8 Wireless Adapter do not work?
Well, i just installed windows 8 but my wireless adapter do not work ;(! I have a hp 802.11b/g wireless network adapter! I got an HP Pavilion a6023.sc stationary PC! Please help asap!
//Kevin
This question was solved.
View Solution.Hi:
This is the only thing that I can think of that will work...see if manually installing the Vista 64 bit driver works on W8.
Run this driver. If it installs automatically, great. If not...
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=pv-65991-1&cc=us&dlc=en&lc=en&...
Go to the device manager and click on the network controller needing drivers.
Click on the driver tab. Click on Update Driver. Select the Browse my computer for driver software option and browse to the driver folder that was created when you ran the file.
That folder will be located in C:\SWSetup\sp34931. Make sure the Include Subfolders box is checked and see if the driver installs that way. -
Why does my card reader not work on my iPad since upgrade?
I use my iPad mini to download photos from my camera when I'm on the road. In the summer I bought the "3 in 1 Card Reader Adapter Cable Camera Connection Kit, 3 Port Card Reader for iPad 4 and iPad Mini by Eurekka" and it worked wonderfully. I was able to download photos (jpg and RAW) directly to the iPad and off the camera, and once home it was a flawless upload to my iMac.
However, once I upgraded to iOS 7 last week I get a message saying the device is not supported. What gives? Will this be fixed or will Apple products only accept Apple accessories from now on?No but I was just trying to find a way in to your help desk. I didn't find
your web page very helpful in this regard.
Douglas Whiteley
In a message dated 10/05/2012 20:43:50 GMT Daylight Time, [email protected]
writes:
Re: why does my adobe reader not work
created by Claudio González
(http://forums.adobe.com/people/Claudio+González) in Adobe Reader - View the full discussion
(http://forums.adobe.com/message/4395059#4395059) -
I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!
cor-el,
Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway. -
Apple av adapter does not work after updating ios 5,01
apple av adapter does not work after ios 5,01. no video on vga monitor. sound goes out on iphone 4 also.
Thank you for your interest. Last night i tried again. It worked. there is still problem, so i could find out it that monitor is going to power saving mode then voice goes out and no view on monitor. I changed the power saving settings. And worked well. Thnx again.
-
File Adapter is not polling File.
Hi All,
I am using file adapter to poll a file. When I am restarting server then it is picking file. After then when I am dropping a file then File Adapter is not picking File.
Can any one guide me what si problem?
I am using SOA SUITE 10.1.3.4
Thanks in Advance.First clusterGroupId is a unique value. Do not use the same clusterGroupId across different adapters even in different process.
Once clusterGroupId is defined, the multiple activations of the same adapter Activation Agent is to be detected implicitly and automatically by all the instances of the adapter framework active in that cluster. The cluster will allow onlye one node activation to start the reading the files/messages. The adapter framework instances chooses one among multiple nodes, randomly to assume the Primary Activation responsibility. The other activations (instances) in the cluster will initiate to a hot stand-by state, without actually invoking EndpointActivation on the JCA resource adapter.
If a primary activation at some point becomes unresponsive, is deactivated manually or if it crashes/exits, then any one of the remaining adapter framework members of the cluster group will immediately detect this, and reassign the primary activation responsibility to one of activation agents standing by.
This feature uses JGroups underneath for the implementation, hence the clusterGroupId property. These features require cluster and JGroups configuration in collaxa-config.xml and jgroups-protocol.xml. All BPEL instances participating in the cluster must share the same cluster name in collaxa-config.xml,and the same multicast address and port in jgroups-protocol.xml.
As far as for this issue, I too face the same across diff environments and searching for the exact reason. I believe this happens when primary activation agent crashes, the hand-over to the other node is not happening properly through jgroups.
Nirav -
File Adapter : read XML file with data validation and file rejection ?
Hello,
In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
Now the File Adapter reads the file correctly but it does not give an error when:
- the data types are not valid. Ex: dateTime is expected in a node and a string is provided
- the XML file has invalid attributes.
How can I manage error handling for XML files ?
Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
Thanks.one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
<partnerLinkBinding name="StarLoanService">
<property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
<property name="validateXML">true</property>
</partnerLinkBinding>
hth clemens -
When charging my Macbook Pro sometimes the indicator LED light doesn't come on at all. Everytime I checked when the LED isn't working the computer still charges, but I am not sure if when I leave it sometimes if it is charging correctly since the LED doesn't work periodically. I am also wondering if this is an issue with the adapter, rather then the actual computer port. If it is the computer port I don't feel comfortable with sending it out for repairs if its just a small issue. I guess what I am trying to see is if anyone else has experienced this issue. I would much rather go to the apple store and recieve a new adapter, and if the issue persists I can send it in for repairs. Please if anyone has experience with the same trouble I have had let me know. Thank you in advance.
-AndrewMay be the adapter is not working properly.
Take the MBP and MagSafe/Power Adapter to the Apple store for evaluation.
For:
The MagSafe power adaptor LED doesn't appear to indicate the correct activity.
Reset SMC. http://support.apple.com/kb/HT3964
Choose the appropriate method.
Best.
Maybe you are looking for
-
I click on the bookmarks button on the Firefox browser and the folders that hold the bookmarks are not in any particular order. I would like the folders to be in alphabetical order when I see them...when I click on the bookmarks button at the top of
-
Hardware or software issue causing purple lines & no boot...
I was watching a movie on my Mac Pro (2006) and suddenly the video stopped and purple lines went all over parts of the screen. I couldn't do anything, not even a force quit, I was forced to turn off the power. Upon restart, the Apple logo is showing
-
Connecting G4 Sawtooth to HDTV Without VGA Port
My new TV does not have a VGA port, but I'd like to hook my G4 up to it for use as a monitor. I've seen several DVI or VGA to Component video adapters online, but do these work? Should I go with a VGA to Composite adapter?
-
Mathscript null values in matrix
Dear Forum members, Is there a command or method within MathScript of finding the range of rows within a matrix that contain all zeros. Example below shows a (5 x 3) matrix W: | 1 2 3 | | 4 5 6 | | 0 0 0 | = W | 0 0
-
DB Adapter Completes but domain.log gives error and process never completes
I have a DB adapter that calls a PL/SQL package. The package performs some updates and brings back a return code of success or failure. This package performs a commit. The package seems to do all the right things but when I try and view it in the BPE