3 Replies Latest reply on Apr 24, 2014 1:58 PM by lindborg

    CUNI - subscribe ends with <faultstring>unknown</faultstring>

    andrysek1

      I'm trying to use the CUNI SOAP API to subscribe to CUC.  I followed the article Parameter values in the CUNI Subscribe Web Method,

      made a lot of attempts, but it still gives me  error <faultstring>unknown</faultstring>.

       

      The request is as follows:

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:even="http://unity.cisco.com/messageeventservice/event" xmlns:even1="http://event.messageeventservice.unity.cisco.com">

        <soapenv:Header/>

        <soapenv:Body>

          <even:subscribe>

            <even:resourceType/>

            <even:eventTypeList/>

            <even:resourceIdList/>

            <even:callbackServiceInfo>

              <even1:callbackServiceUrl>http://192.168.6.61/webmail</even1:callbackServiceUrl>

            </even:callbackServiceInfo>

            <even:expiration>2015-10-26T21:32:52</even:expiration>

          </even:subscribe>

        </soapenv:Body>

      </soapenv:Envelope>

       

      RAW data:

       

      POST /messageeventservice/services/MessageEventService HTTP/1.1

      Host: 192.168.6.169

      Authorization: Basic QWRtaW5pc3RyYXRvcjpJY2UyM3dhcnA=

      connection:close

      Content-Length: 644

      Content-Type: text/xml

      SOAPAction:

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:even="http://unity.cisco.com/messageeventservice/event" xmlns:even1="http://event.messageeventservice.unity.cisco.com"><soapenv:Header/><soapenv:Body>  <even:subscribe>    <even:resourceType/>     <even:eventTypeList/>     <even:resourceIdList/>     <even:callbackServiceInfo>        <even1:callbackServiceUrl>http://192.168.6.61/webmail</even1:callbackServiceUrl>     </even:callbackServiceInfo>     <even:expiration>2015-10-26T21:32:52</even:expiration>  </even:subscribe></soapenv:Body></soapenv:Envelope>

       

       

      The corresponding response:  (RAW)

       

      HTTP/1.1 500 Internal Server Error

      Content-Type: text/xml;charset=UTF-8

      Transfer-Encoding: chunked

      Date: Thu, 03 Apr 2014 07:11:44 GMT

      Connection: close

      Server: 

       

      112

      <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>unknown</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

       

      Please do you have any hints how to solve this?

       

      Thanks

       

      Josef Andrysek