Invalid Attribute "objectclasses" In Secure Global Desktop 5.0 Webservices API Calls (Doc ID 1594697.1)

Last updated on JULY 12, 2016

Applies to:

Oracle Secure Global Desktop - Version 5.0 to 5.0 [Release 5.0]
Information in this document applies to any platform.

Symptoms

When using the Secure Global Desktop (SGD) Webservices API in SGD 5.0 you will find that legacy calls to objectclass fail.

The same code run on a pre 5.0 SGD server works fine.


Here is the exception you will get when you create an application instance:

NOTE: This is from a client running a German version of Windows

13.09.2013 14:59:29 com.tarantella.tta.webservices.client.apis.apache.BaseRequest callServiceWork
WARNUNG: ID: 2, Fault code : Client.InvalidAttribute
13.09.2013 14:59:29 com.tarantella.tta.webservices.client.apis.apache.BaseRequest callServiceWork
WARNUNG: ID: 2, Fault string : Invalid attribute, {item=[device, scottaauxhost, top]}, supplied
Exception in thread "main" com.tarantella.tta.webservices.TTAException
at com.tarantella.tta.webservices.client.apis.apache.BaseRequest.setFault(BaseRequest.java:574)
at com.tarantella.tta.webservices.client.apis.apache.BaseRequest.callServiceWork(BaseRequest.java:518)
at com.tarantella.tta.webservices.client.apis.apache.BaseRequest.callService(BaseRequest.java:390)
at com.tarantella.tta.webservices.client.apis.apache.DatastoreRequest.create(DatastoreRequest.java:48)
at de.dtnet.sgd.ApplicationServerCreator.main(ApplicationServerCreator.java:83)

 

 

Here is a code snippet showing the difference between the two SGD versions:

 

When this code is run using BASE_URL from an SGD 4.7 server, the application server is created, when run using BASE_URL from a SGD 5.0 server, the exception is seen.

 


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