Administration XML Developer Forums

« Back to Administration XML Questions

Setting SOAPAction to CUCM:DB ver=8.0 or 8.5 not working

Combination View Flat View Tree View
Threads [ Previous | Next ]
I have access to two CUCM platforms running 8.5 and 8.6.
 
Neither server will allow me AXL requests for CUCMemoticonB ver 8.0 or 8.5
 
I can however access versions 6.1, 7.0 and 7.1 by setting 'SOAPAction = CUCMemoticonB ver=6.1'  , 'SOAPAction = CUCMemoticonB ver=7.0' or 'SOAPAction = CUCMemoticonB ver=7.1'
 
According to the AXL Versioning and Schema Plan in the Developers Guide I should be able to get the latest version plus three previous versions.
 
Any ideas?

They seem to have changed the way you do AXL in version 8,
 
I am suffering from the same experience, (you can look at my posts)
 
I have started chainging the way i do things using WDSL but that has it's own hicups.
 
Thanks
 
 
I have access to two CUCM platforms running 8.5 and 8.6.
 
Neither server will allow me AXL requests for CUCMemoticonB ver 8.0 or 8.5
 
I can however access versions 6.1, 7.0 and 7.1 by setting 'SOAPAction = CUCMemoticonB ver=6.1'  , 'SOAPAction = CUCMemoticonB ver=7.0' or 'SOAPAction = CUCMemoticonB ver=7.1'
 
According to the AXL Versioning and Schema Plan in the Developers Guide I should be able to get the latest version plus three previous versions.
 
Any ideas?

Can you provide the full request/response - ideally including headers?  Next best thing would be to enable the detailed AXL logging, gather, and attach here.
 
http://developer.cisco.com/web/axl/wikidocs?p_p_id=1_WAR_wikinavigationportlet_INSTANCE_i9JW&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&p_r_p_185834411_nodeId=803208&p_r_p_185834411_title=AXL+Case+Opening+Steps

Hi Simon hope this helps
 
CUCM IS VERSION 8.5
 
WHERE NO CUCM SPECIFIED IN POST
(RESPONSE RETURNS 6.1)
 
SENT:
POST https://192.168.0.52:8443/axl/HTTP/1.1
Content-type, text/xml
Authorization, Basic YWRtaW46Y2lzY28sMTIz
Content-length, 698
Content-Type, text/xml; charset=utf-8
Accept, text/xml
 
RESPONSE:
Set-Cookie: JSESSIONIDSSO=45E3F7141DAE2916F01171AEE4C60700; Path=/; Secure
Set-Cookie: JSESSIONID=D6F84245DD5BEE6D9CB1FDEB3B309DB7; Path=/axl; Secure
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: CUCMemoticonB ver=6.1
Content-Type: text/xml;charset=utf-8
Content-Length: 549
Date: Wed, 22 Feb 2012 09:42:44 GMT
Server:
 
'=7.0=============================================================================================
 
POST https://192.168.0.52:8443/axl/HTTP/1.1
Content-type, text/xml
Authorization, Basic YWRtaW46Y2lzY28sMTIz
Content-length, 698
Content-Type, text/xml; charset=utf-8
SOAPAction, CUCMemoticonB ver= 7.0
Accept, text/xml
 
Set-Cookie: JSESSIONIDSSO=04A0902AB3662E2354EDCCE810A04941; Path=/; Secure
Set-Cookie: JSESSIONID=AE537B48FAF89B763741C298FBEA60DD; Path=/axl; Secure
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: CUCMemoticonB ver=7.0
Content-Type: text/xml;charset=utf-8
Content-Length: 549
Date: Wed, 22 Feb 2012 10:04:53 GMT
Server:
 
 
'=7.1=============================================================================================
 
POST https://192.168.0.52:8443/axl/HTTP/1.1
Content-type, text/xml
Authorization, Basic YWRtaW46Y2lzY28sMTIz
Content-length, 698
Content-Type, text/xml; charset=utf-8
SOAPAction, CUCMemoticonB ver= 7.1
Accept, text/xml
 
Set-Cookie: JSESSIONIDSSO=AC86BDAA743E2B3D37A5C8B062BEA9FF; Path=/; Secure
Set-Cookie: JSESSIONID=7066E392F39572685715686D8360F72B; Path=/axl; Secure
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: CUCMemoticonB ver=7.1
Content-Type: text/xml;charset=utf-8
Content-Length: 549
Date: Wed, 22 Feb 2012 10:06:13 GMT
Server:
 
