<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>AXL cisco callmanager 8.5</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6178549" />
  <subtitle>AXL cisco callmanager 8.5</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6178549</id>
  <updated>2013-06-20T04:45:59Z</updated>
  <dc:date>2013-06-20T04:45:59Z</dc:date>
  <entry>
    <title>RE: AXL cisco callmanager 8.5</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6194431" />
    <author>
      <name>JEFF VANCE</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6194431</id>
    <updated>2012-07-28T03:27:50Z</updated>
    <published>2012-07-28T03:27:50Z</published>
    <summary type="html">In the "Worked for me but don't know the full impact yet" department:

find [b]public partial class UpdateSoftKeySetReq : NameAndGUIDRequest[/b]
Comment out the four [b]System.Xml.Serialization.XmlElementAttribute[/b] shortly below.

Best of luck,
Jeff</summary>
    <dc:creator>JEFF VANCE</dc:creator>
    <dc:date>2012-07-28T03:27:50Z</dc:date>
  </entry>
  <entry>
    <title>AXL cisco callmanager 8.5</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6178548" />
    <author>
      <name>sujit pillai</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6178548</id>
    <updated>2012-07-25T09:01:35Z</updated>
    <published>2012-07-25T09:01:35Z</published>
    <summary type="html">Hi,
 
I am using c# 2.0 windows application as a platform to connect the axl web service but whenever i try to connect it gives me error,
calling any api gives me following error 

 
Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqCallStates'
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqRemoveCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqRemoveCallStates' to 'UpdateSoftKeySetReqAddCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqCallStates' to 'UpdateSoftKeySetReqAddCallStates'

 
even if i try to use sgen.exe it gives me followin errors 
 

C:\Program Files\Microsoft Visual Studio 8\VC&gt;sgen Cisco8_5.dll
Microsoft (R) Xml Serialization support utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqCallStates'
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqRemoveCallStates'
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqCallStates'
error CS0030: Cannot convert type 'UpdateSoftKeySetReqAddCallStates' to 'UpdateSoftKeySetReqRemoveCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqRemoveCallStates' to 'UpdateSoftKeySetReqAddCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqCallStates' to 'UpdateSoftKeySetReqAddCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqRemoveCallStates' to 'UpdateSoftKeySetReqAddCallStates'
error CS0029: Cannot implicitly convert type 'UpdateSoftKeySetReqCallStates' to 'UpdateSoftKeySetReqAddCallStates'



What changes to be made in AXLAPIService.cs generated by wsdl.exe command. 
i just add follwing things to the AXLAPIService.cs 
 

	public class BruteForcePolicy : System.Net.ICertificatePolicy
    	{
		public bool CheckValidationResult(System.Net.ServicePoint sp, System.Security.Cryptography.X509Certificates.X509Certificate cert,
		System.Net.WebRequest request, int problem)
		{
	    	return true;
		}
    	}
 
	public AXLAPIService(string ccmIp, string user, string password)
    	{
		System.Net.ServicePointManager.CertificatePolicy = new BruteForcePolicy();
 
		this.Url = "https://" + ccmIp + ":8443/axl/";
		this.Credentials = new System.Net.NetworkCredential(user, password);
    	}
 
	protected override System.Net.WebRequest GetWebRequest(Uri uri)
    	{
		System.Net.HttpWebRequest request = base.GetWebRequest(uri) as System.Net.HttpWebRequest;
		request.ProtocolVersion = System.Net.HttpVersion.Version10;
 
		return request;
    	}




please help me to get out of this problem.</summary>
    <dc:creator>sujit pillai</dc:creator>
    <dc:date>2012-07-25T09:01:35Z</dc:date>
  </entry>
</feed>

