My Oracle Support Banner

SOAP 1.1 Client Connection to the Gateway Fails With "but got http://schemas.xmlsoap.org/soap/envelope/" (Doc ID 1585618.1)

Last updated on JANUARY 28, 2024

Applies to:

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

Symptoms

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
com.sun.xml.ws.protocol.soap.VersionMismatchException: Couldn't create SOAP message. Expecting Envelope in namespace http://schemas.xmlsoap.org/soap/envelope/, but got http://schemas.xmlsoap.org/soap/envelope/


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

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/
">
<env:Header></env:Header>
<env:Body>
[...]

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.