Bad message response

If the request is so badly constructed that the PPG cannot identify the kind of request it represents, or if the version of the protocol is not supported, the PPG sends back to the push initiator a bad message response.

The status code is either 2000, meaning a bad request, or 3002, meaning that the version is not supported.

The bad message response might contain a fragment of the unrecognizable message in the bad-message-fragment attribute.

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 2.1//EN" "http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd">
<pap><badmessage-response code="2000" desc="Not understood due to malformed syntax." bad-message-fragment=""/>
</pap>


Was this information helpful? Send us your comments.