Professional Documents
Culture Documents
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
Share
More
Next Blog
Oracle SOA
Thursday, June 3, 2010
About Me
Yatan
Hyderabad, AP, India
Blog Archive
2011 (7)
2010 (2)
Now we will see how we can read a file (poll) in windows environment
Sample files
Emp.xml
October (1)
June (1)
Reading a XML file using File
adapter in Oracle BP...
Share it
Share this on
Facebook
Amazon Con
Product Ads
Tweet this
View stats
(NEW) Appointment
gadget >>
Gwalior Fort
Step2. Drop a file adapter from 'component pallet --> services' to Services inside Jdeveloper window
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
1/7
5/6/2014
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
Followers
Members (5)
(c) Provide directory location for incoming file, here we can browse the location or can give the logical path name and can later
configure it inside the bpel.xml file.
(e) Configure polling frequency and the age of file i.e. the time the file has been inside the directory.
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
2/7
5/6/2014
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
(f) Provide the schema file (XSD), this is a very interesting configuration screen, as we can decide here weather we want to read a XML
file, opaque file or CSV file, etc
(g) Finish
Step4. Configure the receive activity to receive the contents from file adapter, remember selecting the create instance.
Step5. Finish
Step6. Deploy
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
3/7
5/6/2014
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
Step7. Test
15 comments:
abhijat August 11, 2010 at 5:56 AM
Great stuff
Reply
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
4/7
5/6/2014
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
but on server side UI didn't get any output.
Thanks,
Suman
Reply
Yatan
Hi Suman,
If no instance is getting created on UI(em comsole) then the XML file you are polling is invalid, i.e. its not valid according to
XSD.
Can you try using the same XML and XSD I have used, or create XML and XSD by using JDEV
Regards,
Yatan
Reply
Yatan
Hi Andy,
The file adapter will reject all such XML files which are without namespace.
Regards,
Yatan
Reply
SOA T echnology for beginners and learners November 11, 2011 at 10:10 AM
hi good post yaar... but i am having an issue.. i am not able to insert into db the data wat i got... do you have end to end ,like
reading a xml file and then inserting into the db...
Reply
Yatan
Hi',
Thanks for comment.
If you want to insert data received from a XML file inside DB then you can do 2 things.
1.) Convert the data received from file into bit64Encoding and then passing that data in DB, you can make the data type of the
table column as blob type.
2.) Make the data type of DB table column as XML type and then pass the data received from the file into it.
Regards,
Yatan
Reply
SOA T echnology for beginners and learners March 18, 2012 at 8:01 AM
hi yatan thanks i got .. it.. but i have question
i am having two tables header an line but and i am getting two xml from two file adapters.. can you please guide me how to
approach.
urgent yaar..
Reply
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
5/7
5/6/2014
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
Yatan
Comment as:
Publish
Google Account
Preview
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
6/7
5/6/2014
Newer Post
Oracle SOA: Reading a XML file using File adapter in Oracle BPEL
Home
Subscribe to: Post Comments (Atom)
http://yatanveersingh.blogspot.in/2010/06/reading-xml-file-using-file-adapter-in.html
7/7