on 02-26-2008 1:33 PM
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mike,
As I said yesterday did u created one O/B Synchronous and I/B Synchronous?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
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.
Have a look at your message monitor at:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.