I have created sample mapping by providing manual input in to JSON field and later I have taken the url from log which is having token authentication and did a small change to fetch all fields.
Currently I can able to get the JSON data from GIS system but the mapped fields are not getting created / updated in location object in Maximo.
Just want to know is there any mandatory fields i need to map in JSON mapping application to inbound the data. Currently i can able to see that data is loaded to inbound queue but that is not getting loaded in Maximo location object where logs are also not showing any errors during the load (In message tracking application i can able to see that message is getting processed).
I can able to see process flag which i am using is getting updated from value 1 to 2 in GIS.
Another question is MXCREATIONSTATE we have to create manfully in GIS system?
Your suggestion will be helpful for me to overcome the challenge which i am facing to load the data from GIS to location object. Thanks for your help.
------------------------------
Thanks
Sudhindra Shivanagere
------------------------------
Original Message:
Sent: Mon September 14, 2020 05:48 AM
From: Sudhindra Shivanagere
Subject: Getting "Code : 499 Message :Token Required" while Mapping JSON Data by using GIS URL
Thanks Joao Souto for the response.
Your suggestion was helpful and I am following instructions from below URL
https://www.ibm.com/support/pages/configuring-inbound-json-mapping-records-spatial-use
In the URL, the 5th point talks about JSON data field on how to retrieve JSON attributes by using query option.
After 5th step I tried with URL option by providing username and password in the end point which you mentioned but received below error
BMXAA1482E - The response code received from the HTTP request from the endpoint is not successful.
so I have copy pasted the JSON query output manually as you suggested to JSON data field and tested the map by using "Test Mapping" from more actions menu.
I can able to see Response after clicking the test button as well. Hope the steps which I followed to paste the JSON data is correct.
1. As URL option is giving error and is there any problem in Map Manager application relationship where clause ?
2. is there any dependency on queue configuration in external systems ?
------------------------------
Thanks
Sudhindra Shivanagere
Original Message:
Sent: Thu September 10, 2020 07:55 AM
From: Joao Souto
Subject: Getting "Code : 499 Message :Token Required" while Mapping JSON Data by using GIS URL
You can copy the json content directly into the JSON Data field. You can also define username/password into the corresponding record inside the End Point that has the same name of your GIS Object.
If you go on the second approach, make sure the end point is referenced in the JSON Mapping record.
------------------------------
Joao Souto
Maximo Product Architect
IBM
Original Message:
Sent: Fri September 04, 2020 07:20 AM
From: Sudhindra Shivanagere
Subject: Getting "Code : 499 Message :Token Required" while Mapping JSON Data by using GIS URL
Hi All,
I am new to Maximo Spatial and I am trying to get the JSON Data by using the GIS URL but i am getting "Code : 499 Message :Token Required" which i can understand that Maximo requires token authentication to receive JSON data but those credentials are already provided in Map Manager application.
Please suggest how to solve this.
I can able to see the below IBM link which provides some information related to this.
IV94948: JSON MAPPING APPLICATION DOES NOT POPULATE THE JSON DATA FIELD IF THE URL BEING USED IS FROM A TOKEN ENABLED MAP SERVICE.| Ibm | remove preview |
| | IV94948: JSON MAPPING APPLICATION DOES NOT POPULATE THE JSON DATA FIELD IF THE URL BEING USED IS FROM A TOKEN ENABLED MAP SERVICE. | | PROBLEM DESCRIPTION: When creating a new JSON mapping for a map service with token | | View this on Ibm > |
|
|
Thanks,
Sudhindra
#Maximo
#MaximoSpatial
#AssetandFacilitiesManagement