cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP is OK but SOAP shows error

Former Member
0 Kudos

Hi everybody,

we call R/3 RFC

a) via HTTP

b) via SOAP

a) is ok and runs perfect

b) gets a response! In SXMB_MONI the error-message:

<SAP:Code area="RFC_ADAPTER"><b>APPLICATION_ERROR</b></SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions"><b>Z_E_TK_INTERNET_IDENT01.Exception</b></SAP:ApplicationFaultMessage>

Any ideas?

Regards Mario

null

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

We got it!

If you use HTTP tp call a RFC you need no mapping

With SOAP you need mapping

Regards Mario

THANK YOU ALL!!!

STALANKI
Active Contributor
0 Kudos

Try this blog for catching SOAP errors meaningfully.

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

Try this for debugging RFC.

/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-

Also check in RWB what is the error that is shown ?Probably the request and response are mapped bwteen source and target.Does both use synchronous?

Former Member
0 Kudos

Hi Mario,

When I had a similar error earlier, I had an APPLICATION_ERROR thrown with the error being " An exception that could not be caught occured". We surmise that this could be due to either the RFC destination being down at the time of the call, or that their was a data type mismatch .

On reprocessing the message, it went through ok.

cheers,

Prashanth

Former Member
0 Kudos

Hi, Prashanth

sorry. Doesn't help.

Regards Mario

agasthuri_doss
Active Contributor
0 Kudos

Hi,

This error usually occurs when the RFC is not remote enabled

Go thru this

http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm

Regards

Agasthuri Doss

Former Member
0 Kudos

Some more information:

Although in SXMB_MONI there ist some data in the payload to call the RFC > There is no data really send to the rfc (we logged the call)

Any ideas

Regards Mario

MichalKrawczyk
Active Contributor
0 Kudos

hi,

as the structure is not correct?

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

MichalKrawczyk
Active Contributor
0 Kudos

hi,

if it's not you're not able to import it into IR

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

your suggestions could lead to the problem. BUT there should not be a problem if you consider the following:

a) I imported a RFC from R/3

b) designed a Message Interface from the imported RFC

c) conigured the ID objects

d) generated a WSDL

--> So when now sending a SOAP request it should fit to the message interface!

Otherwise I ask me, what sense it makes to generate a WSDL

OK. Back to your suggestion.

When I import the payload in IR there is no error.

Regards Mario

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

check if the RFC xml just before the RFC adapter is called

look exactly the same in both cases

maybe it does not ...

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi michal,

they look different:

<u><b>HTTP:</b></u>

<ns0:Z_E_TK_INTERNET_IDENT01 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">

<u><b>SOAP:</b></u>

<m:Z_E_TK_INTERNET_IDENT01 xmlns:m="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">

Regards Mario

MichalKrawczyk
Active Contributor
0 Kudos

hi,

so your mapping is not correct

as you see SOAP envelope in the SOAP scenario

do you remove the soap envelope in the SOAP adapter and

send a normal SOAP message? if so uncheck it

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi michal,

a) I do not use any (message-)mapping!

The WSDL for the SOAP clint was directly made from the RFC-import.

b) I do not remove the soap envelope

Regards Mario