Home » SQL & PL/SQL » SQL & PL/SQL » Pass variable value in input XML for calling webservice
Pass variable value in input XML for calling webservice [message #604066] Mon, 23 December 2013 07:58 Go to next message
sur_7887
Messages: 1
Registered: December 2013
Junior Member
This is the snippet of the input XML i am using to call a webservice in PL/SQL:-

...
<ns2:item>
<ns2:conjunction>And</ns2:conjunction>
<ns2:upperCaseCompare/>
<ns2:attribute>OptyNumber</ns2:attribute>
<ns2:operator>=</ns2:operator>
<ns2:value>3-KNF12</ns2:value>
</ns2:item>
</ns2:group>
<ns2:nested/>
</ns2:filter>
<ns2:sortOrder>
...

I want to pass value to <ns2:value> instead of hardcoding it as <ns2:value>3-KNF12</ns2:value>. Please let me know how to do that. The entire XML is sent as a HTTP Request XML.

Re: Pass variable value in input XML for calling webservice [message #604071 is a reply to message #604066] Mon, 23 December 2013 09:33 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
XML is static text.

Please read and follow the forum guidelines, to enable us to help you:

http://www.orafaq.com/forum/t/88153/0/
Previous Topic: Explain below query
Next Topic: Select clause issue
Goto Forum:
  


Current Time: Fri Apr 19 12:45:02 CDT 2024