'=8.0=============================================================================================
 
POST https://192.168.0.52:8443/axl/HTTP/1.1
Content-type, text/xml
Authorization, Basic YWRtaW46Y2lzY28sMTIz
Content-length, 698
Content-Type, text/xml; charset=utf-8
SOAPAction, CUCMemoticonB ver= 8.0
Accept, text/xml
 
Set-Cookie: JSESSIONIDSSO=56599468AF9CB87955BD5A534ECA5364; Path=/; Secure
Set-Cookie: JSESSIONID=ECFC96160D5841D9C52320FE44A55347; Path=/axl; Secure
Content-Type: text/xml;charset=UTF-8
Content-Length: 427
Date: Wed, 22 Feb 2012 10:07:08 GMT
Server:
 
 
'=8.5=============================================================================================
 
POST https://192.168.0.52:8443/axl/HTTP/1.1
Content-type, text/xml
Authorization, Basic YWRtaW46Y2lzY28sMTIz
Content-length, 698
Content-Type, text/xml; charset=utf-8
SOAPAction, CUCMemoticonB ver= 8.5
Accept, text/xml
 
Set-Cookie: JSESSIONIDSSO=FD8BC06662E503390565CB2703075C0C; Path=/; Secure
Set-Cookie: JSESSIONID=919D18071571D4E576B39DE448A9EE61; Path=/axl; Secure
Content-Type: text/xml;charset=UTF-8
Content-Length: 427
Date: Wed, 22 Feb 2012 10:09:35 GMT
Server:

Sorry meant David

Perhaps not completely understanding what the issue is, but here is a working request/response from my 8.5(1) lab UCM:

POST https://10.88.131.141:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCMemoticonB ver=8.5"
User-Agent: Jakarta Commons-HttpClient/3.1
Content-Length: 249
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjbyExMjM=
Host: 10.88.131.141:8443

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:getCCMVersion>
      </ns:getCCMVersion>
   </soapenv:Body>
</soapenv:Envelope>

-----------------------------------------

HTTP/1.1 200 OK
Set-Cookie: JSESSIONIDSSO=BF379498CE015F234505D28ED44F8729; Path=/; Secure
Set-Cookie: JSESSIONID=F54095727CF7FF5DFE3F571E541CF611; Path=/axl; Secure
Content-Type: text/xml;charset=UTF-8
Content-Length: 347
Date: Wed, 22 Feb 2012 21:30:44 GMT
Server: 
 
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getCCMVersionResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5"><return><componentVersion><version>8.5.1.10000(26)</version></componentVersion></return></ns:getCCMVersionResponse></soapenv:Body></soapenv:Envelope>

Hi David

The SOAPAction is returned correctly in the first four examples but when posting 'SOAPAction: CUCMemoticonB ver=' versions 8.0 and 8.5 there is nothing returned.

Further, the AXL Versioning and Schema Plan in the XML developers guide states that for CUCM 8.5 you should be only be able to access AXL reuquests for 7.0, 7.1, 8.0 and 8.5.
My first example shows I am able to access to 6.1.

Hi David

I think I have now worked out that after AXL CUCM 7.1 there seemed to be a big change in AXL messages and responses.

1. The initial Post command no longer responds with the SOAPAction CUCM Version after 7.1 (I found this out after posting SOAPAction:CUCM Version 8.5 and then sending an invalid message this reposned with the CUCM 8.5 response in the error message so this confirmed I was using Version 8.5).

2. It seems that even on CUCM 8.5 the AXL software still includes vesrions 6.1, 7.0, 7,1, 8.0 & 8.5 contrary to the AXL Versioning and Schema Plan in the Developer Guide.

3. I had to rewrite the scripts which previously worked on vesrions 6.1, 7.0 and 7.1

4. My last issue is: What parameter do I update to change the CSS in the Directory Number Settings, I am using updateLine which allows me to change the description etc.

2. My understanding is that you can define the schema you wish to use when you build your https request. Using Visual Basic, I have a line that basically says request.Headers.Add("SOAPAction", "CUCMemoticonB ver=7.0") if I want to use the 7 schema with 8.5

3. #2 should fix this.

4. shareLineAppearanceCSSName

If you´re building it on .NET, avoid declare SOAPAction. We don´t need it.

Regards. Breno Lucena