Receiver HTTP cases
Hello,
Could you suggest in which situations we use Receiver HTTP..... Could you please give some real time examples
HI,
HTTP adapter is generally used for SYNC SCENARIOS
and WEB BASED
HTTP is also used in sending XML file and placing somewhere in the portal server check the below blogs
Push Data to MVC Architectured application using XI
Push Data to MVC Architectured application using XI
XI - SAP Business Connector integration using the HTTP adapter
XI - SAP Business Connector integration using the HTTP adapter
reward points if helpfull
regards
kummari
Edited by: kummari on Jul 21, 2008 2:17 PM
Edited by: kummari on Jul 21, 2008 2:20 PM
Similar Messages
-
Error Transmitting the message to endpoint -Received HTTP response code 401
Hello Experts,
I am having a SOAP to Proxy scenario. We are using HTTPS without client Authentication.
Everything is running fine and well set on DEV system. After transporting to Test system, i am getting error as :
Error Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
I get HTTP 200 Ok response in my soap client but the message is not reaching to Integration Engine. It is failing with above error. On CC monitoring for SOAP adapter it shows call completed successfully. But when I use the mesage ID from CC monitoring in Message monitoring i get the error as shown above in Audit log.
I have checked for Roles attached to my user on DEV and Test systems , I have same roles on both systems.
Any inputs to solve this problem will be very helpful to me. Let me know which service users i need to check for this issue?
Thanks in Advance,
XI Queries.Hi Pinang,
Thanks for input.
1) Check Role -SAP_XI_APPL_SERV_USER is there in XIAPPLUSER or not.
->Done. Its Ok.
2) check tyour port entry is like J2EE port 5<System no> or not.
->Done. Its Ok.
3) If the error in Adapter Engine
then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
->This note refers in case it happens with high load. I am just sending a small request and no one else is using / testing this interface. So no high load.
4) Check password for user XIISUSER
-> Basis team said they checked for all Xi users and they are not locked.
5) Check password for user XIAFUSER
-> Basis team said they checked for all Xi users and they are not locked.
Any other hints will be helpful.
Kind Regards,
Xi Queries. -
Convert XML payload to HTML form data in Receiver HTTP Adapter
Hi,
I want to make a HTTP request ( Receiver HTTP Adapter ) to a servlet where I need to send the payload in HTML form format ( name=value ). As per the help document:
A typical HTML form comprises named fields. When transferring a completed form to the server or a CGI program, the data must be transferred in such a way that the CGI script can recognize the fields that make up the form, and which data was entered in which field.
The plain HTTP adapter constructs this format using a prolog and an epilog
Has anyone done this before? I looked through all help documents and forums but in vain. I can resort to Java Mapping to do this but I do not want to re-invent the wheel if I can do it easily using HTTP Adapter Configuration. Please help.The parameters available in HTTP adapter for message header are:
HeaderFieldFive http://sap.com/xi/XI/System/HTTP
HeaderFieldFour http://sap.com/xi/XI/System/HTTP
HeaderFieldOne http://sap.com/xi/XI/System/HTTP
HeaderFieldSix http://sap.com/xi/XI/System/HTTP
HeaderFieldThree http://sap.com/xi/XI/System/HTTP
HeaderFieldTwo http://sap.com/xi/XI/System/HTTP
HTTPDest http://sap.com/xi/XI/System/HTTP
TargetURL http://sap.com/xi/XI/System/HTTP
URLParamFive http://sap.com/xi/XI/System/HTTP
URLParamFour http://sap.com/xi/XI/System/HTTP
URLParamOne http://sap.com/xi/XI/System/HTTP
URLParamSix http://sap.com/xi/XI/System/HTTP
URLParamThree http://sap.com/xi/XI/System/HTTP
URLParamTwo http://sap.com/xi/XI/System/HTTP -
How to send the payload to a jsp using receiver Http adapter?
Hi experts,
I have this scenario from Legacy to XI to external app server.I have a test jsp to execute that functionality .Its a jsp which has 1 textarea named "test" and when I click on the submit buton I get a response back.This way I am able to test this independently.Now from XI when I am executing my scenario I am getting status code '1250' and message as ' http request(test) is null'.Now in the scenario in http adapter I just provide the target host : ip of server ,
service number : port no ,
path: the container or the request handler. But this scenario fails and gives me the above erroneous response.Now Basically I am not able to get how to send the value to the textarea "test"? please provide help as soon as possible.Do we have to put the name of the jsp in the "path" in http adapter and use prolog as test=.I tried this but it doesnt work.
Is there any way to check the URL that it forms after appending the querystring in the url ...?
So please provide help on this or suggest a solution to [email protected] as soon as possible.....
Thanx in advance.
Akshatahey Shekhar,
thanx for that prompt reply but I have configured the communication channel in the same manner as suggested by u.
actually I have this jsp page http://xx.xx.xx.xx:8080/abcdef/try/efg.jsp where there is a textarea "test" which has to be filled and there is a submit button.When I test this http client i.e the above jsp page independently then it goes to handler
http://xx.xx.xx.xx:8080/abcdef/trial/ And it gives a proper response message after clicking on the submit button.
now I want to carry out the same using receiver http adapter. I need to pass the value for this inputfield names "test" on that jsp . so right now I have configyured the adapter as
addressing type: url
target host : xx.xx.xx.xx
service no:8080
path : here I have given the path of handler i.e /abcdef/trial I tried giving the jsp page also but logically I guess it should be the handler.
content type: text/xml; charset=iso-8859-1
xml code: UTF-8
Mask special characters (URL escaping) checked.
now since the name of the inputfield is "test" in the prolog I gave test=
But it doesnt work I get this error "http request parameter [test] is null" in the response message which I guess suggests that it is not able to send the value for the field"test" to that handler.Please suggest how to send this and tell me if there are any other configurations that I have to do in the receiver communication channel.
Thanx ,
Akshata -
Received HTTP response code 500 : Internal Server Error
Hi All,
In my scenario EANCOM to IDOC, I am getting an error in the sender communication channel (FILE Adapter). It is being picked up from the sender directory successfully but not reaching the XI box (no messages seen in SXMB_MONI).
The error in the runtime Workbench says the following:
Transmitting the message to endpoint http://gdrsap.nestle.com:50000/XIAxisAdapter/MessageServlet? using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error.
Regards,
ManoharHi Murli
error code 500 stands for Internal Server Error
This code is the default for an error condition when none of the other 5xx codes apply.
for more details on error code follow the link
http://www.web-cache.com/Writings/http-status-codes.html
you have to restart J2EE engine
steps to restart J2EE engine
1) run transaction SMICM
2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
Thanks
sandeep sharma
PS ; if helpful kindly reward points -
Received HTTP response code 500..
Hi All
Whenever i try a scenario with file adapter as the sender, i get the following error in the runtime workbench (message monitoring).
"Transmitting the message to endpoint http://USSAPVM7:8000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500.."
Can anyone let me know as to what could be the cause of the problem. Please remember the response code is 500 and not 503.
regards
SameerHi Sudhir/Siva
My pipeline url has the following entry,
http://<hostname>:8000/sap/xi/engine/entry?action=execute
so u recommend that i should change it to,
http://<hostname>:8000/sap/xi/engine/entry?action=entry
(or)
http://<hostname>:8000/sap/xi/engine/entry?type=entry
(or)
http://<hostname>:8000/sap/xi/engine?type=entry
which one of the above three should i change to. But whenever i try other scenarios such as idoc to file, it works fine. So by changing the pipeline url, will there be any problem while executing the the other scenarios.
cheers
Sameer
Message was edited by: Sammy -
Received HTTP response code 500 : Internal Server Error using connection Fi
Hi everybody,
I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
File - RFC - File without a BPM - Possible from SP 19.
I have used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
1 sender ftp channel
1 receiver soap channel
1 receiver ftp channel.
2009-12-16 15:02:00 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
2009-12-16 15:02:00 Information MP: entering1
2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
2009-12-16 15:02:00 Information RRB: suspending the transaction
2009-12-16 15:02:00 Information RRB: passing through ...
2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:00 Information Trying to put the message into the call queue.
2009-12-16 15:02:00 Information Message successfully put into the queue.
2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
2009-12-16 15:02:00 Information The message status was set to DLNG.
2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:02 Error The message status was set to FAIL.
Please help.
thanks a lot
RamyaHi Suraj,
You are right.The webservice is not invoked.I see the same error in the sender channel and the receiver soap channel status is "never used".
2009-12-16 15:52:25 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS BE
2009-12-16 15:52:25 Information MP: entering1
2009-12-16 15:52:25 Information MP: processing local module localejbs/CallSapAdapter
2009-12-16 15:52:25 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:52:25 Information Trying to put the message into the call queue.
2009-12-16 15:52:25 Information Message successfully put into the queue.
2009-12-16 15:52:25 Information The message was successfully retrieved from the call queue.
2009-12-16 15:52:25 Information The message status was set to DLNG.
2009-12-16 15:52:27 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:52:27 Error The message status was set to FAIL.
what can I do about this?
thanks,
Ramya -
Received HTTP response code 404 : Not Found
I am attempting to pass a file through XI into an IDoc to ECC. I have tested the mapping, and that works fine. I have also tested the configuration in the integration builder and it seems to be fine. However, when the file is picked up by XI from the directory, processed by XI, and then sent to ECC, an error occurs in the runtime workbench:
Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.
The error leads me to believe that the system cannot be found, or there is a privelage issue with the service user attempting to log onto ECC. However I believe I have set up the RFC connection correctly, and the service user should be fine.
Does anyone know what may be causing this? I am using the IDoc adapter for the reciever communication channel. I have set the RFC destination (and tested it in SM59, works fine) and the port (I assume this is the port in WE21?). Not sure where to look...Being that the error says:
Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.
I am trying to understand what this means. Can anyone explain to me why the message is getting sent to this address? I assume that the AFW is coming into play because I am using the IDoc adapter, hence the adapter framework. Is this true? Should the AFW be showing up, or do you think there is another issue?
Mainly I want to know if this is more of a basis issue, or a configuration problem with the interface in XI? -
Received HTTP response code 500 : Internal Server Error in XI
Hi,
I have configured a scenario SOAP to RFC in XI. when I am sending a message from web service, I got following error
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>DeliveryException</code>
<text><![CDATA[
com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error
at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
Please suggest.
Thanks,
AshishRead blog for all HTTP response code:Http* Errors in XI
and read sap note 804124, 807000 -
RNIF Error - BAD HTTP RESPONSE CODE RECEIVED: HTTP/1.1 500 Internal Server
Hi,
I am trying to do a scenario on RNIF. While testing, we trigger the PIP from STK, But we are getting the error as BAD HTTP RESPONSE CODE RECEIVED.
Java Exception com.rosettanet.rnstt.outbound.RosettanetException: BAD HTTP RESPONSE CODE RECEIVED: HTTP/1.1 500 Internal Server Error
Trace com.rosettanet.rnstt.outbound.RosettanetException: BAD HTTP RESPONSE CODE RECEIVED: HTTP/1.1 500 Internal Server Error at com.rosettanet.rnstt.outbound.Outbound.checkResponseCode(Outbound.java:342) at com.rosettanet.rnstt.outbound.Outbound.checkResponse(Outbound.java:306) at com.rosettanet.rnstt.outbound.Outbound.sendMessage(Outbound.java:284) at com.rosettanet.rnstt.controller.TestController.handleSocketOutbound(Unknown Source) at com.rosettanet.rnstt.controller.TestController.handleOutbound(Unknown Source) at com.rosettanet.rnstt.controller.TestController.runTestCases(Unknown Source) at com.rosettanet.rnstt.controller.TestController.run(Unknown Source) at com.rosettanet.rnstt.controller.TestController.main(Unknown Source)
Any help on this? What could be the reason for this error?
Thanks in advance...
VasuHi All,
I too getting the same problem. Any inputs from anybody?
Thanks & Regards,
Purshothamm -
Connection AFW failed, due to: Received HTTP response code 500
Hi,
I have tried to develop a file to file scenario in XI 3.0. The Sendor File adapter is reading the file but the message is not getting transfered to Integration engine.
The audit log for the message is as follows:
2005-05-07 04:10:24 Success Channel FileSendor: Send binary file "/tmp/xi_input.dat". Size 324 with QoS EO
2005-05-07 04:10:24 Success Application attempting to send an XI message asynchronously using connection AFW.
2005-05-07 04:10:24 Success Trying to put the message into the send queue.
2005-05-07 04:10:24 Success Message successfully put into the queue.
2005-05-07 04:10:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
2005-05-07 04:10:24 Success Confirmation mode test found. File will be resent next time
2005-05-07 04:10:24 Success The message was successfully retrieved from the send queue.
2005-05-07 04:10:24 Success The message status set to DLNG.
2005-05-07 04:10:24 Error Transmitting the message to endpoint http://nadcp517:8020/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..
Any suggestion...hi
This problem comes due to the post installation steps might be at the time of post installation some wrong might be done.
step1 : In sxmb_adm configure the integration server by giving the path as http://<host>:<abapport>/sap/xi/engine?type=entry
step 2 : Check ur business system created at the time of post installation there u need to main the path as it as above.
Reward points if useful,
Regards,
Srinivas.D -
Outbound RFC to file: Received HTTP response code 500
hello:
i am doing outbound rfc from ecc to other system using PI and I get the below error in the PI.
I am on PI 7.0 and looked at the RFC destiantions in ECC and all look good.
The registered program in TCP/IP RFC destination was tested and looks fine .
I checked the SMICM in PI running at port 8000 and it looks file and also i checked the SXMB_ADM Interation configuration in PI which looks good too .
Even the PI integration engine is restarted . i am sure its in PI and I am hoping its related to user in PI -adapter frame work user XIAFUSER?
can you please let me know how to fix the below issue ..
"Transmitting the message to endpoint http://HGSGXI50:8000/sap/xi/engine?type=entry using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error"
thanks,HI
for the error com.sap.aii.af.ra.ms.api.RecoverableException Received HTTP response code 500 Internal Server Error"
HTTP 500 can be any problem at receiver side. Are you sure, that the payload fits to the receiver requirements
Please refer this thread answered by Stefan Grube
Plain HTTP adapter error
check the similar thread HTTP server code 500 reason Internal Server Error -
File- XI- RFC (Error: Received HTTP response code 500..)
Hi,
I am working on File->XI->RFC scenario, getting Processed Successfully status in "SXI_MONITOR".
But Data is not posted in SAP R/3. I check <b>Runtime Workbench </b> Getting following Error in one step.
Can any one help me in analyzing the error.....??????
2006-06-09 14:36:32 Success output 1149888992513 Channel WEBMETHOD_SENDER_SOAPFMTEST: Send binary file "/usr/sap/transx42/data/xi_input.xml". Size 175 with QoS EO
2006-06-09 14:36:38 Success output 1149888998592 Application attempting to send an XI message asynchronously using connection AFW.
2006-06-09 14:36:39 Success output 1149888999757 Trying to put the message into the send queue.
2006-06-09 14:36:40 Success output 1149889000823 Message successfully put into the queue.
2006-06-09 14:36:40 Success output 1149889000824 The application sent the message asynchronously using connection AFW. Returning to application.
2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001577 The message was successfully retrieved from the send queue.
2006-06-09 14:36:41 Success output 1149889001591 File "/usr/sap/transx42/data/xi_input.xml" deleted after processing
2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001745 The message status set to DLNG.
<b>2006-06-09 14:37:47 Error SAPEngine_System_Thread[impl:5]_12 1149889067522 Transmitting the message to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..</b>
2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067585 The asynchronous message was successfully scheduled to be delivered at Fri Jun 09 14:42:47 PDT 2006.
2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067695 The message status set to WAIT.
2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 Retrying to send message. Retry: 1
2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 The message was successfully retrieved from the send queue.
2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367643 The message status set to DLNG.
2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368435 The message was successfully transmitted to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW.
2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368471 The message status set to DLVD.
2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368472 The message was successfully delivered.
Thanks & RegardsHi Umesh,
I think, the reason is because of huge number messages ..
Also just go to RFC adapter, activate the adapter,refresh the cache and try it..
following guide will help you to solve problem~
https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
Just refresh the cache-The following guide will help you on that~
https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
Refer these SAP notes- 807000,803145
(some hints)
Regards,
Moorthy -
RFC Received HTTP response code 500 : Timeout error
Hi All.
I am getting the following error for the RFC sender:
Transmitting the message to endpoint http://pocitmsprdxi.crisp.com:8000/sap/xi/engine?type=entry using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Timeout.
The RFC sends the data to XI through RFC and at times the data is not entering XI and the error shown above occurs.
How do i solve this?Hi Lavanya,
For these kind of problem, you need to set proctimeout smicm as per SAP note - 824554 .
Application threads in the J2EE engine might have got consumed in high load situations. Increase the count of application threads in config tool at location Config Tool -> cluster-data -> <configuration template> -> <instance-ID> -> managers -> ApplicationThreadManager -> MaxThreadCount.
And also Increase the parameter ServletInputStreamTimeout.
Hope this helps to you.
Regards,
P.Rajesh -
Received HTTP response code 500 : Error during conversion of XI message
hi
Facing the error , "Received HTTP response code 500 : Error during conversion of XI message"
This is the fist time i am configuring the sender soap ( Axis Framework in the SOAP Adapter) (Quality of service Best effort) communication channel and i am getting the above error did any body face this error.
01.09.2011 12:02:32 Information The message status was set to DLNG.
01.09.2011 12:02:32 Error SOAPFault received from Integration Server. ErrorCode/Category: XIServer/ATTRIBUTE_INITIAL; Params: Manifest cid:6D90482BF678436D75928FC8B9930519; AdditionalText: null; ApplicationFaultMessage: null; ErrorStack: Attribute Manifest cid:6D90482BF678436D75928FC8B9930519 is initial
01.09.2011 12:02:32 Error Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Error during conversion of XI message.
regards
sandeep
Edited by: pendyalas on Sep 1, 2011 12:20 PMI found a link with respect to similar error , sap note 1522630 has been used to resolve this error.
i will try and see if it works.
AXIS Sender Adapter Failure after upgrade to PI 7.11 SP06
regards
sandeep
Maybe you are looking for
-
Airport Extreme Airdisk's REALLY SLOW all of a sudden
I have my media hard drive connected via USB to my Airport Extreme. It serves all the media for my iTunes libraries etc. It's been working flawlessly for months, but now all of a sudden, it's cripplingly slow. I've been trying to transfer one 800mb v
-
Making a track in Logic, and i realise that the velocity for all midi i've recorded is way down at 3.. I dont why its set so low is this just Logic doing this as default? Anyway i've gone and manually changed the all the notes velocity to match at 10
-
What is a memory alert and how do I shut down background apps?
What is a memory alert and how do I shut down background apps?
-
Oracle Application Server Administration Related
Hi Experts, I would like to learn Oracle Application Server Administration, since new to application can anyone please advice me which software to download from download section of oracle for practise purpose. Thanks Shaan
-
SSRS Not Repeating the Group Header
Hi folks, I have one situation, that need to repeat the group header on new page. I have the table that has grouping, and I have group header and details, each group will have one detail row only but the detail row will grows multiple