J2SE file adapter checkModificationInterval
Hello,
We're using a standalone J2SE sender file adapter. This adapter polls at a certain directory. (XML)Files are posted in this directory via ftp. When files that are polled become relatively large >2 MB it occurs that part of the file is already processed when file has not been completely written into the directory. This causes an incomplete XML message to be sent to XI system causing an error message.
The XML file is processed again when file has been written completely.
However this should be avoided by using the parameter file.checkModificationInterval however we are not succeeding finding the right value for this parameter in combination with
file.retryInterval
file.pollInterval
file.processingLocked
Does anybody have a clue.
Hi Emile
You can just directly set the parameter to,
file.checkModificationInterval=some milliseconds value
The way this works is, the file adapter first reads the file, then it waits for the specified time and checks if there is any change in length. If the file length changes it will repeat the read procedure. Again the process is repeated, and if it finds that there is no change in length, the file is processed. The key here is to try and identify the approximate time interval that can be set.
cheers
Sameer
Similar Messages
-
How to get the filename from J2SE File adapter
In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping and J2SE for Deliveying the message .
In one senario, routing will be based on the filename .
J2SE Sender File adapter --- XI Adapter --- XI pipe line
So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
When we are using the dynamic configurator in the XI to get the filename
we are not able to get the file name becasue it is coming to XI via
XI adapter.
How to get the filename ????Hope I am clear about the problem.hi,
try this
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//obtengo la Key del FileName
DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
/people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
Hope it helps
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM -
Question about J2SE-File-Adapter
Hallo,
i would send with the J2SE-File-Adapter a *.CSV to SAP XI.
The structure in the SAP XI is:
PlaintMaintenanceMessagetype
......Datasource..................string
......Data
..........item
..............EquipmentID.............string
..............FunktionalLocation......string
..............Data....................string
..............Time....................string
The *.csv File structure is:
6ATESTDEMOYVES,
1234,
Limo,
20060105,
122030,
The configuration of the J2SE-File-Adapter is:
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHROWCONVERSION
##File Adapter specific parameters (example, see docu)
##file.type=BIN
file.type=TXT
file.encoding=UTF-8
xml.documentName=ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender"
xml.structureTitle=6ATESTDEMOYVES
xml.processFieldNames=fromConfiguration
xml.fieldSeparator=;
xml.fieldNames=Datasource,EpuipmentID,FunctionalLocation,Data,Time
But it not runing! Can anybody help me? Are any How to guide to send a *.csv with the J2SE-File-Adapter.
Thanks laura
With the XML File it works. But there are ofer 40000 records in the *.csv, and i will not create this in *.xml!
The structure of the XML.File are:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Datasource>6ATESTDEMOYVES</Datasource>
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>122030</Time>
</item>
<item>
<EpuipmentID>1235</EpuipmentID>
<FunctionalLocation>Bier</FunctionalLocation>
<Data>20060106</Data>
<Time>122031</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>Hi Laura,
You can navigate thru these links to get more information:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
Cheers,
Chandra -
i,
When I post a XI message via SAP PI 7.10 SP7 integration server to a J2SE adapter engine to a file adapter, then when I use mode "XMB2FILE" in the receiver file adapter configuration on the J2SE Adapter Engine then the XML file is delivered into the appropriate folder with the correct XML format and content (As expected). However when I change the mode to XMB2FILEWITHCONVERSION then message fails in the integration Engine on the PI server.
With:
<Trace level="2" type="T">Addressing mode: url</Trace>
<Trace level="3" type="T">Host = "HOST"</Trace>
<Trace level="3" type="T">Port = 8111</Trace>
<Trace level="3" type="T">Transport protocol = HTTP 1.0</Trace>
<Trace level="3" type="T">Message protocol =</Trace>
<Trace level="3" type="T">Path = /file/receiver?action=execute&pipelineid=Receiver</Trace>
<Trace level="2" type="T">Auth mode: basicNonSAP</Trace>
<Trace level="3" type="T">Conversion of language from char2 to char1</Trace>
<Trace level="3" type="T">User = rip</Trace>
<Trace level="3" type="T">Client =</Trace>
<Trace level="3" type="T">Language =</Trace>
<Trace level="3" type="T">Creating HTTP-client</Trace>
<Trace level="3" type="T">HTTP-client: creation finished</Trace>
<Trace level="3" type="T">Security: Basic authentication</Trace>
<Trace level="3" type="T">Serializing message object...</Trace>
<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
<Trace level="3" type="T">HTTP-client: request sent</Trace>
<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
<Trace level="3" type="T">HTTP-client: response received</Trace>
<Trace level="3" type="T">HTTP-client: checking status code...</Trace>
<Trace level="3" type="T">HTTP-client: status code = 500</Trace>
<Trace level="3" type="T">Deserializing message object...</Trace>
<Trace level="3" type="System_Error">Error while sending by HTTP (error code: 500, error text: Internal Server Error:java.lang.NullPointerException)</Trace>
</Trace>
</Trace>
<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="T">Persist Message in Retry State</Trace>
A file is created in the target folder with no content and each time PI retries a new file is created.
If I look at the J2SE adapter trace file the following error is displayed:
Apr 3, 2009 3:05:03 PM ...i.messaging.adapter.XMB2FileProcessor [Thread[Thread-1145,5,main]] Error: Message processing failed with
java.lang.NullPointerException
at com.sap.aii.af.sdk.xi.adapter.Conversion.convertXML2Plain(Conversion.java:621)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.persistFile(ModuleXMB2File.java:1658)
at com.sap.aii.messaging.adapter.XMB2FileProcessor.onMessage(ModuleXMB2File.java:1346)
at com.sap.aii.messaging.adapter.ModuleHttpServer$ListenerDetails.onMessage(ModuleHttpServer.java:448)
at com.sap.aii.af.sdk.xi.net.HTTPRequest.run(ServerHttpImpl.java:437)
Please can you assist in the resolution of this problem?
Regards
Willie HugoHi Stefan,
Thank for the prompt reply. I am sending the XI message to a plain J2SE Adapter Engine. As I under stand the process, the XI message XML to flat file conversion will take place in the J2SE Adapter Engine in the File Adapter, configured there. If I under stand correctly we need to deploy a patch to the J2SE Adapter Engine and the note refers to XI 3.00 & 7.00, these Adapter Engines I can only assume is J2EE. Also the scenario described in the note is from csv to XML and not the required XML to CSV.
Please can you assist further?
Regards
Willie Hugo -
J2SE File Adapter fails (rcv adapter is STARTED but no messages)
Hi,
The J2SE Adapter Engine with a file receiver adapter keeps failing. The symptoms are as follows:
1. We transfer a large number (20-25K) of files.
2. At some point, the J2SE adapter stops receiving messages.
The status on the adapter home page indicates that it is started. Restarting the file receiver adapter doesn't fix the problem.
We noticed that before the crash the following entries appear in the J2SE Adapter Engine Trace files
Mar 21, 2010 9:20:26 PM ...ap.aii.messaging.net.HTTPServer.run() [Thread[Thread-24,5,main]] Info: TCP request received from pxpci.fil-eu.sv.philips.com
Mar 21, 2010 9:20:32 PM ...equest, HttpServletResponse response) [Thread[Thread-45969,5,main]] Error: java.lang.NullPointerException
at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1167)
at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:406)
Mar 21, 2010 9:23:26 PM ...ap.aii.messaging.net.HTTPServer.run() [Thread[Thread-24,5,main]] Info: TCP request received from pxpci.fil-eu.sv.philips.com
Mar 21, 2010 9:24:26 PM ...ap.aii.messaging.net.HTTPServer.run() [Thread[Thread-24,5,main]] Info: TCP request received from pxpci.fil-eu.sv.philips.com
Mar 21, 2010 9:25:29 PM ...ap.aii.messaging.net.HTTPServer.run() [Thread[Thread-24,5,main]] Info: TCP request received from pxpci.fil-eu.sv.philips.com
Mar 21, 2010 9:27:50 PM ...i.messaging.adapter.HTTPRequest.run() [Thread[Thread-45973,5,main]] Error: java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:368)
Mar 21, 2010 9:27:53 PM ...i.messaging.adapter.HTTPRequest.run() [Thread[Thread-45974,5,main]] Error: java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:368)
Do you know why this happens or how can it be fixed?
Regards
DivyaThe error in XI is
IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT
There were 22000 entries in the file adapter's ExactlyOnce DAT file.
The restart of the adapter cleared this but it still does get any messages.
Restarting the GUIBrowser service doesn't work - it just crashes the admin UI also. -
Send Filename from j2se FILE Adapter
Hi,
I need store filename from local file to xml element. When I use j2ee adapter there is no problem. I sended Filename to Adapter Metadata and through DynamicConfigurationKey in mapping I write it to element.
My question is: How could i do it in j2se plain adapter? (In our customer there is no way for using j2ee adapter)
Many thanks,
Paul.hi,
try this
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//obtengo la Key del FileName
DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
/people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
Hope it helps
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM -
J2Se receiver File adapter-HTTP 503 no listener registered for service
Hi,
We are using J2Se file adapter for one the interfaces and the logs of the J2se adapter engine has shown the following error-
Error: com.sap.aii.messaging.net.TransportException: HTTP 503 no listener registered for service /file/example_outbound
at com.sap.aii.messaging.net.HTTPRequest.run(ServerHttpImpl.java:416)
I checked with the J2SE File/FTP receiver adapter configuration given at help.sap and found the following the following info related to the error-
Specifications for addressing by the Integration Engine
○ XI.httpPort=<port_no>
<port_no>specifies the HTTP server port that receives the messages from the Integration Engine.
○ XI.httpService=<service>
<service> describes the service part of the address where the Integration Engine must send its messages.
These specifications are mandatory.
If, for example, you have specified XI.httpPort=1234 and XI.httpService=/file/Receiver, the end point address of the file/FTP adapter in the Integration Engine must be specified as follows:
http://<fileadapterhost>:1234/file/Receiver
The end point address must be extended as follows for the Integration Engine in Release 1.0:
http://<fileadapterhost>:1234/file/Receiver?action=execute&pipelineid=Receiver
If the Integration Engine message is sent to a non-specified adapter service, the system displays the following error message:
*No registered listener for <Service> found*
The system displays the same message if the adapter is initialized, but has not been started (status STOPPED or INITIALIZED).
Where I need to check this Integration engine address specifications. I have't found any of the above code in the adapter configuration which we are using presently.The interface is running successfully before but thrown this error now.
Please reply me if some one has faced similar issue and get it resolved.Hi
How was this issue resolved? I have the same problem.
I only have two receivers - the deafult j2se file receiver and my newly created one which used the default as a template. The ports and service's are different.
I've even tried deleting my custom receive adapter and using only the default one but i still get that error. -
How can i get the XSLT code from xi, it is possible?
Thanks
YvesYes that is right!
I try ist, but it does not work!
Here the structure of the sender in XI in XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
<Data>
<item>
<EpuipmentID>1234</EpuipmentID>
<FunctionalLocation>Limo</FunctionalLocation>
<Data>20060105</Data>
<Time>sdf</Time>
</item>
</Data>
</ns:PlaintMaintenanceMessagetype>
an this is the structure of the J2SE-File-Adapter:
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHSTRUCTURECONVERSION
#mode=FILE2XMB
Integration Engine address and document settings (example, see docu)
XI.TargetURL=http://dauxsaph.da.doehler.com:8000/sap/xi/engine?type=entry
XI.User=******
XI.Password=*****
XI.QualityOfService=EO
XI.SenderParty=
XI.SenderService=Plant_Maintenance_Sender
XI.ReceiverService=BW1CLNT001
XI.Interface=PlantMaintenanceMessageInterface
XI.InterfaceNamespace=http://doehler.com/sapxi/krausdemosender
file.sourceDir=C:/temp_bw
file.sourceFilename=fehler*
file.processingMode=delete
#file.retryInterval=20
file.pollInterval=5
##File Adapter specific parameters (example, see docu)
#file.type=BIN
file.type=TXT
#file.type=XML
file.encoding=UTF-8
xml.documentName=<ns:PlaintMaintenanceMessagetype xmls:ns="http://doehler.com/sapxi/krausdemosender">
#xml.documentName=http://doehler.com/sapxi/krausdemosender
xml.recordsetName=Data
xml.recordsetStructure=item,1
xml.item.fieldNames=EpuipmentID,FunctionalLocation,Data,Time
xml.item.fieldSeparator=,
#xml.keyFieldName=EquipmentID
#xml.keyFieldType=CaseSensitiveString
#xml.item.keyFieldValue=1234.
but it does not work why?
thanks yves
Message was edited by: Kraus Yves -
How to handle duplicate messages in J2SE File scenario
Hi,
Is there any way to handle processing of duplicate messages in J2SE File adapter scenario?
Here is the scenario ,
Steps :
1. Engine picks up a message and checks the size of it.
2. Before reaching the checking interval , the adapter(file) was terminated unfortunately.
3. J2SE engine was restarted.
4. Previous file was again picked up and sent as the first time with one msgID.
5. After sometime, same file was picked up with a new msgID
6. System gets only ONE configrmation that file has been successfully transfered.
So we find two messages containing the same file.
I have checked in J2SE doc, there is a parameter called "db.exactlyOnceErrorInPendingState" which is related to DB.
Is there any similar parameter to handle the duplicate messages in FIle Adapter scenarios of J2SE Engine.
Please help me in this regard as it seems to be a new thing in J2SE AE.
Regards,
Soorya.Hi swarup,
But using OS command how can we rename /archive that file?
Module means any Custom Module or wat?
Following are the channel configurations used in File To File scenario.
File Sender :
version=30
mode=XMB2FILE
XI.httpPort=58201
XI.httpService=/test
XI.ReceiverAdapterForService=test_rcv
file.numberOfMessageTypes=1
XI.Interface=MI_test_out
XI.InterfaceNamespace=http://nestle.com/test
file.type=BIN
file.targetDir=/test_inb
file.targetFilename=unusedbutreq
file.writeMode=fromHeader.ext
file.createDir=0
file.nestleName=initial
file.writeMode=fromHeader.ext
file.nestleEXT=test
file.nestleFileOverwrite=False
File Receiver :
version=30
mode=FILE2XMB
XI.TargetURL=http://localhost:58201/test
XI.NestleTargetURL=http://localhost:58201/test
file.type=BIN
file.checkFileModificationInterval=300000
file.pollInterval=300
file.processingMode=archiveWithTimestamp
file.archiveDir=/test_out/arc
XI.QualityOfService=EO
file.numberOfMessageTypes=1
file.messageAttributes=name
XI.SenderService=test_snd
XI.Interface=MI_test_out
XI.InterfaceNamespace=http://nestle.com/test
XI.ReceiverService=test_rcv
file.nestleBadMsgDir=/test_out/bad
file.sourceDir=/test_out
file.sourceFilename=.
Do the needful help asap.
Regards,
Prakash. -
"Performance" problems with the File adapter on Plain J2SE Adapter Engine
Hi,
At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
Thanks in advance for any input.
Greetings,
PatrickHi Sameer,
Thanks for your answers.
On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
Regards,
Patrick -
Receiver File Adapter J2SE Adapter Engine
Hi,
We have configured a receiver file adapter on a J2SE adapter engine through the administrator page of the J2SE adapter.
XI.httpPort=8222
XI.httpService=/file/Receive
and the rest of the adapter parameters.
I have configured a channel in ID as XI receiver adapter.
host: "hostname"
Service: 8222
Path Prefix: /file/Receive
The messages in sxmb_moni fail to be delivered with "HTTP error 404 Resource not found."
Through a browser I am also not able to make a connection to this url:
"host":8222/file/Receive
Getting Http error "501".
Please can someone shed some light on this problem.
Regards
Willie Hugo>Through a browser I am also not able to make a connection to this url:
>"host":8222/file/Receive
>Getting Http error "501".
This is ok. Since get method not implemeted for this service.
Since from XI you are getting this error "HTTP error 404 Resource not found", can you logon to XI server at OS level and do a telnet test to check if the port is working.
cmd> telnet
telnet> open <J2SEAdpaterEngineHostName (or) IPAddress> 8222 -
J2SE File Sender Adapter Error
Hi Experts,
I am doing a scenario on J2SE. Like this: J2SE File Sender -> XI -> J2SE File Receiver.
On File Sender adapter, it has an error, like this "ERROR: Finished sending to Integration Engine with error u201Cjava.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Foundu201D. Skip confirmation and quit this loop"
And this is the full log:
D:\Thach\Input\xi_test.xml
16:51:45 (4052): Start processing u201CTXTu201D file u201CD:\Thach\Input\xi_test.xmlu201D size 190 in u201CEO mode
16:51:45 (4058): Start converting to XML format
16:51:45 (4061): Converted complete file content to XML format
16:51:45 (4062): Sending text message u201Ce1ffc9e0-71e5-11de-8306-0019d12044f1u2033 type u201Capplication/xmlu201D to Integration Engineu2026 (message size: 633 bytes, URL: u201Chttp://host:50200/sap/xi/engine?type=entryu201D)
16:51:45 (4076): ERROR: Finished sending to Integration Engine with error u201Cjava.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Foundu201D. Skip confirmation and quit this loop
16:51:45 (4077): Retry mode - wait 10 sec, 0 msec interval before retry
And this the content of xi_test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Material_toPPS xmlns:ns0="http://gml.com/xi/XI/Tutorials">
<Material>
<Text>Test</Text>
</Material>
</ns0:MT_Material_toPPS>
And this the configuration of J2SE File Sender:
mode=FILE2XMBWITHROWCONVERSION
XI.TargetURL=http://host:50200/sap/xi/engine?type=entry
XI.User=PISUPER
XI.Password=*********
XI.QualityOfService=EO
XI.SenderParty=
XI.SenderService=BS_PlainJ2SE_Sender
XI.ReceiverParty=
XI.ReceiverService=BS_FileRecv
XI.Interface=MI_Material_toPPS_OB
XI.InterfaceNamespace=http://gml.com/xi/XI/Tutorials
file.type = xml
file.sourceDir=D:
Thach
Input
file.sourceFilename=xi_test.xlm
file.processingMode=test
file.pollInterval=10
#Content conversion parameters in PlainJ2SE Adapter
xml.documentName = MT_Material_toPPS
xml.documentNamespace = http://gml.com/xi/XI/Tutorials
xml.structureTitle = Material
xml.processFieldNames = fromConfiguration
xml.fieldNames = Text
Please help to solve the issue.
Thanks so much,
vn thachThe URL of the Integration Server is wrong or you cannot access the server from the host, where the J2SE adapter is running:
XI.TargetURL=http://host:50200/sap/xi/engine?type=entry
If the Client of the Integration Server is not 000, then you have also to add that line:
XI.Client=XXX -
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,
KrisJason, 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 -
Configuring Receiver File Adapter for J2SE
Hi All,
I have a scenario in which i need to convert the IDOC data into a fixed length file.
I did mapping according to the output structure of the file.
My Output file format is as follows...
Document1 document2 document3 etc
Each document contains different fields with different lengths
In XI-FIle adapter we give Recordset structure : Document1,Document2,Document3.
But while configuring Receiver File adapter in J2SE.
There is no option mentioned in J2SE Adapter.
<b>http://saphelp.border-states.com/EN/95/bb623c6369f454e10000000a114084/content.htm</b>
Please throw some light on the same.
Thank You
Regards,
Reehanas far as i read the document, what i understood is that the J2SE adapter has a limitation.
your XML structure should be as mention in the link;
<i>To convert a table in XML format to pure text format, the document format must be the same as that which is generated by the sender file/FTP adapter in mode FILE2XMBWITHROWCONVERSION <i>(with the default value <row> for the structure)</i> and the sender JDBC adapter. This means that the document structure looks like this:
<resultset>
<row>
<column-name1>column-value</column-name1>
<column-name2>column-value</column-name2>
<column-name3>column-value</column-name3>
</row>
<row>
<column-name1>column-value</column-name1>
<column-name2>column-value</column-name2>
<column-name3>column-value</column-name3>
</row>
</resultset>
This is an example for 3 columns and 2 lines. The number of lines and columns is, of course, unlimited. <b>The XML elements in italics can be defined by the user and the elements of a line must be grouped within an element of type <row> </row></b>.</i>
So cannot take the <b>recordset structure</b> as we have for the normal File adapter. -
How to set DEBUG severity for File adapter in J2SE AE
Hi,
Can anyone help me in setting the severity level to DEBUG for file adapter?
I have tried to set in logging.properties file as given below,
formatter[Trace] = TraceFormatter
formatter[Trace].pattern =%24d [%t] %-6s %l - %m
log[Trace] = FileLog
log[Trace].pattern = swb_%g.log
log[Trace].limit = 2000000
log[Trace].cnt = 5
log[Trace].formatter = formatter[Trace]
com.sap.aii.messaging.adapter.severity = DEBUG
logging components
#com.sap.aii.axis.logs = +log[Trace]
#com.sap.aii.axis.severity = DEBUG
#org.apache.axis.logs = +log[Trace]
#org.apache.axis.severity = DEBUG
Please correct me if I have did anything wrong and sugest me hot to set the DEBUG level as soon as possible.
Best Regards,
SooryaHi Sejoon,
when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
http://server:port/exchangeProfile/index.html
to see how your adapter engine is configured
http://server:port/sld
SLD -> Content Maintenance
then
Subset: landscape description
Class: XI Adapter Framework
buth check the exchange profile entries first
Regards,
michal
Maybe you are looking for
-
HP LaserJet 200 color MFP M276nw - cannot connect
Hello, Installed a HP LaserJet 200 color MFP M276nw on a Windows 7 system with no issues. Then added the "device" / printer on two Windows tablets, with no issues. I was able to print from all three devices. The tablets cannot 'find' the printer.
-
Balance Carry Forward to new fiscal year wrongly
Dear All, Currently we are in 2012 fiscal year. our fiscal year starts form July to June. The problem is user has posted some of the documents in 2010 fiscal year 13th period after Changed the G/L account on 24.05.2010 (2010 Fiscal year) fro
-
Using JNI i am writing sample program i am getting the erro in jni.h
Hi, i am writing sample programs using JNI interface while compliling the c program i am getting the error in jni.h file. wherever the JNICALL has in jni.h i am getting the error that particular line. can anyone help me on this regard? Thanks Balaji
-
Cannot connect to ad hoc network with iOS 8
I am trying to use my iPad air on iOS 8 to connect to an ad hoc network I've set up on my PC (windows 7). The network appears under devices, and when I try to connect it says "(Name) is not connected to the internet. Are you sure you want to use this
-
Migrating BAPI & RFC function modules into web services
What is the advantage of migrating BAPI & RFC function modules into web services?