Forum Discussion
ChristineA
13 years agoOccasional Contributor
OK!!
Managed to get it working at last - the format that I used I actually got from another post....
declare namespace ns1='your.svc/doLogin';
//ns1:Response[1]/ns1:doLoginResult[1]/ns1:UserIdentity[1]/ns1:ClientId[1]
and in fact you can put it in as
//ns1:Response/ns1:doLoginResult/ns1:UserIdentity/ns1:ClientId
which also works...
I thought it wasn't necessary to declare namespaces but there you have it.
It is a JSON POST request, with response as XML...
Managed to get it working at last - the format that I used I actually got from another post....
declare namespace ns1='your.svc/doLogin';
//ns1:Response[1]/ns1:doLoginResult[1]/ns1:UserIdentity[1]/ns1:ClientId[1]
and in fact you can put it in as
//ns1:Response/ns1:doLoginResult/ns1:UserIdentity/ns1:ClientId
which also works...
I thought it wasn't necessary to declare namespaces but there you have it.
It is a JSON POST request, with response as XML...