cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method onMessage

Former Member
0 Kudos

Hello XI - Proxy - Specialists

We try to realize the following scenario:

http-Sender => XI => XI-Proxy Receiver(Server) on a decentralized Adapter-Engine

We followed the instructions described in „How To…Work with JavaProxiesVersion 1.00 – August 2006“

We registered the interface in the JPR as follows:

http://odtm-291-l:50300/ProxyServer/register?ns=urn:cdiag-com:xi:FlugSzenario:global&interface=MI_in... localejbs/mr_bean&method=mIInSyncKundenfile

The proxyserver/listAll returns:

urn:cdiag-com:xi:FlugSzenario:global#MI_in_sync_Kundenfile = localejbs/mr_bean:mIInSyncKundenfile

1 interfaces found

When running the szenario XI routes the message to the decentral Adapter-Engine but ends with the following message

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method onMessage.</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

Does anybody have an idea what´s the problem here? Is this a problem within the configuration / installation of the proxy-runtime, or is there a problem with the port-type implementation class? Thanks in advance for a soon answer.

regards Marlies

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>> com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method onMessage.

ideally an error should be reported with the method name = your inbound msg interface...

onMessage is a method in Message driven beans...are MDBs by chance involved in your scenario anywhere?

Former Member
0 Kudos

We don´t think so. Because we just deployed the proxy-beans/classes generated from xi together with the application classes as descibed in the how to guide and in the following sap-help docu

http://help.sap.com/saphelp_nw04s/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

This are simply session beans.

Is it possible that there is something wrong with the installation of the proxy runtime?

Former Member
0 Kudos

analzing the default.trc with the standalone logviewer gives hints that the file aii.properties is missing.

06/06/2007 , 10:51:08:750 , Could not read default XI properties file "C:\usr\sap\VRO\JC03\j2ee\cluster\server0\aii.properties"

Thrown:java.io.FileNotFoundException: C:\usr\sap\VRO\JC03\j2ee\cluster\server0\aii.properties (Das System kann die angegebene Datei nicht finden)at java.io.FileInputStream.open(Native Method)

This file should have been generated during installation.

We have a documentation in sap note 719655 and in the xi-konfig-guide.

But we donu00B4t know which parameters are essential for our problem.

Can anybody help us or send us a sample aii.properties?

Former Member
0 Kudos

Hi all,

The problem has been solved, it's due to the reasons below:

1. Some connection parameter values are wrong.

2. The XMLSPY is not suitable for all of the scenarios, after fixing all of the configuration mistake, the XMLSPY still can't call the WS, but it's OK when we call from ABAP client proxies.

Thanks to all of you.

Bean

Answers (0)