SOAP 1.1 Client Connection to the Gateway Fails With "but got"

(Doc ID 1585618.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.


Oracle API Gateway is used to secure a SOAP based web service.

A SOAP 1.1 client gets the following error message:

Servlet failed with Exception Couldn't create SOAP message. Expecting Envelope in namespace, but got

In the Gateway's trace file, you can see the following:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="



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