Oracle Plsql中的Web服务调用问题

时间:2019-01-08 21:55:11

标签: oracle plsql oracle12c

以下是我用于Web服务调用的plsql代码的一部分,如果lv_activity_token代码的硬编码工作正常,则从表达式下获取它时,同样的代码将无法正常工作

iv_offset_cnt:=0;
lv_activity_token:= substr(iv_activity_token,instr(iv_activity_token,'/',2)+1);--with this code is not working
--iv_activity_token is coming from oracle table which i stored in table from different web service response
-- lv_activity_token:='2562432'; hardcoding the same value which is coming from above expression,with this code is working
lv_ws_url:='https://secure.p03.eloqua.com:443/api/bulk/2.0/syncs/';
lv_ws_url1:='/data?limit=200&offset=';
gv_ws_url := lv_ws_url || lv_activity_token || lv_ws_url1 || iv_offset_cnt;
--at the end gv_ws_url value is:
--https://secure.p03.eloqua.com:443/api/bulk/2.0/syncs/2562432/data?limit=200&offset=0

其他细节:

gv_ws_url-将其传递以获得响应。

如果您需要其他详细信息,请告诉我。

(我怀疑表中存储的数据(可能是字符集问题))

提前谢谢。

0 个答案:

没有答案
相关问题