<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SOAP Problem in Management</title>
    <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441153#M390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The version in the namespace needs to match the version submitted in the 'SOAPAction:' header - looking at the above you have '9.0' vs. '9.1'...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2015 14:43:28 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2015-09-16T14:43:28Z</dc:date>
    <item>
      <title>SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441148#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt; i was trying a axl codes. but i got problem at SOAP.&lt;/P&gt;&lt;P&gt;I use CUCM 9.1 and my user and password&amp;nbsp; are operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's my codes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;package axl;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import java.io.*; &lt;/P&gt;&lt;P&gt;import java.net.*;&lt;/P&gt;&lt;P&gt;import javax.net.ssl.*;&lt;/P&gt;&lt;P&gt;import java.security.cert.CertificateException;&lt;/P&gt;&lt;P&gt;import java.security.cert.X509Certificate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public class asd {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; public static void main(String[] args) { &lt;/P&gt;&lt;P&gt;&amp;nbsp; byte[] bArray = null; // buffer for reading response from &lt;/P&gt;&lt;P&gt;&amp;nbsp; Socket socket = null; // socket to AXL server &lt;/P&gt;&lt;P&gt;&amp;nbsp; OutputStream out = null; // output stream to server &lt;/P&gt;&lt;P&gt;&amp;nbsp; InputStream in = null; // input stream from server &lt;/P&gt;&lt;P&gt;&amp;nbsp; String sAXLSOAPRequest = "";&lt;/P&gt;&lt;P&gt;&amp;nbsp; // HTTPS header and SOAP payload&lt;/P&gt;&lt;P&gt;&amp;nbsp; String sAXLRequest = null; // will hold only the SOAP payload&lt;/P&gt;&lt;P&gt;&amp;nbsp; String authorization = "operator" + ":" + "operator";&lt;/P&gt;&lt;P&gt;&amp;nbsp; authorization = new sun.misc.BASE64Encoder().encode(authorization.getBytes());&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Form the http header&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest = "POST /axl/ HTTP/1.0\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Host:192.168.10.11:8443\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Authorization: Basic " + authorization + "\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Accept: text/*\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Content-type: text/xml\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "SOAPAction: \"CUCM:DB ver=9.1\"\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Content-length: ";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; // Build the SOAP payload&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest = "&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += "xmlns:xsi=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;\" xmlns:xsd=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;\"&amp;gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += "&amp;lt;SOAP-ENV:Body&amp;gt; &amp;lt;axl:getPhone xmlns:axl=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/1.0" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/1.0&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += " xsi:schemaLocation=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/1.0" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/1.0&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://axl/schema/AXLSoap.xsd" rel="nofollow" target="_blank"&gt;http://axl/schema/AXLSoap.xsd&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLRequest += "sequence=\"1234\"&amp;gt; &amp;lt;phoneName&amp;gt;SEP000000000001&amp;lt;/phoneName&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLRequest += "&amp;lt;/axl:getPhone&amp;gt; &amp;lt;/SOAP-ENV:Body&amp;gt; &amp;lt;/SOAP-ENV:Envelope&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; // finish the HTTPS Header&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += sAXLRequest.length();&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "\r\n\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; // now add the SOAP payload to the HTTPS header, which completes the AXL&lt;/P&gt;&lt;P&gt;&amp;nbsp; // SOAP request&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += sAXLRequest;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp; asd axl = new asd();&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Implement the certificate-related stuffs required for sending request via https&lt;/P&gt;&lt;P&gt;&amp;nbsp; X509TrustManager xtm = axl.new MyTrustManager();&lt;/P&gt;&lt;P&gt;&amp;nbsp; TrustManager[] mytm = { xtm };&lt;/P&gt;&lt;P&gt;&amp;nbsp; SSLContext ctx = SSLContext.getInstance("SSL");&lt;/P&gt;&lt;P&gt;&amp;nbsp; ctx.init(null, mytm, null);&lt;/P&gt;&lt;P&gt;&amp;nbsp; SSLSocketFactory sslFact = (SSLSocketFactory) ctx.getSocketFactory();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; socket = (SSLSocket) sslFact.createSocket("192.168.10.11", Integer.parseInt("8443"));&lt;/P&gt;&lt;P&gt;&amp;nbsp; in = socket.getInputStream();&lt;/P&gt;&lt;P&gt;&amp;nbsp; // send the request to the server&lt;/P&gt;&lt;P&gt;&amp;nbsp; // read the response from the server&lt;/P&gt;&lt;P&gt;&amp;nbsp; StringBuffer sb = new StringBuffer(2048);&lt;/P&gt;&lt;P&gt;&amp;nbsp; bArray = new byte[2048];&lt;/P&gt;&lt;P&gt;&amp;nbsp; int ch = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; int sum = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; out = socket.getOutputStream();&lt;/P&gt;&lt;P&gt;&amp;nbsp; out.write(sAXLSOAPRequest.getBytes());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; while ((ch = in.read(bArray)) != -1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum += ch;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sb.append(new String(bArray, 0, ch));&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; socket.close();&lt;/P&gt;&lt;P&gt;&amp;nbsp; // output the response to the standard output&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.out.println(sb.toString());&lt;/P&gt;&lt;P&gt;&amp;nbsp; } catch (UnknownHostException e) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.err.println("Error connecting to host: " + e.getMessage());&lt;/P&gt;&lt;P&gt;&amp;nbsp; return;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } catch (IOException ioe) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.err.println("Error sending/receiving from server: " + ioe.getMessage());&lt;/P&gt;&lt;P&gt;&amp;nbsp; // close the socket&lt;/P&gt;&lt;P&gt;&amp;nbsp; } catch (Exception ea) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.err.println("Unknown exception " + ea.getMessage());&lt;/P&gt;&lt;P&gt;&amp;nbsp; return;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; finally{&lt;/P&gt;&lt;P&gt;&amp;nbsp; try {&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (socket != null)&lt;/P&gt;&lt;P&gt;&amp;nbsp; socket.close();&lt;/P&gt;&lt;P&gt;&amp;nbsp; } catch (Exception exc) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; exc.printStackTrace();&lt;/P&gt;&lt;P&gt;&amp;nbsp; System.err.println("Error closing connection to server: "+ exc.getMessage());&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; public class MyTrustManager implements X509TrustManager {&lt;/P&gt;&lt;P&gt;&amp;nbsp; MyTrustManager() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; // create/load keystore&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; public void checkClientTrusted(X509Certificate chain[], String authType)&lt;/P&gt;&lt;P&gt;&amp;nbsp; throws CertificateException {&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; public void checkServerTrusted(X509Certificate chain[], String authType)&lt;/P&gt;&lt;P&gt;&amp;nbsp; throws CertificateException {&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; public X509Certificate[] getAcceptedIssuers() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; return null;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is my error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP/1.1 200 OK&lt;/P&gt;&lt;P&gt;Set-Cookie: JSESSIONIDSSO=D2F8AE81113632D88A0B602FAE6412F6; Path=/; Secure; HttpOnly&lt;/P&gt;&lt;P&gt;Set-Cookie: JSESSIONID=AFB227E5DB040C4B262C4817A11F7BC3; Path=/axl/; Secure; HttpOnly&lt;/P&gt;&lt;P&gt;Content-Length: 335&lt;/P&gt;&lt;P&gt;Date: Mon, 07 Sep 2015 03:29:28 GMT&lt;/P&gt;&lt;P&gt;Connection: close&lt;/P&gt;&lt;P&gt;Server:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;SOAP-ENV:Header/&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;SOAP-ENV:Fault&amp;gt;&amp;lt;faultcode&amp;gt;VersionMismatch&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;There is a mismatch between the namespace specified in the envelope and namespace expected&amp;lt;/faultstring&amp;gt;&amp;lt;/SOAP-ENV:Fault&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 03:53:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441148#M385</guid>
      <dc:creator>alexandersatria_Zlf</dc:creator>
      <dc:date>2015-09-07T03:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441149#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This part looks incorrect:&amp;nbsp; &lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;xmlns:axl=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/1.0" rel="nofollow" style="font-size: 12px; font-family: arial; color: #0a63a7; text-decoration: underline;" target="_blank"&gt;http://www.cisco.com/AXL/1.0&lt;/A&gt;&lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;\"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try something like this:&amp;nbsp; xmlns:axl=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/9.0" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/9.0&lt;/A&gt;&lt;SPAN&gt;\"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 15:43:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441149#M386</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-09-10T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441150#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried &lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;xmlns:axl=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/9.0" rel="nofollow" style="font-size: 12px; font-family: arial; color: #0a63a7;" target="_blank"&gt;http://www.cisco.com/AXL/API/9.0&lt;/A&gt;&lt;SPAN style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;\" but it's stil showing error &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HTTP/1.1 200 OK&lt;/P&gt;&lt;P&gt;Set-Cookie: JSESSIONIDSSO=ACEB1D999CE7DAD65B07E4734A6F0ABC; Path=/; Secure; HttpOnly&lt;/P&gt;&lt;P&gt;Set-Cookie: JSESSIONID=C265282A59E628279346479717AC44C2; Path=/axl/; Secure; HttpOnly&lt;/P&gt;&lt;P&gt;Content-Length: 335&lt;/P&gt;&lt;P&gt;Date: Mon, 14 Sep 2015 04:11:41 GMT&lt;/P&gt;&lt;P&gt;Connection: close&lt;/P&gt;&lt;P&gt;Server:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;SOAP-ENV:Header/&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;SOAP-ENV:Fault&amp;gt;&amp;lt;faultcode&amp;gt;VersionMismatch&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;There is a mismatch between the namespace specified in the envelope and namespace expected&amp;lt;/faultstring&amp;gt;&amp;lt;/SOAP-ENV:Fault&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 04:09:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441150#M387</guid>
      <dc:creator>alexandersatria_Zlf</dc:creator>
      <dc:date>2015-09-14T04:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441151#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the exact XML request?&amp;nbsp; You don't need to post any of the Java code, just the XML you are sending. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 19:37:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441151#M388</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2015-09-14T19:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441152#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are my xml codes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" style="font-size: 10pt; line-height: 1.5em;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" style="font-size: 10pt; line-height: 1.5em;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;SOAP-ENV:Body&amp;gt; &amp;lt;axl:GetPhoneRes.java xmlns:axl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/9.0" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/9.0 &lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;xsi:SchemaLocation=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/9.0" rel="nofollow" style="font-size: 10pt; line-height: 1.5em;" target="_blank"&gt;http://www.cisco.com/AXL/9.0&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://192.168.10.11/Schema/AXLSoap.xsd" rel="nofollow" style="font-size: 10pt; line-height: 1.5em;" target="_blank"&gt;http://192.168.10.11/Schema/AXLSoap.xsd &lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sequence="4321"&amp;gt; &amp;lt;phoneName&amp;gt;SEP000000000001&amp;lt;/phoneName&amp;gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/axl:GetPhoneRes.java&amp;gt; &amp;lt;/SOAP-ENV:Body&amp;gt; &amp;lt;/SOAP-ENV:Envelope&amp;gt;";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 02:47:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441152#M389</guid>
      <dc:creator>alexandersatria_Zlf</dc:creator>
      <dc:date>2015-09-15T02:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441153#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The version in the namespace needs to match the version submitted in the 'SOAPAction:' header - looking at the above you have '9.0' vs. '9.1'...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 14:43:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441153#M390</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-09-16T14:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441154#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dstaudt &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i am still not understand why i got error &amp;lt;faultcode&amp;gt;VersionMismatch&amp;lt;/faultcode&amp;gt;&lt;BR /&gt;i think my code must be work &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/sad.png" /&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i tried&amp;nbsp;&amp;nbsp; 9.0 and 9.1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but it'still same and got this error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connection: close&lt;/P&gt;&lt;P&gt;Server: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SOAP-ENV:Header/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;SOAP-ENV:Fault&amp;gt;&amp;lt;faultcode&amp;gt;VersionMismatch&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;There is a mismatch between the namespace specified in the envelope and namespace expected&amp;lt;/faultstring&amp;gt;&amp;lt;/SOAP-ENV:Fault&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's my codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String sAXLRequest = null; // will hold only the SOAP payload&lt;/P&gt;&lt;P&gt;&amp;nbsp; String authorization = "operator" + ":" + "operator";&lt;/P&gt;&lt;P&gt;&amp;nbsp; authorization = new sun.misc.BASE64Encoder().encode(authorization.getBytes());&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Form the http header&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest = "POST /axl/ HTTP/1.0\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Host:192.168.10.11:8443\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Authorization: Basic " + authorization + "\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Accept: text/*\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Content-type: text/xml\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "SOAPAction: \"CUCM:DB ver=9.1\"\r\n";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLSOAPRequest += "Content-length: ";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Build the SOAP payload&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest = "&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += "xmlns:xsi=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;\" xmlns:xsd=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;\"&amp;gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += "&amp;lt;SOAP-ENV:Body&amp;gt; &amp;lt;axl:getPhone xmlns:axl=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/9.1" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/9.1&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; sAXLRequest += " xsi:schemaLocation=\"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/9.1" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/9.1&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://axl/schema/AXLSoap.xsd" rel="nofollow" target="_blank"&gt;http://axl/schema/AXLSoap.xsd&lt;/A&gt;&lt;SPAN&gt;\" ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLRequest += "sequence=\"1234\"&amp;gt; &amp;lt;phoneName&amp;gt;SEP000000000001&amp;lt;/phoneName&amp;gt;";&lt;/P&gt;&lt;P&gt;&amp;nbsp; sAXLRequest += "&amp;lt;/axl:getPhone&amp;gt; &amp;lt;/SOAP-ENV:Body&amp;gt; &amp;lt;/SOAP-ENV:Envelope&amp;gt;";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;notes&lt;/P&gt;&lt;P&gt;#my cucm is cucm 9.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 16:00:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441154#M391</guid>
      <dc:creator>alexandersatria_Zlf</dc:creator>
      <dc:date>2015-09-17T16:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441155#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the raw request generated by the soapUI tool, based on the 9.1 WSDL (I executed it against a v10.5 CUCM, which worked).&amp;nbsp; The placement and URI of the AXL namespace is different from what you have above, also note that the &amp;lt;phoneName&amp;gt; element should &amp;lt;name&amp;gt; - your XML may be from a previous AXL version..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN&gt;POST &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ds-ucm105.cisco.com:8443/axl/" rel="nofollow" target="_blank"&gt;https://ds-ucm105.cisco.com:8443/axl/&lt;/A&gt;&lt;SPAN&gt; HTTP/1.1 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Accept-Encoding: gzip,deflate &lt;/P&gt;
