cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Sync error: EXCEPTION_DURING_EXECUTE

Former Member
0 Kudos

Hi to all.

I want to configure simple scenario in which my .NET Application send SOAP synchronous request with XML structure mt_Person and wait response (XML structure mt_Employee )

i tried to test with XMLSpy.

There is my objects:

2 simple Data Types (DT):

dt_Person & dt_Employee;

2 Message Types (MT) which are based on DT:

mt_Person & mt_Employee;

2 Message Interface (MI):

[mi_so_Person|http://www.imgstore.ru/files/Byl4aieGk9BEJkKi2cxKNtsxBUuaIY1iRx7LNLK4.png] & [mi_si_Employee|http://www.imgstore.ru/files/lS3dy7f1L8Uz8Djwq9P8BzyrVrbYHNSdrFUKqX5s.png]

1 Message Mapping (MM):

[mm_Person_to_Employee|http://www.imgstore.ru/files/Wwm4vVKiyOfaLAzSTm8wRX6CA3mVNRC5JsAmCb8u.png]

And 1 Message Interface (IM) which is based on MM:

mi_Person_to_Employee

And in IntegrationDirectory i have:

1 CC soap Sender [cc_out_soap_test_sync|http://www.imgstore.ru/files/e1u3oGdaLFTOxJtLhRu0ie4zA0LyWZz1buW4qhJI.png] which is for receiving SOAP request

also there is 1 CC file reciever which just put response to FTP.

When i send SOAP request via XMLSpy it got following response:


<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP:Body>
		<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>ADAPTER.JAVA_EXCEPTION</code>
					<text><![CDATA[
com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
	at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
	at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)
	at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:855)
	at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
          
				
			
		
	

]]>

and in the SXMB_MONI there is following [messages|http://www.imgstore.ru/files/A1jmGu4km7hslJ42NuO9F7s0rbnDlFKwmjsB7yYu.png] (for one SOAP request)

Could anyone help me, please?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

The problem is solved.

Sorry me that i'm not right describe the problem at first.

U can see solution on that thread:

Former Member
0 Kudos

Hi

as per your requirement you have to craete the two interfaces and both will be synchronous as yopu are getting the response back from tnhe RFC that u are calling.

so the interfaces will be

Outbound interface

use both the source mesage type and the target message type in the output mesage and the input message respectively.

Inbound Interface:

use the request message and the respose message in the input and outoput message respectively.

Message Mappings

one message mapping b/w the source data type and the ur request message of RFC

other message mapping b/w the response message of rfc and the ur target message type

one interface mapping

and you have to configure the scenario accordingly.

when you test the scenario using the XML spy tool you also have to create the wsdl file that u can create in th Integration directoey

got to Tools--->Defing webservices

a wizred will be open provide the information and craete the wsdl file,

now use this wsdl file to send the request to the server.

if you still face the problem please reply me back

Thanks

Rinku

justin_santhanam
Active Contributor
0 Kudos

Mike,

As I said yesterday did u created one O/B Synchronous and I/B Synchronous?

raj.

Former Member
0 Kudos

Yes i did

justin_santhanam
Active Contributor
0 Kudos

Mike,

Could you tell us what objects did u used in O/B Synch and I/B Synch Interace?

For I/B Synch Interface did u used External Definition(WSDL Imported)

raj.

Former Member
0 Kudos

i didn't use external definition - i just want to do simple scenario at first

There is in Massage Mapping u can see my simple [objects|http://www.imgstore.ru/files/Wwm4vVKiyOfaLAzSTm8wRX6CA3mVNRC5JsAmCb8u.png]

and there is my Iterface mapping - [req|http://www.imgstore.ru/files/HTrTr6VjL2Jp6t0jIiyGPjIilDZ2TVGoJWv2IYIK.png] [resp|http://www.imgstore.ru/files/92tgPI96Ytj0a29wsHVFIEniqmCdz7DsqXSVlJzf.png]

justin_santhanam
Active Contributor
0 Kudos

Mike,

No. This is the reason I asked you did u created two Mapping programs. See if you are trying to call receiver webservice then u need WSDL of the receiver webservice.

You said simple scenario, did u changed the scenario or it's still SOAP to SOAP?

raj.

Former Member
0 Kudos

There is my Message Interfaces:

[mi_so_Person|http://www.imgstore.ru/files/Byl4aieGk9BEJkKi2cxKNtsxBUuaIY1iRx7LNLK4.png] & [mi_si_Employee|http://www.imgstore.ru/files/lS3dy7f1L8Uz8Djwq9P8BzyrVrbYHNSdrFUKqX5s.png]

justin_santhanam
Active Contributor
0 Kudos

Mike,

Your O/B Structure is Ok. But your I/B structure is not correct. Ok, we will start you tell me what is your scenario, is it SOAP to File or SOAP to SOAP?

raj.

Former Member
0 Kudos

Hi Mike,

Check that SOAP body that you are sending in SOAP request to XI server is as per the structure defined in message interface. Generally namespace is different in SOAP request and we get application execute as during runtime mapping failed due to data structure mismatch.

Ranjeet Singh.

Former Member
0 Kudos

thx to all for reply and sorry for delay.

it's seems to me that u didn't get me right, may be i didn't right explain my scenario.

Let's start from begining:

There is only .NET Application (or for example XMLSpy) and XI.

At first .NET Application send SOAP request to XI ( mt_Person ),

then XI just have to map mt_Person to mt_Employee and return it to .NET Application

That's all.

Former Member
0 Kudos

Have a look at your message monitor at:

http://<xiserver>:<port>/mdt

and see if you can find the message.

This should give you more information on the error.

Also look in SXMB_MONI for the corresponding message if it reaches the integration server