My Oracle Support Banner

ContentTypeException When Running a Proxy Generated From a WSDL (Doc ID 549444.1)

Last updated on SEPTEMBER 04, 2018

Applies to:

Web Services - Version 10.1.3.3.0 and later
Information in this document applies to any platform.

Symptoms

In executing a web service client proxy that is generated from a WSDL, a SOAP Content Exception is returned, such as:

WARNING: Unable to connect to URL: http://myserver:port/webservice/webservice.asmx/funProcess due to java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/octet-stream
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/octet-stream

or possibly:

WARNING: Unable to connect to URL: http://myserver:port/webservice/webservice.asmx/funProcess due to java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html



Changes

 

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
Changes
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.