cancel
Showing results for 
Search instead for 
Did you mean: 

No Response in synchronous SOAP adapter

Former Member
0 Kudos

Hi Experts,

I configured a soap-xi-soap scenario on XI 7.0, and i can run the whole scenario successfully. But i can not get the response from the outbound.

I tested my scenario via XML spy, when i sent the request, i always got the following content in XML Spy:

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

<SOAP:Header/>

<SOAP:Body/>

</SOAP:Envelope>

But if i sent a request to my target web service directly, i can get the correctly ressult. like this:

<?xml version="1.0" encoding="utf-8"?>

<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body xmlns:rpl="urn:WS_Hello_NameSi">

<rpl:sayHiResponse xmlns:rn0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rn1="java:sap/standard">

<rpl:Response>This is Hello World test.</rpl:Response>

</rpl:sayHiResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I used message monitor and channel monitor, all the information display successful.

when i use "SXMB_MONI" monitor, the technical routing is correct, but the content in response is wrong?

So what is the problem? Can somebody help me?

BTW, i want to use TCP Gate to monitor the request, unfortunately i can not capture anything in my scenario. but i can capture the request if i sent a request to web servies.

Thanks & regards

Rocky

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Mike,

You can change your reciever interface like this:

<...>

<request>

<tag1> </tag1>

<tag2> </tag2>

</request>

<response>

<result> </result>

</response>

<...>

So after you sent your request to target URL, the interface will include the response if it works fine.

Rergards

Rocky

Former Member
0 Kudos

Hi Mike,

Actually, i just configurated one sender to one reciever, and if you configurated two sender to one reciever, you should configurated these two scenario using interface determination;

The URL must be valid and you can test this kind of URL in IE brower manually, olso you can test via soapUI-1.7.6.

Regards

Rocky

Former Member
0 Kudos

Hello Rocky.

Thx for answer!

No u didn't get me right, i want to configure one sender to one reciever too, but it important for me that SOAP response will be sended to URL from what XI get SOAP request and not to Target URL which is in options of SOAP adapter reciever.

Former Member
0 Kudos

Hi Matias,

Thanks your reply!

My question has been solved. Because i use the wrong Quality of service;

· BE (Best Effort):

The message is sent synchronously. The sender waits for a response before it continues processing.

· EO (Exactly Once):

The message is sent asynchronously. The sender does not wait for a response. The Integration Engine and the Adapter Engine guarantee that the message is sent and processed exactly once.

· EOIO (Exactly Once In Order):

Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system. Message processing is asynchronous in this case.

Use the Best effort for synchronous scenario.

Thanks&Regards

Rocky

Former Member
0 Kudos

Hello Rocky!

Could u please explain how u configure your Communication Channels (CC)?

as i undestood there is 2 CC soap sender and soap reciever, but what Target URL i must input in CC soap reciever when i use Sync SOAP request??

Former Member
0 Kudos

Hi Rocky !

Do you have any way to capture what your target web service is receiving from XI? just to see that the request remains unmodified while targeting your web service.

Regards,

Matias.