on 04-12-2016 8:39 PM
Hi everyone,
I am currently doing some tests on web services going through PI and I got stuck upon an error that I can't find the cause. I am sending a synchronous web service using SOAP UI that goes to SAP PI, which maps it to my SAP ECC web service and then comes back. I am using SOAP for both request and response.
When I look into SXMB_MONI, both the resquest and the response shows as red(error) with this error message: com.sap.engine.interfaces.messaging.api.exception.MessagingException: org.xml.sax.SAXException: Bad envelope tag: definitions
My quality of service is set to Best effort in both ways. When I tried the Only Once option, the call did not show any error but I never received any response either.
If anyone has an idea on what could actually cause this issue, i'd be glad to hear it.
Thanks!
Thanks guys for the reply.
Using the payload of the request call adapter, I am able to call the SAP ECC web service directly from soap ui, instead of going through PI.
Here's my payload:
If I take this, and put it in my soap request like this:
My SAP ECC web service respond perfectly:
When going through PI, the response doesn't even have a payload at all. The request has the error message but only in the response message:
I hope these additional information can help. Thanks for the support!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Maxime,
Can you check the Error Logs in ECC in transaction SRT_UTIL?
What I think is happening is : That the request that goes out from PI is not what your webservice accepts and hence the same fails and returns the error back to PI.
The Error Log Button in SRT_UTIL will contain the Errors and hopefully we find some logs here that begin to make sense.
Regards,
Bhavesh
To me it looks to be the case with the response. While both the request and response messages show error it is to show that the entire message is in error. In reality as the asynch went through to PI, it seems to be the case where when the response comes over from ECC something goes wrong.
Can you check which step there error is in? Share more details on the error message from Trace?
In all likelihood it could be the response XML being invalid or mapping failing but would need more info to look further.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Maxime,
Seems to be a data issue.
Check the payload if the tags are well formatted.
Get the payload from monitoring and test it in mapping, wrong tags can be identified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it looks the test message you are using is not in correct format/invalid. Try test with valid xml message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.