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 AUGUST 18, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 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

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