cancel
Showing results for 
Search instead for 
Did you mean: 

webservice--> XI --> R/3

Former Member
0 Kudos

Hi!

I'm really new in XI and I need to make a scenario webservice --> XI --> R/3 (synchronous).

SOAP from webservice to XI and XI adapter from XI to R/3. I need help with configuring SOAP adapter communication channel. I've tryed to use this https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

but it did not help. I don't know do I need both sender and receive SOAP adapter or just sender because it is synchronous and what is target URL in receiver SOAP adapter and where do I find it if I need it.

Will appreciate any help.

Thanks in advance,

Snj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi again!

Now I get this error message:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>System Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context/>

<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>

<text>Message is incomplete. No Sender found</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Former Member
0 Kudos

Hi,

Here it is saying that u dont have

>>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>

>><text>Message is incomplete. No Sender found

First check your config with test

/people/paul.medaille/blog/2005/06/24/test-your-xi-configuration-with-the-new-test-tool

Regards

Seshagiri

Former Member
0 Kudos

I did receiver determination. I cannot find the error.

I get this on the test that you recommended:

Receiver Determination

<Not found>

Internal Error

HTTP connection to ABAP Runtime failed. Error: 403 Forbidden

Former Member
0 Kudos

Hi,

Try to test the Configuration by providing the Payload in the payload area in the test tool and check again.

Take the payload from the TEST tab of the message mapping by giving some sample values to the input fields

Regards

Seshagiri

prateek
Active Contributor
0 Kudos

Gotot transaction SICF -> SERVICES and then default host> sap> xi > simulation. Then right click and select Activate service.

Have a look at SAP Note 517484

Regards,

Prateek

Former Member
0 Kudos

I did that and got the same error message:

Receiver Determination

<Not found>

Internal Error

HTTP connection to ABAP Runtime failed. Error: 403 Forbidden

Former Member
0 Kudos

Thanks, I'll try that.

Former Member
0 Kudos

SICF -> SERVICES worked.

Thank you.

Former Member
0 Kudos

Now I get this error in the runtime workbench:

Received XI System Error. ErrorCode: SYNCHONOUS_MESSAGE ErrorText: ErrorStack: The process does not support the given synchronous interface or does not support synchronous messages Exception CX_WAPI_DEF_PROPERTY_NOT_FOUND occurred (program: SAPMHTTP, include: , line: 0).

and this in xmlspy

<?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: XIAdapter:SYNCHONOUS_MESSAGE:

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:134)

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:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Edited by: Snjezana Popovic on Mar 18, 2008 3:56 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

I have some more errors.

Former Member
0 Kudos

<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:ZTCM_CREATE_CHANGE_ECN/CONF_LOG/CL_TIME. The message is: Unparseable date: "14:20:00" at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:406)

What du I have to change here?

Thanks,

Snj

Edited by: Snjezana Popovic on Mar 20, 2008 12:38 PM

Former Member
0 Kudos

Hi,

Check with the Time field in the Inbound payload

Time format is Wrong

Regards

Seshagiri

Former Member
0 Kudos

Thanks, I'll try to find it.

Regards,

Snj

Former Member
0 Kudos

I found the error and now it's working.

Thank you very much for your help.

Regards,

Snj

Former Member
0 Kudos

Hi,

Please describe the solution for your issues.

So that it can be helpfull to others at the time of refference

Regards

Seshagiri

Former Member
0 Kudos

The error was in my mapping. The format of the time was wrong. In constant properties I gave value 8 in stead of 6 for time and that's why I got error: Unparseable date: "09:13:00"

Edited by: Snjezana Popovic on Mar 25, 2008 10:45 AM

Former Member
0 Kudos

Hi,

It's cool.

Regards

Seshagiri

Former Member
0 Kudos

Hi,

This got it all..

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78d...

If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.

Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).

Mapping like:

Wsdl(Request)XI>RFC (Input parametrs)

RFC (out parameters)XI-->wsdl(Response)

Create message interface with Synchronous for outbound

No need of DT,MT if at all if you import the wsdl file.

If incase the wsdl is not provided then you need to create DT, MT and have to Define Webservice as below

/people/sap.user72/blog/2005/11/17/xi-how-to-publish-wsdl-generated-from-xi-to-uddi

Hope i am clear.

Please let me know if you have any queries..!

Please refer for SOAP >XI->R/3

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

soap to soap scenario

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

sap to webservice

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies

Thanks

swarup

Edited by: Swarup Sawant on Mar 18, 2008 12:05 PM

Former Member
0 Kudos

Hi,

Iam sending the RFC-XIWebservice scenario.

Take this in mind and implement ur Reverse scenario

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Regards

Seshagiri