Mainframe Integration using File Adapter (FTP Mode):: ftp commands
Hi,
We are trying to integrate with Mainframe system using File Adapter. (FTP mode). We are able to write the file to Mainframe system but not able to format it properly. We had to provide FTP parameter, <b>ftp.quote site recfm=fb lrecl=150</b>
As per SAP Note 801926 :: XI 3.0 File Adapter: Additional Parameters, the only parameter that can be used is <b>ftp.timeout</b>. Has anyone tried out using other FTP parameters? (like ftp.quote)
Any help is grealy appreciated.
Regards,
Siva Maranani
I am looking at running some OS commands especially the QUOTE SITE FILENAME, and found this OSS note:
https://service.sap.com/sap/support/notes/841704
In this note it says...
"Note that for the File Adapter transport protocol "FTP", the operating system command is NOT executed on the FTP server, but on the server hosting the Adapter Engine."
Similar Messages
-
File adapter processing in FTP mode
Hello SDN,
I need some info on File adapter working in FTP mode.
What happens when we point to a remote file location that runs on FTP server?
FTP in standard does not support a remote read operation at all. So the only possible logic that strikes me is issue a FTP get command over the file and get the file locally, read it. Does it happen this way? Or SAP has customised FTP to enable the read operation from a remote location directly?
Regards,
Jai ShankarHi Jai,
I am sure you must have gone through this File/FTP help file earlier also. If you read the Procedure section of it, I think it will give you a clear idea what exactly happening there:
http://help.sap.com/saphelp_nw04s/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
Regards,
Subahsha -
Appending in file and supplying file name at run time using File Adapter
Hi,
Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
Another query is can we create the file at run time with the supplied file name?In order to append to a file, we can use Append="true" in the interaction spec for the File/Ftp adapter.
<jca:operation
FileType="ascii"
PhysicalDirectory="/home/adapter/output"
FileNamingConvention="OutputFile.txt"
NumberMessages="1"
Append="true"
>
Filename we can specify in wsdl... -
Hi,
I am trying do very simple demo which reads a simple XML message from a ftp server and post that message directly to the same ftp server using FILE adapter.
So, I add my xml message like this:
<?xml version="1.0" encoding="UTF-8"?>
<ns:TxMessage xmlns:ns="http://bsa.sisl.com">
<Name>Bibinu</Name>
<Address>Kalyan</Address>
</ns:TxMessage>
but I get a error message back from the Integration Server as:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40&nbsp;</b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;User is locked.</b></font></p> <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b>&nbsp;Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p> </body> </html></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Seems like I am missing the Envelope. What does the Envelope supposed to look like or should contain so that the scenario should work?
Thanks !Did you resolve the problem?? I have the same problem, and there's no informatin about it.
Thanks!! -
Is it possible to read the file using File Adapter which is in client machi
Is it possible to read the file using file Adapter which is in client machine(on the same network).Then what is thee need of FTP Adapter?
You can achieve that by exposing your client machine as a drive, then you can go using file adapter.
FTP adapter will help you to communicate with different machine which is in different network.
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
Thanks,
Vijay -
Remove Line feed at the end of the file while using file adapter
Hi All,
I have a requirement. We are sending a file from SAP to FTP using file adapter. we are successful in sending the file to FTP but at the end of the file a extra blank line is created .
Can anyone please suggest how to remove the extra line feed at the end of the file.
Thanks and Regards,
LRK.check this:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
To define an additional string as a separator after the last column in a row, specify it here. The system skips this string when it processes the last column (otherwise the system would treat it as part of the last column).
Also there are solved threads which deal with same problem....you can even check them out...
regards,
Abhishek. -
Why cant poll a file more than once using File Adapter..
Hi All,
When we run webservice, as I am using File Adapter to read/write the file information.
Usually, File Adapter reads once every file and it wont read again the same file whcih already red.
Where and How this status maintained by File Adapter/BPEL in the system.
Where this will be avvailable and why cant File Adapter read/poll the same file.
Pls can any one of you share your ideas on the same.
Thanks.Hi,
Tried to get some information around where ftp adapter stores the timestamp but couldnt find anything useful.
But we have a table for File adapter which captures the processing information (FILEADAPTER_IN )
I dont have the setup for FTP adapter to run an example. If you could try the below we can clarify that the timestamp is not stored in memory.
Configure as usual for a folder with a file pattern for FTP adapter.
Drop a file to process it and then restart the SOA Suite and try to drop the same file with same timestamp to see wheather FTP adapter picks up or not.
Ideally i feel once you restart the SOA Suite it should pick up the file, if still not picks up the file for second time then we need to dig indepth to see where this information is stored.
btw what is your usecase ?
Thanks,
Vijay
Edited by: veejai24 on 11-Apr-2012 03:43 -
Error in using file adapter valves
Hi,
I'm working on Oracle SOA Suite 11g (11.1.1.4). I'm doing an exercise on using adapter valves for encryption. I need to write an encrypted file using File adapter. I created pipeline.xml and also specified property in jca file. And added bpm-infra.jar file to classpath.
Also, I've compiled SimpleEncryptValve.java and created a jar file and placed it in lib directory of domain.
Pipeline.xml is as below :
<?xml version="1.0"?>
<pipeline xmlns="https://www.oracle.com/adapter/pipeline">
<valves>
<valve>valves.SimpleEncryptValve</valve>
</valves>
</pipeline>
writeFile_file.jca contents are as below :
<adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="D:\PoC\FileAdapters"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="new_%SEQ%.txt"/>
<property name="NumberMessages" value="1"/>
<property name="PipelineFile" value="pipeline.xml"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Got below error while testing. What could be wrong in valve configuration ?
<Jun 6, 2011 7:29:25 PM IST> <Error> <oracle.soa.adapter> <BEA-000000> <File
pter Project2:writeFile [ Write_ptt::Write(body) ]
oracle.tip.pc.services.pipeline.PipelineException: Invalid configurations for valves
at oracle.tip.pc.services.pipeline.PipelineImpl.validate(PipelineImpl
va:237)
at oracle.tip.pc.services.pipeline.PipelineFactory.instantiateModel(P
lineFactory.java:198)
at oracle.tip.pc.services.pipeline.PipelineTemplate.newPipeline(Pipel
Template.java:39)
at oracle.tip.adapter.file.outbound.FileSender.getPipeline(FileSender
va:378)
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializ
late(FileSender.java:254)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(
eInteraction.java:623)
at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInter
ion.java:426)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeJcaReference(JCAInteractionInvoker.java:548)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteracti
nvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointI
raction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(A
terReference.java:247)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(
iatorServiceEngine.java:1120)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:200)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:94)
at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseA
onHandler.java:74)
at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActi
andler.java:47)
at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProces
.java:64)
at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(Message
patcher.java:137)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(
tialMessageDispatcher.java:503)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:401)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNorma
ses(InitialMessageDispatcher.java:284)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases
itialMessageDispatcher.java:251)
at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(Ini
lMessageDispatcher.java:143)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(Me
torServiceEngine.java:848)
at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(Media
ServiceEngine.java:624)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler
Post(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(Message
ter.java:194)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.jav
15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingRefle
on(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invok
inpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseE
tAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proce
ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDyn
cAopProxy.java:204)
at $Proxy299.post(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.doMessageProcessing(WebServiceEntryBindingComponent.java:1271)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComp
nt.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
at oracle.integration.platform.blocks.soap.FabricProvider.processMess
(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcess
(ProviderProcessor.java:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementa
n(WebServiceProcessor.java:1081)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessi
ProviderProcessor.java:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServic
ocessor.java:232)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProc
or.java:192)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.j
:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPo
FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSec
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:1
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatfor
il.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.
a:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.jav
61)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java
6)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAc
n.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentic
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.ja
120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebA
ervletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServl
ontext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImp
ava:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>Hi Surfraz,
Did you go through this link?
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABCFDGC
Regards,
Neeraj Sehgal -
Using file adapter, got "Sender Agreement not found" error
I used file adapter in my CC and defined all the necessary objects. When I tried to test the configuration and I kept getting "Sender Agreement" error.
Also the chache is cleared too, searched the forum already, couldn't find any clue
Not sure what I did wrongHi,
First things first, ensure you have an agreement for each single Communication Channel you have
and that they are correctly associated.
If they are created and associated, you may try the cache refresh with the link:
http://host:j2eeport/CPACache/refresh?mode=full
Kind regards,
Caio Cagnani -
Error while trying to move file using File adapter
Hi, I am trying one scenario to move file from one remote folder to other using file adapter as mentioned in heading 4.5.11.1 at http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CHDGFAAB. But I am receiving the below error:
<messages><input>
<Invoke1_FileMove_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></Invoke1_FileMove_InputVariable></input><fault>
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "*JCA Binding execute of Reference operation 'FileMove' failed due to: Exception occured when binding was invoked.*
*Exception occured during invocation of JCA binding: "*Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileReadInteractionSpec due to: Cannot set JCA WSDL Property.**
**Error while setting JCA WSDL Property.**
**Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec**
**Please verify the spelling of the property.**
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</summary></part><part name="detail"><detail>Cannot set JCA WSDL Property.
Error while setting JCA WSDL Property.
Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec
Please verify the spelling of the property.
</detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault></fault><faultType>
<message>0</message></faultType></messages>
Please provide any insight if someone have tried this.
Thanks,
rpsHi rps,
Your interaction-spec className seems to be incorrect (FileReadInteractionSpec).
<interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
</interaction-spec>Please try with the above interaction spec and let me know the outcome.
Regards,
Neeraj Sehgal -
Picking up file sequentially using file Adapter
Hi Experts,
I am working on a scenario, where two type of files are coming to the source directory namely "Data File" and "Flag File".
First, all the data Files will be coming and after that one flag file will be coming containing names of all the data files.
I am using two seperate Communication channels using "File Adapter" to pick these files. One for all tha data Files and one for Flag File.
As per our requirement we need to pick all data files first and then the flag file and process then in the same sequence.
Is there any solution to do it without BPM.
Regrads
PradeepHi Pradeep,
I don't think there is any mechanism where in you can direct the sequence of files to be picked ,more over you are using two communication channels .So both will act individually as per the poll interval.For your requirement. BPM Pattern Collect Message suits better as it always waits for Stop message to finish the integration process.In your case stop message can be your Log file.
Then all the data files will get processed at a time as soon PE receives the Stop msg (Log file).
Thanks,
Ram. -
How to use File Adapter with hierarchial Structure?
Hi,
How to use File Adapter with hierarchial Structure like..
Data:
--Header Details:
Line Item Details:
Data
Bcoz I am getting a Flatfile in a hierarchial way as shown below.
Header Details :1
Line Item a
Line Item b
Header Details :2
Line Item c
Line Item d
KishoreHey Kishore,
In order to create a structure you need to use the file with convertion mode on the sending communication channel of the file adapter.
check the link for the needed configuration paramters.
If the structure is more complexed you can use the Contetnt master(CM) from itemfield which allows to ceate XML file from complex flat files and more.
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm">File sender adapter</a>
If you have any question i'll be more than happy to assist.
Nimrod Gisis -
Reading .pdx file using File Adapter
Hi,
I have .pdx file in the input directory of my BPEL process .Also i have the DTD of the pdx file.Using file Adapter wizard i converted tht DTD to the XSD.Now when I run my BPEL process i am getting this error.
Failed to translate file : {C:\OraBPELPM_1\integration\jdev\jdev\mywo
rk\TestWs\readPDX\inputDr\agile_20070621_050222833.pdx}
<2007-07-06 23:08:38,137> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Sending message to Adapter Framework for rejection to user-configured
rejection handlers : {
file=C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\readPDX\inputDr\agile_2
0070621_050222833.pdx, Exception=ORABPEL-11207
IO Failure in translator.
IO failure because the translator failed to SAX Parse InputStream .
Check the error stack and fix the cause of the error. Contact oracle support if
error is not fixable.
<2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: The reso
urce adapter 'File Adapter' requested handling of a malformed inbound message. H
owever, the following bpel.xml activation property has not been defined: 'reject
edMessageHandlers'. Please define it and redeploy the business process. Will use
the default Rejection Directory file://C:\OraBPELPM_1\integration\orabpel\domai
ns\default\archive\jca\readPDX\rejectedMessages for now.
<2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: Sending
invalid inbound message to Exception Handler:
<2007-07-06 23:08:38,138> <INFO> <default.collaxa.cube.activation> <AdapterFrame
work::Inbound> Handing rejected message to DEFAULT rejection handler: file://C:\
OraBPELPM_1\integration\orabpel\domains\default\archive\jca\readPDX\rejectedMess
ages since none of the configured rejection handlers [] succeeded.
<2007-07-06 23:08:38,142> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Deleting file : C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\re
adPDX\inputDr\agile_20070621_050222833.pdx after processing.
Can somebody help me to find how to rectify this?
Thanks in AdvanceHi Anirudh,
Please have a look at the answers for ur questions:
(1)Is it a .pdf file?
its a .pdx file.This file is generated from Agile PLM side.It consists of DTD information and the actual xml.If i rename it to .xml then its working fine.But i would be getting this file in .pdx format
(2)Its size?
It can be 73 MB
(3)Using a file adapter to pick the file?
Yes
(4)Picking from the local box or a remote one?
For the time being i am picking it up from the local box.But going fwd it shld be from remote
(5)Any firewall being used?
No
(6)Is the schema correct and confirming with right namespaces?
Yes
(7)BPEL version?
10.1.2
Thanks
Cheers
Anirudh Pucha -
Appending in file using File Adapter
Hi,
Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
Another query is can we create the file at run time with the supplied file name?Hi,
To write a file in append mode, you need to add one line in wsdl file.
Make an entry with Append="true"
inside <jca:operation> tag found in wsdl file, created after Write file adapter.
<jca:operation
PhysicalDirectory="C:\TMP"
InteractionSpec="oracle.tip.adapter.file.outbound.FileInteractionSpec"
FileNamingConvention="write.txt"
OpaqueSchema="true"
Append="true">
</jca:operation>
Cheers,
Abhi... -
Polling using File Adapter in BPEL
My requirement is to constantly poll a directory location using file adapter for a particular filename. If the file is found then pick the file else continue polling.
Any thoughts on the approach is appreciated.Refer the below, File adapter is capable of doing that.
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIAHDAEB
for File Polling refer *4.3.1.4 File Polling* section
*7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
Thanks,
Vijay
Maybe you are looking for
-
My iMac (2010 intel model) does not recognise or communicate with my external seagate drive as a time machine for back ups since I had the 1TB Seagate replacement hard drive as part of the replacement prgram with OSX LION 10.5.8 installed. Is this be
-
Blocked file after downloading iTunes on Windows XP
I have downloaded the iTunes onto my Windows XP from apple.com/ipod/start. However, each time I try to open file, I get the same message: "Windows found problem. Unknown publisher. iTunes set-up.exe, blocked file." I am so frustrated!!! I bought an i
-
How can I make a pdf-file of the front panel?
I like to make a pdf-file of the front panel. Thus I need a vi, where I can input the printer name (as the pdf-printer is not the default one), the vi and the name of the future pdf-file. Thanks, Verena
-
Lightroom Linked to Business Application
July 15, 2011 Hello: I'm interested in a business application that links to Lightroom 2.7; the operating system is Windows XP. The application would link Photoshop files to cost, sale price, customers, etc. Hopefully, a thumbnail of the photo could
-
Buongiorno a tutti! Ho un problema nel trattare dati ricavati da un sistema di monitoraggio con Matlab. Ho costruito due vettori: uno per il tempo e uno per i valori registrati dal dispositivo. I due vettori sono correlati tra loro....se non ho regis