cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
555
Views
0
Helpful
7
Replies

XML / SOAP support on CRA 3.5(3)

jefforsi
Level 1
Level 1

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.

7 Replies 7

mchin345
Level 6
Level 6

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

Hi,

I´m spoking about IPCC Express, not CallManager...

Did you find a solution to this?

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.

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.

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:

1

We used the GET XML step on the Developer Tool.

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.