Community
Participate
Working Groups
creat an interface Interface IGeoName function search(query string in) returns(GeoNamesData) {@GetRest {uriTemplate="http://ws.geonames.org/search?q={query}", responseFormat=Encoding.XML}}; function searchJSON(query string in) returns(GeoNamesData) {@GetRest {uriTemplate="http://ws.geonames.org/searchJSON?q={query}", responseFormat=Encoding.JSON}}; end I'm getting the following errors: Description Resource Path Location Type IWN.VAL.3054.e 17/87 Property: responseFormat. The value for this property must be one of the following: NONE, USE_CONTENTTYPE, _FORM, json, xml. IGeoName.egl /GeoNames/EGLSource/interfaces line 17 EDT Problem IWN.VAL.3054.e 19/91 Property: responseFormat. The value for this property must be one of the following: NONE, USE_CONTENTTYPE, _FORM, json, xml. IGeoName.egl /GeoNames/EGLSource/interfaces line 19 EDT Problem No matter what I set it to I get the same error. I need this fixed ASAP I can't continue until it's fixed.
The problem was stemming from the fact that responseFormat is defined as nullable. I have fixed problems in AnnotationBinding and EGL2MofExpression to correct this.
verified