rem: return SOAP_OK;
add: return soap->error;
context: soap_s2short(struct soap *soap, const char *s, short *p){ if (s)  { long n;    char *r;    n = soap_strtol(s, &r, 10);    if (*r || n < -32768 || n > 32767)      return soap->error = SOAP_TYPE;    *p = (char)n;  }  return SOAP_OK;}