Hi,
I am trying to extract a value from a soap api request in pl/sql
variable t_response is an xmltype returned from soap api
t_response has the following xml value below
<ns1:wrappedResponse xmlns:ns1 "http://cuk.com/res/cukwebservice/actions/">
<soapStatus xmlns="http://cuk.com/ccuk/schema" success="true"/>
</ns1:wrappedResponse>
I am trying to xtract the value of the attribute success
I tried something like
p_value := t_response.extract('/soapStatus@success','xmlns:ns1="http://cuk.com/ccuk/schema"').getStringVal();
but just kep getting ... ORA-30625: method dispatch on NULL SELF argument is disallowed....
any clues?
css_jay99
I am trying to extract a value from a soap api request in pl/sql
variable t_response is an xmltype returned from soap api
t_response has the following xml value below
<ns1:wrappedResponse xmlns:ns1 "http://cuk.com/res/cukwebservice/actions/">
<soapStatus xmlns="http://cuk.com/ccuk/schema" success="true"/>
</ns1:wrappedResponse>
I am trying to xtract the value of the attribute success
I tried something like
p_value := t_response.extract('/soapStatus@success','xmlns:ns1="http://cuk.com/ccuk/schema"').getStringVal();
but just kep getting ... ORA-30625: method dispatch on NULL SELF argument is disallowed....
any clues?
css_jay99
Comment