cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
708
Views
0
Helpful
3
Replies

Problems with SOAP and CCM

Hello, I am trying to use SOAP to modify call forward all in a DN. I am not sure if the scheme I have is the correct:

Win2003 with IIS

CCM 6.1

I have created an example webpage with the follwing code:

POST: 8443/axl/
Host: 10.200.0.7:8443
Accept: text/*
Authorization: Basic bGFycnk6Y3VybHkgYW5kIG1vZQ==
Content-type: text/xml
SOAPAction: "CUCM:DB ver=6.1"
Content-length: 613

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

<SOAP-ENV:Body>
<axl:getPhone xmlns:axl="http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://ccmserver/schema/axlsoap.xsd" sequence="1234">
<phoneName>SEP000000000001</phoneName>
</axl:getPhone>
</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I have saved it as .asp, .soap, .xml, .html... and it doesn't work, we receive an error in the first line. What is it wrong?

Thanks in advance.

Regards.

3 Replies 3

Anthony Holloway
Cisco Employee
Cisco Employee

First of all, it doesn't seem like you know about the developer forum, else you would have posted there.

It's like this forum, except it's all about software developement and there's lots of help for AXL issues there:

http://developer.cisco.com/web/axl/forums/-/message_boards?_19_mbCategoryId=1052601

Second, you don't just type the SOAP message (and HTTP headers) into a notepad and then serve it up.

You have to POST the SOAP message (the XML) to the CUCM server.  And to do that in IIS, here is one quick example I googled for you.

http://www.asp101.com/samples/viewasp.asp?file=http_post.asp

Notice the lines that set the header information, therefore, you shouldn't have this section in your body, it gets created at a lower level for you:

victorgarciaternero wrote:

POST: 8443/axl/

Host: 10.200.0.7:8443
Accept: text/*
Authorization: Basic bGFycnk6Y3VybHkgYW5kIG1vZQ==
Content-type: text/xml
SOAPAction: "CUCM:DB ver=6.1"
Content-length: 613

So again, head on over to the developer section.  There's some nice documenation, examples, and a helpful group to get you going.  Good luck!

Hello Anthony,

Thank you for your response, I have search in that forum, but i'm not a development engineer, so I cannot understand many things I find on that forum.

Do you know any example of SOAP to code on get/modify something in CCM? Probably if I see the example script I could understand something...

Thanks.

Regards.

Maybe you just missed it, but over on the developer side, there's documentation and examples.

Good luck.

Sent from Cisco Technical Support iPhone App

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: