How to register a file adapter in XI Server? [XI 3.0 / J2SE Plain Adapter]
Hi,
I am trying to register an outbound file adapter (J2SE Plain Adapter Engine) in the XI server to finally map the adapter to a communiction channel.
What I tried is to activate the SLDaccessor service in the J2SE Plain Adapter Engine (as mentioned in Plain Adapter Docs -> Serive: SLDaccessor Service).
After restarting the Adapter, the protocol in Plain Adapter Engine didn´t show any errors.
Now my problem is where can I find in the "XI-Tools" (SLD, Configuration Builder, ABAP-based Server GUI) that the registration of the adapter did run properly?
What I expected was that my file adapter would appear in the Integration Builder in my communication channel under the tab "Parameters" in the drop-down box "Adapter Engine". Unfortunately, it is not listed there.
Furthermore, I do not exactly understand the benefit of registering the adapter in the SLD. What is the real advantage than establishing a connection between the adapter and the XI with the parameters XI.TargetURL etc.
Regards,
Kris
Jason, thanks for your answer.
Unfortunately, it is not running yet. The Adapter protocol states now:
11:03:00 : No entry in SLD found for Bus.System 'WeissmannBuisSys1'
The corresponding adapter configuration looks like:
XI.SenderParty=
XI.SenderService=WeissmannBuisSys1
XI.Interface=OrderMI
XI.InterfaceNamespace=http://www.foobar.de/sap/xi/test170604
Can I at least assume that there has been a connection to the business SLD?
If yes, I do have a Business System 'WeissmannBuisSys1' in SLD -> Business Landscape as well as in my Configuration Scenario under 'Business Systems'. Is this the right one to specify in the parameter XI.SenderService or will there be something else expected?
Besides that, the corresponding documentation is somehow confusing to me:
You can set the following arguments (except in mode FILE2XMBSTREAM) and use them to identify the adapter configuration during routing and mapping in the Integration Engine pipeline. You can also find an explanation about each argument there.
- XI.SenderParty=<sender party name>
- XI.SenderService=<sender service name>
- XI.SenderInterfaceNamespace=<namespace URI>
- XI.SenderInterface=<name>
- XI.ReceiverParty=<receiver party name>
- XI.ReceiverService=<receiver service name>
You must set at least XI.SenderService and XI.Interface. The receiver is generally determined by routing in the Integration Engine. This specification is not mandatory.
The XI.Interface mentioned in the last paragraph is not listed above in the parameters list. I assume XI.Interface == XI.SenderInterface.
In the german documetation there is also another XI.InterfaceNamespace mentioned in the last paragraph which I assume is XI.SenderInterfaceNamespace.
Regards,
Kris
Similar Messages
-
How to register the File adapter?
Hi All,
While monitoring the communication Channel i got the status of file adapter as below ..
if no adapter is registered ,then please provide the steps to register the adapters .
Adapter name==>File_Receiver_NCG_BS2
Status==>n/a
Short Log==>No adapter registered for this channel
Control data==> n/a
Business Service==>NCG_BS2
Adapter Type==> File
Direction==>Receiver
Message was edited by:
nandan nd
Message was edited by:
nandan ndhi,
Search for the file XI7_0_SAP_BASIS_7.00_09_00_2007-08-14_11-04.tpz( Dates may differ here) in your instalable files of XI, then copy this file in D:\usr\sap\XAI\SYS\global\xi\repository_server\import
Then go to IR in XI and in Tools there will be a option Import choose that.
Regards,
vikas -
How to open a file created at the server through form/report at client end
How to open a file created at the server through form/report at client end
Dear Sir/Madame,
I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
Thanks
Rajesh JainOne way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
Cheers, APC -
How to run ear file in java application server
i want how to run .ear file in java application server
1. i m created ear file
2. i m created jar file (bean,home,remote)
3.i m created war file(in the form of jsp)
but till now i couldnt run ear file
how to run
please hel meYou must create :
1.Jar file
2.War file
And then put them into an ear file
Exemple : myapp.ear contains
myappEJB.jar
myappWEB.war
META-INF/application.xml
and application.xml looks like this :
<application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>myapp</display-name>
<description>Demo application</description>
<module>
<ejb>myappEJB.jar</ejb>
</module>
<module>
<web>
<web-uri>myappWAR.war</web-uri>
<context-root>/myapp</context-root>
</web>
</module>
</application>Good luck -
How to register a webserive in NetWeaver Application Server?
Dear All,
Can you please explain how to register a werbservice in Netweaver Application server?
GafarMahesh,
Thank you for your reply.
I have gone through the sap note 63930. I need some more details to fix my problem.
My application flow is as follows.
1. There is a webservice in SAP XI.
2.The webservice is calling from a Java Web application by
using Java JNDI lookup.
While calling the XI through jndi lookup,
I am getting an exception, NameNotFoundException. This is because of the non existing/Name mismatch of JNDI lookup on Web AS.
My question is How and Where can we check the JNDI registry? I am not familiar with Visual Administrator. Can you please help me regarding this problem.
Abdul Gafar -
How to Rename the file in the application server?
Hi friends.
How to Rename the file in the application server? via abap program so pls kindly let me know thr any function module is there.
Thanks
With Regards
I.Muthukumar.Dont think there is any quick fix way of doin this, however you can use the following sequence of dataset ops to get what you need:
READ DATASET - retrieve contents of current AS file
TRANSFER DATASET - create a new file on AS with the contents read in READ
DELETE DATASET - delete the original file on AS (if TRANSFER above is successful)
Hope this approach helps.
Cheers,
Aditya -
How to configure Sender File Adapter to pick couples files in order !!
Hi Folks,
I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?
I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order.
The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even PI picks and process 26th file, no problem but I need to give some time gap to send SNC to this 26th date file?
Please how guys, throw me your great ideas
Thanks in advance!!
Regards
San@ Sandhya
If there are 40 files , can you please specify how many types of files are ther like say first A type shud be picked then B type then C type and so on so forth ?
LIke in my case I had only three types of files file1 and file 2 file 3
and in the directory also only three files will be placed at a time
you need to have some logic to separate the type of files in differnt folders and then process them
@ farooq yes . it will create problem if 40 files are kept at a time .
Regards
Ninad -
How to make BPEL File Adapter read only new files?
Hello
we have BPEL processes that define to run from bpel component - file adatper-
when a file come into location that it is path on the linux server . the bpel start run when "File Adapter" bpel component recognize that new file come to the location. its PollingFrequency define to 5. property name="DeleteFile" value="false" so the files remaine there.
we want to migrate the bpel to new SOA version so we did export and deploy to new SOA Domain.
the location of the file adapter is the same.
but when the BPEL processes deployed its start to run for all the files that are in this location- that the file adapter define on .
even the original soa tooks those files and start the BPEL processes for each one of them. also the new SOA that we did deploy to the BPEL processes take those files even if they are very old.
we want the file adatper we take only new files . the start point is the time when we do deploy to the process so if we do deploy in 10:00 am we dont want this bpel will take files from 9:00 or earlier time
Please help , how we can do this?
Thanksthank you
do you kno hat the value means in the example:
Java mon amour: File Adapter metadata with SOA Suite
<property name="jca.file.LastModifiedTime" value="1293041258635">
what should I rite for read only the files that are only neer then yesterday? -
How to know when File Adapter is complete when debatching?
I have a BPEL process that reads in a file and debatches it into records of 1 and inserts them into a table.
How do I know when the entire process is complete and all records in the file have been handled?Thats the problem with the file adapter. If you use it in debatch mode, you cannot really control the different BPEL processes that get spawned off one file.
The other approach for scenarios where the file is huge, could be to use the adapter in notification mode. So the file adapter will notify the BPEL process, that the file is available, and then BPEL process can read the file using xpath functions or java code etc.
Hope this helps.
-@ -
How to customize the File Adapter to put the header line in a variable?
I have a file in which the first line contains the number of records contained by the file itself.
Like this:
4
record1
record2
record3
record4
where each record is a delimited list of values
I need to validate that the records are actually 4.
in the documentation of the File Adapter I see that you can declare the first line as "header", but I have the impression that in this case it would be simply ignored, and not stored in a variable for later use......
Is this correct?
Any trick or workaround?
thank you soooo much!it worked like a charm,
here is the XSD I have used:
http://www.javamonamour.org/2010/12/soa-sutie-file-adapter-parsing-complex.html
( I don't seem to be able to display correctly XML in this post :o( ) -
Soa Suite: How to limit Outbound File Adapter retry to write to specified location.
Hi all,
I have created a file adapter that tries to write files to the specified location.
If location is wrong, I was expecting to get an error.
But none is generated.
It seems that the service keeps on trying to write to the specified location until it finds it (which is never to happen).
Please tell if I am wrong at this.
I want my service to stop retrying after a period of time or after a number of retries or whatever is happening.
I want to get error if location is wrongly specified.
Regards and thanks in advanced,
ShuklaGHi,
Place the receive (or invoke) in a Scope and place a OnAlarm on the scope.
Set the OnAlarm to a max timeout. When the OnAlarm is reached the sequence of that OnAlarm will catch the transaction and you can throw an Error.
You can then catch or retrow the error.
Below some images that show the concept on a receive (download to view).
- ScopeWithOnAlarm
- OnAlarmSettings
Cheers,
Robert van Mölken
Senior Oracle Integration Specialist -
How to use Oracle File Adapter in OSB
We are trying to use File Adapter in OSB 11g. Is it supported in this version? If yes then some one can specify a document which contains File Adapter - OSB integration steps.
according to the ESB JCA transport:
[ESB JCA|http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/jca.htm#i1106345]
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/jca.htm#i1106345
there is only these adapters:
_25.2.1 Adapter Support_
The Oracle Service Bus JCA transport lets you interact with the following JCA-compliant adapters:
Oracle Adapter for Oracle Applications
Oracle JCA Adapter for AQ
Oracle JCA Adapter for Database
Oracle JCA Adapter for Files
Oracle BAM Adapter (Business Activity Monitoring)
PeopleSoft (Oracle Application Adapters 10g)
SAP R/3 (Oracle Application Adapters 10g)
Siebel (Oracle Application Adapters 10g)
J.D. Edwards (Oracle Application Adapters 10g)
See the following guides for more information on Oracle adapters:
I wanna use FTP Adapter and MQ Adapter in Oracle ESB 11.1.1.3, can we make it? -
How to activate the File Adapter
Hi All,
There is a strange problem that i am faceing now.
I am using a file adapter to push and pull the file. The problem is just before two days the file adapter was working fine but as the location for the file pushing(file location) was not correct , so it went in the HOLD status. I just cancle the queue to make it clear and then re processed the file .
The starange thing is that it is now not picking of the file , when checked the adapter monitoring, i found that the file adapter is in grey status saying "inactive Led : Component status is not defined "
So also i dont found any item (communication channel) for file adapter.
Any idea from your side will be a great help for me.
Thanks in advance.
JAY.Hi,
When you activate or deactivate the adapter, then its corresponding services in the J2EE engine become active and inactive.
If possible try to manually activate it. Or try to do some changes in your channel and activate it.
If still this problem persist, do full adapter cache refresh.
And finally restart J2EE engine if possible.
Thanks
Farooq
Edited by: Farooq Farooqui on Aug 25, 2008 4:01 PM -
How to download a file from a custom server location?
Hello experts,
I have the following scenario:
A BAPI creates an .exe file and stores it in a custom folder in the server where the portal (and my WD application) is running. This happens once a day.
What I need to do is create a link or button (doesn't matter) so that users can click on it and download this file.
I already checked the file upload - download tutorial (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f;jsessionid=%28J2EE3417500%29ID0774236150DB11016171821629714331End?overridelayout=true) however this one considers the file to be downloaded is stored in the src folder of the project, thus it doesn't really help me.
How can I achieve this? Any suggestions and help will be greatly appreciated.
Thanks!hi Alain,
Use File API to read data from the file. It will return byte array from the file. Set Byte array to the file resouce context attribute.
bind this attribute to the filedownload UI element.
Since you need to read file from the same server where webdynpro application is running, You can give the folder path on the server where the file is located.
try {
File inputFile =
new File("C:\\Test\\Test.txt");
FileInputStream in = new FileInputStream(inputFile);
byte b[] = new byte[ inputFile.length()];
in.read(b);
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace(); -
How to Deploy HTML file in embedded OC4J Server
Hi,
I have a problem with deploying the HTML file.
How to deploy a HTML file in embedded oc4j server.
I'm running this in a Standalone and JDeveloper9i version.
I don't know where to deploy and how to deploy ?
Thanks
JamesHi Deepak,
I tryed that but i was NOT successful.
I'm getting 404 error page could not find in the Server.
Any other idea ?
Maybe you are looking for
-
I'm trying to sync the voice memos taken with my iPhone 4S (iOS 6.1.3) into iTunes (11.0.2 _ 26 _ 64 bit). I don't know how the voice memos doesn't sync in iTunes. Anyone can help me?
-
Switching to Xserver/Xserve RAID
Hi boys and girls... I was looking for a little assistance in switching over to Xserve. Let me give you some background info first. Were a small studio in London, with only 11 people in-house and the majority working externally whether free-lance, fr
-
Hullo all, I run a smallish studio at a University, and I have inherited multiple Macs (2 Powerbooks, 2 Mac Pros) running multiple OS (2 on Mavericks, 2 on 10.7) and multiple versions of iPhoto. These have been used for photo and video work over the
-
Recording audio from NI Maschine
I am fairly new to Logic Studio, but I have figured out some of the basics. I am having issues as I try to record the audio from my NI Maschine plugin. The issue is that I can plug in the Maschine as an insert in an audio instrument track, and I leav
-
Exporting an OBJECT completely
Hey I have a function module object developed, which uses some dictionary structures and inludes. It is associated with a Transport Request. Now, my query is: I want to deploy this object exactly as it is at my customer's system. What is the easiest