cancel
Showing results for 
Search instead for 
Did you mean: 

[Java-Mapping] Error with wrong input

Former Member
0 Kudos

Hey,

I created my first Java mapping and included it in a working SOAP->XI->RFC

scenario. Now I have an strange behaviour, because if I fill the web service

with correct information everything works fine. Did I insert wrong information

he returns following error:

<i>

com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGRAM_FOUND: caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGRAM_FOUND:

</i>

What happend here? Is it because he couldn't handle a rfc error? The response of

the rfc is still handled with a standard message mapping.

thanks

chris

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

did you put your mapping in the interface mapping

(for both directions - tabs - request and response)?

if you did refresh CPA cache and start your flow once more

Regards,

michal

Former Member
0 Kudos

First my interface mapping was filled with normal message mappings for request and response. Now I created a java mapping for the request and change this in the interface mapping. I also did a complete cache refresh in sxi_cache. If I use correct data everything works like it should, but with wrong data I receive this strange error...

MichalKrawczyk
Active Contributor
0 Kudos

hi,

maybe you RFC uses exceptions if you use with incorrect data ?

if it does then another message will come from R3

(which your mapping may not understand)

Regards,

michal

Former Member
0 Kudos

Hi,

I changed the request back to message mapping and same error appears.

Can I look anywhere which mapping he took (java or message mapping)?

Where can I look if the RFC uses exceptions?

thanks

greetz

chris

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>>Can I look anywhere which mapping he took (java or message mapping)?

in's visible in Trace in SXMB_MONI - how to turn on trace level 3 -

/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni

>>>Where can I look if the RFC uses exceptions?

open this RFC in Se37 and check exceptions

you can also test via SE37 with your error values and you will see it there

Regards,

michal

Former Member
0 Kudos

Hi,

now I checked in TCODE se37 the RFC and he throws a

FLIGHT_NOT_FOUND exception (using RFC SXIDEMO_AIRL_FLIGHT_CHECKAVAIL)

I tried to catch the exception by multi-mapping of response and exception to

my web service response message, but somehow it doesn' work. I added the

exception message to my message mapping, but what have I to do in interface mapping?

I reselect the new response mapping, but he still dispalys only one source message.

If I try to test it, the exception message is not shown.

How to handle this exceptions?

Former Member
0 Kudos

Found the solution in this thread :

Of course I have to define a FaultMessage in my outbound interface

and with this a new fault-tab appear in my interface mapping. Here

I can map the exception.

Thanks

greetz

chris

Answers (0)