on 06-25-2014 9:05 AM
Dear,
I've a XI to SOAP sync scenario. My problem ocurred when i send xml to web service.
In SXI_MONITOR I can see that message arrives to the web service but in the response returns a error (without payload).
The mapping logic is very simple. In outbound process only assign a constant to consume the web service and in the response I using XSL mapping:
This is de web service request:
And this the response:
And ack:
I have checked the web service with SOAPUI and it returns response correctly.
I have seen similar discussions but i don't see nothing clear:
Any idea?
Many thanks,
Regards.
Hi all,
I have managed to find the problem.
We have checked content of response with the target system's team and we have found the problem.
The problem was that the target system returned a wrong content (With wrong encoding).
The request was successful (HTTP 200 OK) but the ack response no (ACK NOK).
Thank you very much.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro
There are few differences in the payload for the request message between the SOAPUI call and the call from PI.
PI request
SOAPUI request
i) InformeVUGlobal - PI request has a value "Constant" while the SOAPUI request is blank. Please change the mapping in PI to a blank constant
ii) Namespace - I cannot see your full request screenshot, so can't verify if the namespace for prefix "com" is the same as "http://com.endesa.Micro/"
Please update your development to remove these differences and test again. Your PI request message should match the SOAPUI request (without the SOAP part) for you to have an "apple-to-apple" comparison.
Rgds
Eng Swee
Hi Alvaro,
the error msg is coming from SAP parser who cannot understand the response. It is obviously a http standard error side (HTML instead of XML) which cannot be parsed. Therefore, you need to test the service with a test tool like Soap Ui (freeware) to watch the raw response and find out the error reason. On PI you will not get that.
/Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to all,
My communication channel have a simple configuration:
The Operation Mapping that I configured:
Request:
Response:
On the other hand, the External deffiniton that I have in PI is:
Request:
Response:
Finally, this is de logic of request mapping (Trivial, only assign a constant to execute):
I haven't made any change and scenario was ok since 2012
Attacth an example response:
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Table>
<Id_Activo> 000000</Id_Activo>
<HostName>XX</HostName>
<Id_Responsable>XX</Id_Responsable>
<Id_Usuario>XX</Id_Usuario>
<tipo>00</tipo>
<Sla>0</Sla>
<direccion>C/ XX 00 - Oficina</direccion>
<Localidad>XXXXXXX</Localidad>
<Provincia>00</Provincia>
<Zona>00</Zona>
<pais>ES</pais>
<SO>Microsoft Windows Server 2008 R2 Enterprise </SO>
<SO_Version>6.1.7601</SO_Version>
<Procesador>Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz</Procesador>
<Memoria>16349 Mb</Memoria>
<Marca_Modelo>HP ProLiant ML350p Gen8</Marca_Modelo>
<VelProcesador>2300</VelProcesador>
<FILL1>01</FILL1>
<FILL2 />
<FILL3 />
</Table>
</NewDataSet>
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro
Can you provide the screenshot of how the request looks like when you execute in SOAPUI for a successful attempt?
Also, in the the response you provided, there are "XX" values, are these actual values or edited by you? You need to check if there are any junk characters not recognized by XML as mentioned by Inaki.
Rgds
Eng Swee
Hi Alvaro,
It could be a junk character received. When i face up to a similar SOAP receiver errors, i'd rather to set the SOAP receiver channel with Do Not use SOAP envelope mark, then the adapter doesn't try to interpret it and i can see the real response. Obviously, you need to wrap the SOAP request before.
Another way, it's mentioned above with the other SCN memebers. try the same request with SOAPui, check XML-rightness of the response and finally compare PI call with SOAPui request as well.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro,
From what I can see is that your connection seems to be working, because in the error message it gives you a HTTP 200 code which says that it is happy with the connection and auth.
But now it does not like the structure of your return message.
Can you please double check the return message structure they are sending and the one you have in PI.
Like Eng Swee said, can you please provide us with the SOAPUI results.
Regards,
Jannus Botha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alvaro
Can you provide the following screenshots so that we can analyse further?
i) SOAP receiver channel config
ii) Request message and response message when it is successful from SOAPUI
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.