on 11-26-2007 2:52 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.