Db2 11.1

SOAP errors

The software returns the SQL30081N message (-30081) when a SOAP-specific communications error is detected. The actual SOAP error that is encountered by the communication subsystem is returned in the list of error tokens for the SQL30081N message.

When the SOAP protocol is specified, the following errors can be returned with the SQL30081N message:
  • SOAP_UNEXPECTED_NULL (38301): One of the inputs (SOAP action, SOAP endpoint, or SOAP body) to the SOAP communication functions was NULL.
  • HTTP_INITSOCKET (38303): Error initializing socket.
  • HTTP_ERROR_UNKNOWN_PROTOCOL (38304): The protocol that is used in the URL is unknown.
  • HTTP_INVALID_URL (38305): The URL syntax is invalid.
  • HTTP_ERROR_CREATE_SOCKET (38306): Error creating socket.
  • HTTP_ERROR_BIND_SOCKET (38307): Error binding socket (bind function).
  • HTTP_ERROR_RESOLVE_HOSTNAME (38308): The specified host name cannot be resolved.
  • HTTP_ERROR_SOCKET_CONNECT (38309): Error connecting to socket.
  • HTTP_ERROR_GET_PROTO (38310): Error getting TCP protocol name (getprotobyname function).
  • HTTP_ERROR_SET_SOCKOPT (38311): Error setting socket options (setsockopt function).
  • HTTP_ERROR_UNEXPECTED_RETURN (38312): Unexpected HTTP return code.
  • HTTP_ERROR_RETURN CONTENTTYPE (38313): Unexpected HTTP Content-type header attribute value.
  • SOAP_SAX_INIT (38314): Error initializing SAX parser.
  • SOAP_SAX_CREATE_PARSER (38315): Error creating SAX parser.
  • SOAP_SAX_CREATE_HANDLER (38316): Error creating SAX parser handler.
  • SOAP_SAX_ERROR (38317): Exception during XML parsing of SOAP.
  • SOAP_SAX_OUTENCODING (38318): Error during code page translation of XML message.
  • HTTP_ERROR_WRITE_SOCKET (39820): Error writing to socket.
  • HTTP_ERROR_READ_SOCKET (38322): Error reading from socket.
  • HTTP_ERROR_SELECT_WAITREAD (38323): Socket error in select function.
  • SOAP_ERROR_XML_SERIALIZE (38324): Error writing XML SOAP message.
  • SOAP_ERROR_NO_NS_END (38325): Error in namespace processing.
  • SOAP_ERROR_FAULT (38326): SOAP fault was returned from web service.