Requests Sent to the Oracle API Gateway from SoapUI Fail with XSD Error in Schema Validation Filter (Doc ID 1604257.1)

Last updated on AUGUST 18, 2016

Applies to:

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

Symptoms

A backend web service is registered with the Oracle API Gateway (OAG).
The backend web service is secured with a policy which contains a "Configure the connection to the back-end Web Service" filter.
A WSDL is exported from the Gateway.

Problem:

The service cannot be accessed from SoapUI.  The user only gets an error message, similar to "message blocked" (this is the default message).

The Gateway logs show that the policy fails in the Schema Validation Filter:

ERROR   28/Oct/2013:17:29:14.536 [001e]             XSD Error: incomplete date value '?' (line: 0, column: 18)
ERROR   28/Oct/2013:17:29:14.710 [001e] The message [Id-1b2fa969526e90d9161e6f72] logged Failure at 10.28.2013 17:29:14,709 with log description: Filter failed
ERROR   28/Oct/2013:17:29:14.711 [001e] Filter that caused failure: Schema Validation Filter
ERROR   28/Oct/2013:17:29:14.711 [001e] Policy '/Order/myService' {
ERROR   28/Oct/2013:17:29:14.711 [001e]     Filter 'Service Handler for 'myService'' Status:  FAILED
ERROR   28/Oct/2013:17:29:14.711 [001e]         Filter '1. Request from Client' Status:  FAILED
ERROR   28/Oct/2013:17:29:14.711 [001e]             Filter 'SOAP Action Processor' Status:  PASSED
ERROR   28/Oct/2013:17:29:14.711 [001e]             Filter 'Schema Validation Filter' Status:  FAILED
ERROR   28/Oct/2013:17:29:14.711 [001e] }
ERROR   28/Oct/2013:17:29:14.711 [001e] Service Handler for 'myService' filter failed

Various XSD errors and schema validation errors are observed, for example:

ERROR   28/Oct/2013:11:15:34.634 [1fdab90]             XSD Error: buffer not initialized (line: 18, column: 0)
DATA    28/Oct/2013:11:15:34.634 [1fdab90]             getting class java.util.Collection with classLoader.loadClass()
DATA    28/Oct/2013:11:15:34.634 [1fdab90]             loaded class java.util.Collection
DEBUG   28/Oct/2013:11:15:34.634 [1fdab90]             ErrorCount after schema validation: 1


ERROR   06/Nov/2013:16:34:52.662 [0025]             XSD Error: incomplete date value '?' (line: 0, column: 23)
ERROR   06/Nov/2013:16:34:52.769 [0025] The message [Id-891d953e527a619c0f257c78] logged Failure at 11.06.2013 16:34:52,761 with log description: Filter failed
ERROR   06/Nov/2013:16:34:52.770 [0025] Filter that caused failure: Schema Validation Filter

  

Changes

In the Validation tab of the "Configure the connection to the back-end Web Service" filter, XSD schema validation is enabled; for example by selecting "Use WSDL Schema".

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