02-07-2006 11:36 AM - edited 03-13-2019 11:29 PM
Hi,
we are writing a script that sends an HTTP request to a WebServer that returns a XML/SOAP style response.
We did two tests.
At the first, we created a static XML file, with the following structure:
<?xml version="1.0" encoding="utf-8" ?>
<STATUS>
<VALUE>1</VALUE>
</STATUS>
So, using the Extract XML step, with XML Path = "/descendant::STATUS/child::VALUE", we are able to get the string "1".
At our second test, we created a WebService, that receives a parameter then returns the following:
<?xml version="1.0" encoding="utf-8" ?>
<STATUS xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
<VALUE>1</VALUE>
</STATUS>
Now, we are unable to get the string "1", the Extract XML step returns null.
So, my question is if the problem in this case is the difference between <STATUS> and <STATUS xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
I did a lot of searches on Google and CCO and didn't find detailed information about this on IPCC.
Any responses will be appreciated.
Rgds.
02-13-2006 11:38 AM
API enhancements include new TAPI and JTAPI objects and methods to support creation of call park service in Computer-Telephony Interface (CTI) applications and an XML Simple Object Access Protocol (SOAP) base API for accessing the Cisco CallManager configuration database.
This URL should help you:
http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/prod_release_note09186a008011e2c8.html
02-13-2006 03:44 PM
Hi,
I´m spoking about IPCC Express, not CallManager...
05-09-2007 09:45 AM
Did you find a solution to this?
05-09-2007 04:52 PM
Hi Joy,
we used the tags without style. We used IPCC 4.0 that I think does not support XML style (XLS).
Hope it could help you.
05-10-2007 06:45 AM
Thanks for the response but how did you use the tag without style? I always get the null value back when the xml namespace settings are there.
05-10-2007 09:23 AM
Hi Joy,
I?m not a developer, but in those situation, the developer did a ASPX engine that receives tha parameters via HTTP Request, like http://server/app/page.aspx?variable=value, so the ASPX engine that he created reply with a static XML file, something like a HTML page where he didn?t used the styles.
So the structure is something like:
We used the GET XML step on the Developer Tool.
05-10-2007 09:33 AM
Thanks for the reply. I will let the programmer creating the web service to not use styles when returning the xml file.
Thanks for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide