Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to enable SOAP in CCM 4.1.3?

Hey, guys, any one who know how to enable SOAP in CCM 4.1.3, which is windows based?

Everyone's tags (2)
7 REPLIES
Cisco Employee

Re: How to enable SOAP in CCM 4.1.3?

As far as I can remember SOAP is available only on Linux appliances.

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
Community Member

Re: How to enable SOAP in CCM 4.1.3?

please find the attached screen capture in the online help, with some topic about SOAP.

Super Bronze

Re: How to enable SOAP in CCM 4.1.3?

Hi

The question would be which SOAP-based API are you interested in...?

If you are talking AXL, then yes, that was introduced in 4.1 I think. It's definately there at any rate - and it's enabled by default. It's on a different URL to the linux versions (https://server/CCMApi/AXL/V1/soapisapi.dll).

Risport is also there, again on a a different URL; this is all the in the documentation for the APIs at developer.cisco.com

Regards

Aaron

Please rate helpful posts..

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
Community Member

Re: How to enable SOAP in CCM 4.1.3?

Hi Arron,

Thanks for your help!

I just want to change a certain ccs of a cetain line via SOAP, we've worked out some sample request xml files with ccm 7.x, but it seems not work well with CCM 4.x.

Could you please shed some light on this?

Super Bronze

Re: How to enable SOAP in CCM 4.1.3?

Hi

You'd have to post the errors you are receiving.

The idea behind this (and any other) API is that it should be reasonably version independent; obviously new things may not be supported in the 4.1 API, but CSS/phones is something pretty fundamental so should be OK.

If you aren't getting auth/URL problems, but are getting the actual contents of the request rejected, bear in mind that the 4.x AXL parser was extremely badly written. It's very sensitive to the order of the elements in some calls. I find the best thing to do is if you are trying an 'updatePhone', first do a 'getPhone', and then copy the order of the elements in from that in your updatePhone calls.

Other than that, post up your request and the error that is returned and I'll see if I can provide any further guidance.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
Community Member

Re: How to enable SOAP in CCM 4.1.3?

Hi Thanks!

Now I'm making updatePhone work, yet still get the correct one with getLine.

The following is the request file I'm currently using:


http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd"  sequence="1">
8002


the response told me to include , but I don't know where to find after a few retrying.

You also mentioned about the developer.cisco.com, but could you get me a direct URL or some key words? I just search by "4.1 soap getline", but only get a "4.1(3) Cisco Unified Communications Manager Serviceability XML Developer Guides.pdf", which seems not so helpful to me.

Super Bronze

Re: How to enable SOAP in CCM 4.1.3?

Hi

Re: your SOAP query - if you want to get a line, you have to identify it by a combination of line and partition.

So in your example, add a routePartitionName element with the name of the partition the line is in instead of XXX in this example:

http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd"  sequence="1">
8002

XXX




Note, I've also added routeFilterName, which is empty but has to be there anyway...

Re: documentation, take a look at this page:

http://developer.cisco.com/web/axl/docs

Download an uzip the 'Admin AXL Interface Specification' for your version of CUCM. This has a HTML document detailing the entire interface and the various procedures you can call. I find it opens badly in IE (very slow, lots of memory) but better in Firefox...

Regards

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
480
Views
10
Helpful
7
Replies
CreatePlease to create content