cancel
Showing results for 
Search instead for 
Did you mean: 

Annotation File - Reading incorrect/truncated url $metadata from backend

Former Member

The Data Source in my manifest file is as follows

However when I try to open the annotation1.xml I get the following error.

In debug I can see that the code is trying to read the following URL to fetch the metadata

I am wondering why is it dropping the /sap/ZEMP_SERVICE_SRV/ from the complete url /sap/opu/odata/sap/ZEMP_SERVICE_SRV/

I have indicated

1. WebIDEAdditionalData = full_url

2. WebIDEUsage = odata_gen,odata_abap,

when I set up my destination.

Any ideas, what could I be missing ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

When I try to pull up the Annotation Modeler I get the error

The destination path in the manifest.json file is

"dataSources": {
			"mainService": {
				"uri": "/sap/opu/odata/sap/ZEMP_SERVICE_SRV/",
				"type": "OData",
				"settings": {
					"localUri": "localService/metadata.xml",
					"annotations": [
						"annotation1"
					]
				}
			},

But when I check the Network tab I see that the $metadata file URI is dropping the /sap/ZEMP_SERVICE_SRV/

Any Ideas why this could be happening ?

maryana_naboka
Active Participant
0 Kudos

Hello,

could you please remove the property WebIDEAdditionalData = full_url, refresh your Web IDE and check if it works for you?

Best Regards,

Mariana

maryana_naboka
Active Participant
0 Kudos

Please note that it takes about 5 min for the changes to take effect.