Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get URL parameter in a ESB job

Good Morning,
I have created a job for a webservice (as can be seen in the screenshot attached ) and I need now to get a new parameter from the URL the webservice is called...
For example :  
http://xxx.xxx.xxx.xxx:xxxx/mywebservice/myparameter/myvalue

Do you know how can I get this url parameter ?

Note that I have already tested with success a design with the parameter inside the HTTP header with the following code :
((java.util.Map<String,java.util.List<String>>)globalMap.get("tESBProviderRequest_1_HEADERS_HTTP")).get("SRV_ID").get(0)

, but it's not the target.

Thank you,
Jacky Siveton.
PS : I've reposted this topic from https://www.talendforge.org/forum/viewtopic.php?pid=196100#p196100  to see if it's better found & answered here
0683p000009MCOz.png
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Does anyone have any clue ?
Anonymous
Not applicable
Author

Hi,
Looks like the requirement what you want is a typical RESTful service, could you try with the tRESTRequest/tRESTResponse components in the job? the tESBProviderRequest/tESBProviderResponse are designed for SOAP service. with REST service, you are able to specify path parameter and request parameter, and support XML and JSON data type as input/output.
Regards.
Anonymous
Not applicable
Author

Hi,
Actually we've got a SOAP service here.
Is it a way to get the URL parameters ?
Thank You.