cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Response code 500 : Delivery Exception

Former Member
0 Kudos

Hello ,

i have following scenario WS(Client) <--> RFC. I am getting the following error :

Response code 500: File couldnot be posted.

Here are RWB data entries :

2006-03-13 09:45:52 Success SOAP: request message leaving the adapter (call)

2006-03-13 09:45:52 Success Application attempting to send an XI message synchronously using connection AFW.

2006-03-13 09:45:52 Success Trying to put the message into the call queue.

2006-03-13 09:45:52 Success Message successfully put into the queue.

2006-03-13 09:45:52 Success The message was successfully retrieved from the call queue.

2006-03-13 09:45:52 Success The message status set to DLNG.

2006-03-13 09:46:11 Error Returning synchronous error notification to calling application: Received HTTP response code 500..

2006-03-13 09:46:11 Error Transmitting the message using connection http://<XiServer>:8000/sap/xi/engine?type=entry failed, due to: Received HTTP response code 500..

//i changed here server name for internal reasons//

2006-03-13 09:46:11 Error The message status set to FAIL.

2006-03-13 09:46:11 Error Returning to application. Exception: Received HTTP response code 500.

2006-03-13 09:46:11 Error SOAP: call failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500.

***********

I did all the things i could do , tested soap service working fine, changed settings in sxmb_adm as well

Please suggest,

Vara

Accepted Solutions (1)

Accepted Solutions (1)

sam_raju
Contributor
0 Kudos

Hi Vara,

Refer to SAP Note #856597 and refer to the following section.

<i>Q: I get a server error "500 Internal Servler Error" from the adapter's servlet. What went wrong?

A: There are several possibilities. It is likely that the request message arrived at the SOAP adapter but there was some error in the request message or in the channel configuration. In this case, the error message returned should be a SOAP fault message containing the detailed error information. The possible causes can be "No SOAP envelope", "invalid channel", "no receiver agreement", etc. If your SOAP client cannot display this detailed error information, please capture the message using some tool (See question "How can I trace the whole message?").</i>

Regards,

Sam Raju

Former Member
0 Kudos

thanks sam,

Well i have the following error message in soap envelope:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>failed to call the adapter engine</faultstring>

<detail>

<s:SystemError

xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>DeliveryException</code>

<text><![CDATA[

Please suggest :

sam_raju
Contributor
0 Kudos

Hi Vara,

Try to see if you can acces the following URL with user XIAFUSER and see if it works

http://<XIServer>:<J2EE_port>/MessagingSystem/receive/AFW/XI

Also, Please try to refresh your cache via URL with user XIDIRUSER and see if it works.

http://<host>:<J2EEport>/CPACache/refresh?mode=full

Former Member
0 Kudos

Hi,

Try refreshing CPACache. The error you are getting could be because of stale communication channel definitions in CPACache.

http://server:port/CPACache/refresh?mode=full.

Also look into the default.trc file using Visual Adminstrator and see if you there is more error information.

Error 500 is a very misleading error. if ur scenario doesnt work even after refreshing the cpa cache, try bouncing WAS.

cheers,

naveen

Former Member
0 Kudos

i did make a CPA cache refresh but made no difference , i shall try visual admin but what does it mean by bouncing WAS ?

i also tried logging in to AF but said no authorization even when using XISUPER

Former Member
0 Kudos

Hi,

restart J2EE engine. (SMICM -> soft shutdown).

cheers,

Naveen

Message was edited by: Naveen Pandrangi

Former Member
0 Kudos

Hi Vara -

Do you have sync logging turned on in SXMB_ADM? Is the message reaching the integration server (i.e. do you see a message in SXMB_MONI)?

Regards,

Jin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Usually default.trc log fle will have more information as to what events transpired before error 500 was raised.

is this error occuring every time you invoke this scenario or is it sporadic??

cheers,

naveen