UTL_HTTP Web Service Request Returning Fault When the Envelope Contains Multi-Bye Characters

(Doc ID 1066851.1)

Last updated on MARCH 20, 2017

Applies to:

Web Services - Version: 9.2.0 to 9.2.0
Information in this document applies to any platform.


When sending a request using UTL_HTTP to a web service, all is fine for an envelope containing all single byte characters, but when using multi-byte characters, an exception is thrown:

<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
       <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
          <faultstring>org.xml.sax.SAXParseException: The element type "soapenv:Envelope" must be terminated by the matching end-tag </soapenv:Envelope>";.


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