Hello,

I am writing a little process where I need to call a REST endpoint. But,
this process will be deployed on different environment (dev, prod, etc...)
so the endpoint will change. This endpoint is something like that :

<BASE_ENDPOINT>/somethingConstant/${aValueHere}

I read that it is possible to use registry entry to fill a Service URL but
that does not work for me (I put conf:/baseEndpointParameters [1] [2] where
the content of the resource baseEndpointParameters was a joinable one) but
the error message I received in the console was :

[2017-09-25 15:24:58,534] [EI-Business-Process] ERROR
{org.wso2.carbon.bpmn.extensions.rest.RESTTask} -  Failed to execute GET
conf:/baseEndpointParameters within task servicetask4:Récupération
correspondance in process instance 107599
org.apache.http.client.ClientProtocolException: URI does not specify a
valid host name: conf:/baseEndpointParameters

Then, I would like to reuse the value of the param in the registry to
append the custom value. Is it possible?

Regards,

Thomas


[1] [image: Images intégrées 1]

[2] [image: Images intégrées 2]
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to