RestrictedParty Request to GTM Fails With Error 'java.lang.IllegalStateException: java.lang.IllegalArgumentException: null java.sql.Connection'

(Doc ID 2349803.1)

Last updated on JANUARY 17, 2018

Applies to:

Oracle Global Trade Management Cloud Service - Version 6.4.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to send a RestrictedParty request to GTM, the following error occurs.

ERROR
-----------------------
java.lang.IllegalStateException: java.lang.IllegalArgumentException: null java.sql.Connection

Example:
-----------
<Transmission xmlns="http://xmlns.oracle.com/apps/otm">
<TransmissionHeader>
<TransmissionType>SERVICE</TransmissionType>
<UserName>XXX</UserName>
<Password>XXX</Password>
</TransmissionHeader>
<TransmissionBody>
<GLogXMLElement>
<ServiceRequest xmlns="http://xmlns.oracle.com/apps/gtm">
<ServiceName>RESTRICTED PARTY SCREEN</ServiceName>
<GtmServicePreferenceId>AD_HOC_PARTY_SCREENING_SERV_PREF</GtmServicePreferenceId>
<RestrictedParty>
<FirstName>XXX</FirstName>
<LastName>XXX</LastName>
<CompanyName>XXX</CompanyName>
<Country>XXX</Country>
</RestrictedParty>
</ServiceRequest>
</GLogXMLElement>
</TransmissionBody>
</Transmission>

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