IBM FileNet P8, Version 5.2.1            

Content Engine Web Service clients get Microsoft Web services error WSE839

Client applications that use Content Engine Web Service (CEWS) directly or through the Content Engine .NET API get a misleading exception that references Microsoft Web services error WSE839.

Symptoms

Microsoft Web services throws the following exception:

E_UNEXPECTED_EXCEPTION : Reason: WSE839: An HTTP response was received that used the following content type: application/soap+xml. The following content type was expected: multipart/related; type=application/xop+xml.

Causes

In rare cases, the Content Platform Engine returns a SOAP exception (SOAP fault) in an HTTP response with a SOAP content type. The Microsoft Web services implementation expects an MTOM-formatted HTTP response.

Resolving the problem

The Microsoft Web services exception message is a misleading symptom of the actual cause of the exception, which might be a configuration issue or another unusual condition.

Take as many of the following steps as necessary to find the actual cause of the exception.
  1. Change the Content Engine URI from "MTOM" to "SOAP". Because this particular exception arises only when the MTOM content type is used, with SOAP you will see the actual exception. Do not operate with a SOAP URI permanently because it has substantial performance drag whenever content is involved.
  2. On the Content Platform Engine server, configure trace logging at the detail level for the WSI subsystem, then review the server-side trace logs.
  3. Eavesdrop the network traffic with Wireshark or a similar tool, and observe the exception in the XML payload returned by the server.

If you continue to experience difficulties, see Finding additional problem/solution information.



Last updated: March 2016
p8pct001.htm

© Copyright IBM Corporation 2016.