I'm using the Maximo Java Rest Client and I'm seeing some odd behavior.
ibmmaximorestjsonapis/maximorestclientI'm getting namespaces returned with resourceSet queries when I use the basic auth option. I only seem to have this issue when using the maximo rest client. I don't see the same behavior from PostMan testing the same configuration and query. I'm also fine when the target Maximo instace is using native authentication.
no namespaces:mc = new MaximoConnector(new Options().user("user")
.password("password").mt(false).auth("
maxauth")
.host("host").port(port).maxrest().lean(
true)).debug(true);
namespaces returned:mc = new MaximoConnector(new Options().user("user")
.password("password").mt(false).auth("
basic")
.host("host").port(port).maxrest().lean(
true)).debug(true);
ResourceSet selectSet = mc.resourceSet(...
consoleFINE: http://<host>:<port>/maxrest/oslc?&lean=1FINE: http://<host>:<port>/maxrest/oslc/...
return
{"prefixes":{"rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#",...------------------------------
Donovan Smith
------------------------------
#MaximoIntegrationandScripting#Maximo#AssetandFacilitiesManagement