In CXML if the Sender credentials was not correct then in my cxml I send this as a response back to the sender of the cXML post:
<Status code="401" text="Unauthorized ">Credentials provided in the Request (the Sender element) were not recognized by the server.</Status>
According to cXML this is correct. But do I also need to change my HTTP statuscode to 401 or will 200 OK suffice?
As It is mentioned in the cxml User Guide cxml error handling is on top of http (transport layer) error message, you can see them as functional errors so you still reply with an HTTP 200
In your case, you want to reply with