Thanks Williams and Justin.
I was pretty close to that.
On Mon, Oct 31, 2016 at 12:01 PM, Shiv Shankar
wrote:
> Hi,
> I tried calling an external ws with xdmp:http-get() which is deployed in
> local host http://localhost:8080/q1=1=2=3 , it is throwing as
>
You need to escape your ampersands if they appear in XQuery code.
let $url as xs:string := "http://localhost:8080/q1=1q2=2q3=3;
Justin
> On Oct 31, 2016, at 9:01 AM, Shiv Shankar wrote:
>
> Hi,
> I tried calling an external ws with xdmp:http-get() which is
You need to use the html entity for the ampersand () in xquery. If q1
is also suppose to be a param you need a question mark as well.
http://localhost:8080/?q1=1q2=2q3=3
-Will
On Mon, Oct 31, 2016 at 10:01 AM, Shiv Shankar
wrote:
> Hi,
> I tried calling an
Hi,
I tried calling an external ws with xdmp:http-get() which is deployed in
local host http://localhost:8080/q1=1=2=3 , it is throwing as
XDMP-ENTITYREF: (err:XPST0003) Invalid entity reference "q2="
I am trying to call external ws from console. Any advise?
Regards
Shan.