SOAP 1.1 Client Connection to the Gateway Fails With "but got http://schemas.xmlsoap.org/soap/envelope/"
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:
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:
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