rem: return SOAP_OK;
add: return soap->error;
context: soap_s2unsignedShort(struct soap *soap, const char *s, unsigned short *p){ if (s)  { unsigned long n;    char *r;    n = soap_strtoul(s, &r, 10);    if (*r || n > 65535)      return soap->error = SOAP_TYPE;    *p = (unsigned short)n;  }  return SOAP_OK;}