&lt;P&gt;Content-Type: text/xml;charset=UTF-8 &lt;/P&gt;
&lt;P&gt;SOAPAction: "CUCM:DB ver=9.1 getPhone" &lt;/P&gt;
&lt;P&gt;Content-Length: 272 &lt;/P&gt;
&lt;P&gt;Host: ds-ucm105.cisco.com:8443 &lt;/P&gt;
&lt;P&gt;Connection: Keep-Alive &lt;/P&gt;
&lt;P&gt;User-Agent: Apache-HttpClient/4.1.1 (java 1.5) &lt;/P&gt;
&lt;P&gt;Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ= &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/9.1" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/9.1&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ns:getPhone&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;CSFDSTAUDT&amp;lt;/name&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ns:getPhone&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 17:36:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441155#M392</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-09-17T17:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Problem</title>
      <link>https://community.cisco.com/t5/management/soap-problem/m-p/3441156#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ty &lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: arial; color: #8b8b8b;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 14.4px; font-family: inherit;"&gt;dstaudt&lt;/SPAN&gt; &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's finally success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 08:30:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/soap-problem/m-p/3441156#M393</guid>
      <dc:creator>alexandersatria_Zlf</dc:creator>
      <dc:date>2015-09-18T08:30:19Z</dc:date>
    </item>
  </channel>
</rss>

