HTTP_RESP.STATUS_CODE 400 (Bad Request) When Soap Request Contains an Ampersand ( "&") (Doc ID 1585882.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Using UTL_HTTP to call a web service and passing ampersand ('&') in the soap envelope as a value results in the following response:

HTTP_RESP.STATUS_CODE:  400
HTTP_RESP/REASON_PHRASE:  Bad Request

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms