Skip to Content
avatar image
Former Member

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

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 03, 2017 at 04:13 PM

    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 ?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 04, 2017 at 10:30 AM

    Hello,

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

    Best Regards,

    Mariana

    Add comment
    10|10000 characters needed characters exceeded