on 07-17-2009 6:11 AM
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 thach
The 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj and Kamath,
I tested two cases that you suggested, it still has the same error.
Have you got any ideas?
Thanks so much.
vn thach
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
file.type = xml
file.sourceDir=D:
Thach
Input
file.sourceFilename=xi_test.xlm
file.processingMode=test
file.pollInterval=10
just one thought;
shouldnt it be
file.sourceFilename=xi_test.xml ???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.