none
Lync 2013 and internal IOS mobility

    Question

  • Hi

    I've asked several questions regarding Lync 2013 and have learned a great deal but there is one issue that is really causing me grief.

    Lync 2013 Standard server.  No external access.  Desktop 2010 and 2013 clients work in every way.

    I have a IOS6 iPad which has both Lync 2010 and Lync 2013 mobile clients installed.  This iPad connects on an internal WiFi connection which provide all the DNS lookups required.  If I connect with the Lync 2010 iPad client, I can connect with no issues.  However the 2013 iPad client will not connect - message is "Can't connect to the server.  It may be busy or temporarily unavailable.  Please try again"

    Why is the 2013 client not able to connect yet the 2010 client can connect with no problems.  Has the connection method changed drastically??

    Note - I have no reverse proxy or Edge gateway installed - my thoughts are that if the 2010 client works then the problem is linked with the newer client?


    I've exported the logs from the iPad :

    There is the following reference -  

    <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

      <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

    I've checked permissions on the web ticket folders and authenticated users has read/execute access



    Thanks





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

    </SentRequest>

    HttpHeader:Content-Length 1293
    HttpHeader:Content-Type text/html
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 401
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-MS-WebTicketSupported cwt,saml
    HttpHeader:X-MS-WebTicketURL https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc
    HttpHeader:X-Powered-By ASP.NET

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

    <title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

    <style type="text/css">

    <!--

    body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

    fieldset{padding:0 15px 10px 15px;} 

    h1{font-size:2.4em;margin:0;color:#FFF;}

    h2{font-size:1.7em;margin:0;color:#CC0000;} 

    h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 

    #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;

    background-color:#555555;}

    #content{margin:0 0 0 2%;;}

    .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}

    -->

    </style>

    </head>

    <body>

    <div id="header"><h1>Server Error</h1></div>

    <div id="content">

     <div class="content-container"><fieldset>

      <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

      <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

     </fieldset></div>

    </div>

    </body>

    </html>


    </ReceivedResponse>
    2013-07-24 13:56:36.363 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x14adf28)
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/630:Received response for meta data request of type 60 with status 0
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/742:Base service url constructed from unauth-get-response is https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/796:Added a binding based on the unauth-get response
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/524:MetaData retrieval for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications completed with status 0
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/553:Deleting 1 pended Meta data requests for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/584:Executing request after meta data successfully retrieved
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 0 for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CCredentialManager.cpp/164:getSpecificCredential for serviceId(1) returning: credType (1) signInName (operator@qvh.nhs.uk) domain (qvh) username (operator) password.empty() (0) compatibleServiceIds(1)
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/349:No Cached web-ticket found.
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/393:Received request for a new token for https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 2 for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.366 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component WebTicketSession on sign-out.
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/534:Sending Mex request get the meta data for the endpoint
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CTransportThread.cpp/129:Added Request(MetaDataRequest) to Request Processor queue
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/417:Waiting on Meta Data from https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.366 Lync[317:b72c000] INFO TRANSPORT CTransportThread.cpp/341:Sent Request(MetaDataRequest) to Request Processor
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/202:Waiting on the token
    2013-07-24 13:56:36.366 Lync[317:b72c000] WARNING TRANSPORT CCredentialManager.cpp/292:CCredentialManager::getSpecificCredential returning NULL credential!
    2013-07-24 13:56:36.367 Lync[317:b72c000] INFO TRANSPORT TransportUtilityFunctions.cpp/638:<SentRequest>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex
    Request Id: 0x9431548
    HttpHeader:Accept text/xml, application/soap+xml, application/octet-stream
    HttpHeader:Content-Type application/soap+xml; charset=utf-8

    <soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soap12:Header><wsa:Action soap12:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:To soap12:mustUnderstand="1">https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc</wsa:To></soap12:Header><soap12:Body/></soap12:Envelope>
    </SentRequest>

    2013-07-24 13:56:36.367 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x7f8fcd0 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex with persistent id as 14
    2013-07-24 13:56:36.368 Lync[317:b72c000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex. Sending over direct connection.
    2013-07-24 13:56:36.368 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b77e70.
    2013-07-24 13:56:36.422 Lync[317:b72c000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (MetaDataRequest)isHeadersAvailable = true  responseHeadersHandle = 7f0a680
    2013-07-24 13:56:36.422 Lync[317:b72c000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 200 for request MetaDataRequest
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x7f8fcd0 for release.
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/173:Received response of request(MetaDataRequest) with status = 0x0
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO TRANSPORT TransportUtilityFunctions.cpp/907:<ReceivedResponse>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex
    Request Id: 0x9431548
    HttpHeader:Cache-Control private
    HttpHeader:Content-Length 20843
    HttpHeader:Content-Type application/soap+xml; charset=utf-8
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 200
    HttpHeader:X-AspNet-Version 4.0.30319
    HttpHeader:X-Content-Type-Options nosniff
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-Powered-By ASP.NET

    <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse</a:Action></s:Header><s:Body><Metadata xmlns="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsx:MetadataSection Dialect="http://schemas.xmlsoap.org/wsdl/" Identifier="http://tempuri.org/" xmlns=""><wsdl:definitions name="WebTicketService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="WebTicketServiceMachineCert_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:RequireThumbprintReference/><sp:WssX509V3Token10/></wsp:Policy></sp:X509Token><sp:SignedParts><sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/></sp:SignedParts></wsp:Policy></sp:EndorsingSupportingTokens><sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportRefThumbprint/></wsp:Policy></sp:Wss11><sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportIssuedTokens/><sp:RequireClientEntropy/><sp:RequireServerEntropy/></wsp:Policy></sp:Trust10><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="OAuth_policy"><wsp:ExactlyOne><wsp:All><http:OAuth xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceAnon_policy"><wsp:ExactlyOne><wsp:All><af:AnonAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Lax/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding><sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/></wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedSupportingTokens><sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy/></sp:Wss10></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceWinNegotiate_policy"><wsp:ExactlyOne><wsp:All><http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceCert_policy"><wsp:ExactlyOne><wsp:All><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:RequireThumbprintReference/><sp:WssX509V3Token10/></wsp:Policy></sp:X509Token><sp:SignedParts><sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/></sp:SignedParts></wsp:Policy></sp:EndorsingSupportingTokens><sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportRefThumbprint/></wsp:Policy></sp:Wss11><sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportIssuedTokens/><sp:RequireClientEntropy/><sp:RequireServerEntropy/></wsp:Policy></sp:Trust10><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServicePin_policy"><wsp:ExactlyOne><wsp:All><http:BasicAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:PinAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceAuth_policy"><wsp:ExactlyOne><wsp:All><af:FormsAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Lax/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding><sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/></wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedSupportingTokens><sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy/></sp:Wss10></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import namespace="http://schemas.microsoft.com/Message"/><xsd:import namespace="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xsd:schema></wsdl:types><wsdl:message name="IWebTicketService_IssueToken_InputMessage"><wsdl:part name="rst" type="q1:MessageBody" xmlns:q1="http://schemas.microsoft.com/Message"/></wsdl:message><wsdl:message name="IWebTicketService_IssueToken_OutputMessage"><wsdl:part name="IssueTokenResult" type="q2:MessageBody" xmlns:q2="http://schemas.microsoft.com/Message"/></wsdl:message><wsdl:message name="IWebTicketService_IssueToken_OCSDiagnosticsFaultFault_FaultMessage"><wsdl:part name="detail" element="q3:OCSDiagnosticsFault" xmlns:q3="urn:component:Microsoft.Rtc.WebAuthentication.2010"/></wsdl:message><wsdl:portType name="IWebTicketService"><wsdl:operation name="IssueToken"><wsdl:input wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" message="tns:IWebTicketService_IssueToken_InputMessage"/><wsdl:output wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal" message="tns:IWebTicketService_IssueToken_OutputMessage"/><wsdl:fault wsaw:Action="http://tempuri.org/IWebTicketService/IssueTokenOCSDiagnosticsFaultFault" name="OCSDiagnosticsFaultFault" message="tns:IWebTicketService_IssueToken_OCSDiagnosticsFaultFault_FaultMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="WebTicketServiceMachineCert" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceMachineCert_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="OAuth" type="tns:IWebTicketService"><wsp:PolicyReference URI="#OAuth_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceAnon" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceAnon_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceWinNegotiate" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceWinNegotiate_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceCert" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceCert_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServicePin" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServicePin_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceAuth" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceAuth_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="WebTicketService"><wsdl:port name="WebTicketServiceMachineCert" binding="tns:WebTicketServiceMachineCert"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/MachineCert"/><wsa10:EndpointReference><wsa10:Address>https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/MachineCert</wsa10:Address></wsa10:EndpointReference></wsdl:port><wsdl:port name="OAuth" binding="tns:OAuth"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/OAuth"/></wsdl:port><wsdl:port name="WebTicketServiceAnon" binding="tns:WebTicketServiceAnon"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/Anon"/></wsdl:port><wsdl:port name="WebTicketServiceWinNegotiate" binding="tns:WebTicketServiceWinNegotiate"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc"/></wsdl:port><wsdl:port name="WebTicketServiceCert" binding="tns:WebTicketServiceCert"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/cert"/><wsa10:EndpointReference><wsa10:Address>https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/cert</wsa10:Address></wsa10:EndpointReference></wsdl:port><wsdl:port name="WebTicketServicePin" binding="tns:WebTicketServicePin"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/pin"/></wsdl:port><wsdl:port name="WebTicketServiceAuth" binding="tns:WebTicketServiceAuth"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/Auth"/></wsdl:port></wsdl:service></wsdl:definitions></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/Message" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/Message" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/Message"><xs:complexType name="MessageBody"><xs:sequence><xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/></xs:sequence></xs:complexType></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/2003/10/Serialization/" xmlns=""><xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:element name="anyType" nillable="true" type="xs:anyType"/><xs:element name="anyURI" nillable="true" type="xs:anyURI"/><xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/><xs:element name="boolean" nillable="true" type="xs:boolean"/><xs:element name="byte" nillable="true" type="xs:byte"/><xs:element name="dateTime" nillable="true" type="xs:dateTime"/><xs:element name="decimal" nillable="true" type="xs:decimal"/><xs:element name="double" nillable="true" type="xs:double"/><xs:element name="float" nillable="true" type="xs:float"/><xs:element name="int" nillable="true" type="xs:int"/><xs:element name="long" nillable="true" type="xs:long"/><xs:element name="QName" nillable="true" type="xs:QName"/><xs:element name="short" nillable="true" type="xs:short"/><xs:element name="string" nillable="true" type="xs:string"/><xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/><xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/><xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/><xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/><xs:element name="char" nillable="true" type="tns:char"/><xs:simpleType name="char"><xs:restriction base="xs:int"/></xs:simpleType><xs:element name="duration" nillable="true" type="tns:duration"/><xs:simpleType name="duration"><xs:restriction base="xs:duration"><xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/><xs:minInclusive value="-P10675199DT2H48M5.4775808S"/><xs:maxInclusive value="P10675199DT2H48M5.4775807S"/></xs:restriction></xs:simpleType><xs:element name="guid" nillable="true" type="tns:guid"/><xs:simpleType name="guid"><xs:restriction base="xs:string"><xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/></xs:restriction></xs:simpleType><xs:attribute name="FactoryType" type="xs:QName"/><xs:attribute name="Id" type="xs:ID"/><xs:attribute name="Ref" type="xs:IDREF"/></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:component:Microsoft.Rtc.WebAuthentication.2010"><xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xs:complexType name="OCSDiagnosticsFault"><xs:sequence><xs:element minOccurs="0" name="Ms-Diagnostics-Fault" nillable="true" type="tns:FaultMsDiagnosticsMetaData"/><xs:element minOccurs="0" name="NameValuePairs" nillable="true" type="q1:ArrayOfKeyValueOfstringstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xs:sequence></xs:complexType><xs:element name="OCSDiagnosticsFault" nillable="true" type="tns:OCSDiagnosticsFault"/><xs:complexType name="FaultMsDiagnosticsMetaData"><xs:sequence><xs:element minOccurs="0" name="ErrorId" type="xs:unsignedInt"/><xs:element minOccurs="0" name="Reason" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element name="FaultMsDiagnosticsMetaData" nillable="true" type="tns:FaultMsDiagnosticsMetaData"/></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><xs:complexType name="ArrayOfKeyValueOfstringstring"><xs:annotation><xs:appinfo><IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary></xs:appinfo></xs:annotation><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringstring"><xs:complexType><xs:sequence><xs:element name="Key" nillable="true" type="xs:string"/><xs:element name="Value" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element></xs:sequence></xs:complexType><xs:element name="ArrayOfKeyValueOfstringstring" nillable="true" type="tns:ArrayOfKeyValueOfstringstring"/></xs:schema></wsx:MetadataSection></Metadata></s:Body></s:Envelope>
    </ReceivedResponse>
    2013-07-24 13:56:36.425 Lync[317:b72c000] INFO TRANSPORT CMetaDataRequest.cpp/90:MEX response received.
    2013-07-24 13:56:36.439 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x9431548)
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/630:Received response for meta data request of type 30 with status 0
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/524:MetaData retrieval for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc completed with status 0
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/553:Deleting 1 pended Meta data requests for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/584:Executing request after meta data successfully retrieved
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 2 for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CCredentialManager.cpp/164:getSpecificCredential for serviceId(1) returning: credType (1) signInName (operator@qvh.nhs.uk) domain (qvh) username (operator) password.empty() (0) compatibleServiceIds(1)
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CTransportThread.cpp/129:Added Request(WebTicketRequest) to Request Processor queue
    2013-07-24 13:56:36.441 Lync[317:b7ae000] INFO TRANSPORT CTransportThread.cpp/341:Sent Request(WebTicketRequest) to Request Processor
    2013-07-24 13:56:36.441 Lync[317:b7ae000] WARNING TRANSPORT CCredentialManager.cpp/292:CCredentialManager::getSpecificCredential returning NULL credential!
    2013-07-24 13:56:36.442 Lync[317:b7ae000] INFO TRANSPORT TransportUtilityFunctions.cpp/638:<SentRequest>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    Request Id: 0x1481c78
    HttpHeader:Accept text/xml, application/soap+xml, application/octet-stream
    HttpHeader:Content-Type text/xml; charset=utf-8
    HttpHeader:SOAPAction http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><wst:RequestSecurityToken xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" Context="40deb7fd-0bea-4f8d-9d7e-47bf55f723a7"><wst:TokenType>urn:component:Microsoft.Rtc.WebAuthentication.2010:user-cwt-1</wst:TokenType><wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType><wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"><wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Address>https://lyncweb.qvh.nhs.uk/ucwa/v1/applications</wsa:Address></wsa:EndpointReference></wsp:AppliesTo><wst:Entropy><wst:BinarySecret>XXXXXXXXXX</wst:BinarySecret></wst:Entropy><wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</wst:KeyType></wst:RequestSecurityToken></soap:Body></soap:Envelope>
    </SentRequest>

    2013-07-24 13:56:36.443 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x8b129f0 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.443 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.466 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 8b06f20
    2013-07-24 13:56:36.467 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 401 for request WebTicketRequest
    2013-07-24 13:56:36.468 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x8b129f0 for release.
    2013-07-24 13:56:36.468 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x118b460 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.468 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.469 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b129f0.
    2013-07-24 13:56:36.477 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 7f46b20
    2013-07-24 13:56:36.478 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 401 for request WebTicketRequest
    2013-07-24 13:56:36.478 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x118b460 for release.
    2013-07-24 13:56:36.479 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x8b08900 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.479 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.479 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x118b460.
    2013-07-24 13:56:36.507 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 7fa1590
    2013-07-24 13:56:36.508 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 500 for request WebTicketRequest
    2013-07-24 13:56:36.508 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x8b08900 for release.
    2013-07-24 13:56:36.509 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/173:Received response of request(WebTicketRequest) with status = 0x0
    2013-07-24 13:56:36.509 Lync[317:b7ae000] INFO TRANSPORT TransportUtilityFunctions.cpp/907:<ReceivedResponse>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    Request Id: 0x1481c78
    HttpHeader:Cache-Control private
    HttpHeader:Content-Length 765
    HttpHeader:Content-Type text/xml; charset=utf-8
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Persistent-Auth true
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 500
    HttpHeader:X-AspNet-Version 4.0.30319
    HttpHeader:X-Content-Type-Options nosniff
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-Powered-By ASP.NET

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://docs.oasis-open.org/ws-sx/ws-trust/200512">a:InvalidScope</faultcode><faultstring xml:lang="en-GB">The AppliesTo element of web ticket request points to a different web server or site.</faultstring><detail><OCSDiagnosticsFault xmlns="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Ms-Diagnostics-Fault><ErrorId>28037</ErrorId><Reason>The AppliesTo element of web ticket request points to a different web server or site.</Reason></Ms-Diagnostics-Fault><NameValuePairs xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></OCSDiagnosticsFault></detail></s:Fault></s:Body></s:Envelope>
    </ReceivedResponse>
    2013-07-24 13:56:36.510 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x1481c78)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/441:Received webticket resposne with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/1206:Raising WebTicketEvent for https://lyncweb.qvh.nhs.uk/ucwa/v1/applications and https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/639:Web-Ticket retrieval for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications completed with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] ERROR TRANSPORT CAuthenticationResolver.cpp/703:Failing the original request as we weren't able to get thewebticket
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CRequestManager.cpp/119:Failing secure request  with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/64:Alert received! Category 2, Type 300, level 2, error E_InternalServerError (E2-3-13), context '', hasAction=false
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 300, cleared 0 alerts
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/683:Response received for req. POST-Application(0x8b61878): E_InternalServerError (E2-3-13) (RemoteNetworkTemporaryError); (Re-)Queuing req.; Schedule retrial in 91sec.
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/93:ObservableListItem Added event received
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/103:showalert is 1
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/612:desired view is alert, size 1
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/652:adding the desired view
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/405:reposition floating views
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/110:showalert is 1
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/114:showalert is 0
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMUIUtil.mm/394:Mapping error code = 0x2203000d, context = , type = 300
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMUIUtil.mm/1598:Mapped error message is 'Can’t connect to the server. It may be busy or temporarily unavailable. Please try again. 
    2013-07-24 13:56:36.514 Lync[317:3c231b78] ERROR UI CMDismissButtonBaseViewController.mm/89:before: view height 45.000000, width 768.000000, x 0.000000, y 64.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/993:viewFrame: origin x 0.000000, origin y 64.000000, height 45.000000, width 768.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/1099:resize alert label, origin x 44.000000, origin y 2.000000, height 41.000000, width 680.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] ERROR UI CMDismissButtonBaseViewController.mm/104:after: self.label.frame height 41.000000, width 680.000000, x 44.000000, y 2.000000
    2013-07-24 13:56:38.334 Lync[317:3c231b78] INFO APPLICATION CUcwaDataSynchronizer.cpp/996:Mode 1 scheduled to timeout in 120sec
    2013-07-24 13:56:44.604 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/469:Called signOut() in state 2
    2013-07-24 13:56:44.605 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 300, cleared 1 alerts
    2013-07-24 13:56:44.606 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 301, cleared 0 alerts
    2013-07-24 13:56:44.606 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 302, cleared 0 alerts
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/526:Timer cancelled. OnResume = 0
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 1, Type 201, cleared 0 alerts
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/952:CUcwaAppSession canceling all requests
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/361:Cancelling all requests
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/371:Cancelling request: 0x8b61878
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/975:CUcwaAppSession::setNewActualState() state=0
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO UTILITIES CiOsAppStateQuery.h/147:Clearing keep-alive timer callback
    2013-07-24 13:56:44.608 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component WebTicketSession on sign-out.
    2013-07-24 13:56:44.608 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component MetaDataManager on sign-out.
    2013-07-24 13:56:44.608 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b08900.
    2013-07-24 13:56:44.608 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x7f8fcd0.
    2013-07-24 13:56:44.611 Lync[317:3c231b78] INFO APPLICATION CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/526:Timer cancelled. OnResume = 0
    2013-07-24 13:56:44.642 Lync[317:3c231b78] INFO APPLICATION CBasePersistableEntity.cpp/177:Storing 1 out-of-sync Object Models took 4ms
    2013-07-24 13:56:44.642 Lync[317:3c231b78] INFO APPLICATION CPresenceSubscription.cpp/772:Removed 0 success records, current size is 0
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/99:ObservableListItem Removed event received
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/103:showalert is 1
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in

    Persevere, Persevere, Per..

    Wednesday, July 24, 2013 1:47 PM

Answers

All replies

  • Hi

    I've asked several questions regarding Lync 2013 and have learned a great deal but there is one issue that is really causing me grief.

    Lync 2013 Standard server.  No external access.  Desktop 2010 and 2013 clients work in every way.

    I have a IOS6 iPad which has both Lync 2010 and Lync 2013 mobile clients installed.  This iPad connects on an internal WiFi connection which provide all the DNS lookups required.  If I connect with the Lync 2010 iPad client, I can connect with no issues.  However the 2013 iPad client will not connect - message is "Can't connect to the server.  It may be busy or temporarily unavailable.  Please try again"

    Why is the 2013 client not able to connect yet the 2010 client can connect with no problems.  Has the connection method changed drastically??

    Note - I have no reverse proxy or Edge gateway installed - my thoughts are that if the 2010 client works then the problem is linked with the newer client?


    I've exported the logs from the iPad :

    There is the following reference -  

    <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

      <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

    I've checked permissions on the web ticket folders and authenticated users has read/execute access



    Thanks





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

    </SentRequest>

    HttpHeader:Content-Length 1293
    HttpHeader:Content-Type text/html
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 401
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-MS-WebTicketSupported cwt,saml
    HttpHeader:X-MS-WebTicketURL https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc
    HttpHeader:X-Powered-By ASP.NET

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

    <title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

    <style type="text/css">

    <!--

    body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

    fieldset{padding:0 15px 10px 15px;} 

    h1{font-size:2.4em;margin:0;color:#FFF;}

    h2{font-size:1.7em;margin:0;color:#CC0000;} 

    h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 

    #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;

    background-color:#555555;}

    #content{margin:0 0 0 2%;;}

    .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}

    -->

    </style>

    </head>

    <body>

    <div id="header"><h1>Server Error</h1></div>

    <div id="content">

     <div class="content-container"><fieldset>

      <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

      <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

     </fieldset></div>

    </div>

    </body>

    </html>


    </ReceivedResponse>
    2013-07-24 13:56:36.363 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x14adf28)
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/630:Received response for meta data request of type 60 with status 0
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/742:Base service url constructed from unauth-get-response is https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/796:Added a binding based on the unauth-get response
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/524:MetaData retrieval for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications completed with status 0
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/553:Deleting 1 pended Meta data requests for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.364 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/584:Executing request after meta data successfully retrieved
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 0 for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CCredentialManager.cpp/164:getSpecificCredential for serviceId(1) returning: credType (1) signInName (operator@qvh.nhs.uk) domain (qvh) username (operator) password.empty() (0) compatibleServiceIds(1)
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/349:No Cached web-ticket found.
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/393:Received request for a new token for https://lyncweb.qvh.nhs.uk/ucwa/v1/applications
    2013-07-24 13:56:36.365 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 2 for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.366 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component WebTicketSession on sign-out.
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/534:Sending Mex request get the meta data for the endpoint
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CTransportThread.cpp/129:Added Request(MetaDataRequest) to Request Processor queue
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/417:Waiting on Meta Data from https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.366 Lync[317:b72c000] INFO TRANSPORT CTransportThread.cpp/341:Sent Request(MetaDataRequest) to Request Processor
    2013-07-24 13:56:36.366 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/202:Waiting on the token
    2013-07-24 13:56:36.366 Lync[317:b72c000] WARNING TRANSPORT CCredentialManager.cpp/292:CCredentialManager::getSpecificCredential returning NULL credential!
    2013-07-24 13:56:36.367 Lync[317:b72c000] INFO TRANSPORT TransportUtilityFunctions.cpp/638:<SentRequest>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex
    Request Id: 0x9431548
    HttpHeader:Accept text/xml, application/soap+xml, application/octet-stream
    HttpHeader:Content-Type application/soap+xml; charset=utf-8

    <soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soap12:Header><wsa:Action soap12:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:To soap12:mustUnderstand="1">https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc</wsa:To></soap12:Header><soap12:Body/></soap12:Envelope>
    </SentRequest>

    2013-07-24 13:56:36.367 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x7f8fcd0 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex with persistent id as 14
    2013-07-24 13:56:36.368 Lync[317:b72c000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex. Sending over direct connection.
    2013-07-24 13:56:36.368 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b77e70.
    2013-07-24 13:56:36.422 Lync[317:b72c000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (MetaDataRequest)isHeadersAvailable = true  responseHeadersHandle = 7f0a680
    2013-07-24 13:56:36.422 Lync[317:b72c000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 200 for request MetaDataRequest
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x7f8fcd0 for release.
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/173:Received response of request(MetaDataRequest) with status = 0x0
    2013-07-24 13:56:36.423 Lync[317:b72c000] INFO TRANSPORT TransportUtilityFunctions.cpp/907:<ReceivedResponse>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc/mex
    Request Id: 0x9431548
    HttpHeader:Cache-Control private
    HttpHeader:Content-Length 20843
    HttpHeader:Content-Type application/soap+xml; charset=utf-8
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 200
    HttpHeader:X-AspNet-Version 4.0.30319
    HttpHeader:X-Content-Type-Options nosniff
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-Powered-By ASP.NET

    <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse</a:Action></s:Header><s:Body><Metadata xmlns="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsx:MetadataSection Dialect="http://schemas.xmlsoap.org/wsdl/" Identifier="http://tempuri.org/" xmlns=""><wsdl:definitions name="WebTicketService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa10="http://www.w3.org/2005/08/addressing"><wsp:Policy wsu:Id="WebTicketServiceMachineCert_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:RequireThumbprintReference/><sp:WssX509V3Token10/></wsp:Policy></sp:X509Token><sp:SignedParts><sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/></sp:SignedParts></wsp:Policy></sp:EndorsingSupportingTokens><sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportRefThumbprint/></wsp:Policy></sp:Wss11><sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportIssuedTokens/><sp:RequireClientEntropy/><sp:RequireServerEntropy/></wsp:Policy></sp:Trust10><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="OAuth_policy"><wsp:ExactlyOne><wsp:All><http:OAuth xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceAnon_policy"><wsp:ExactlyOne><wsp:All><af:AnonAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Lax/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding><sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/></wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedSupportingTokens><sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy/></sp:Wss10></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceWinNegotiate_policy"><wsp:ExactlyOne><wsp:All><http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceCert_policy"><wsp:ExactlyOne><wsp:All><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:RequireThumbprintReference/><sp:WssX509V3Token10/></wsp:Policy></sp:X509Token><sp:SignedParts><sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/></sp:SignedParts></wsp:Policy></sp:EndorsingSupportingTokens><sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportRefThumbprint/></wsp:Policy></sp:Wss11><sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:MustSupportIssuedTokens/><sp:RequireClientEntropy/><sp:RequireServerEntropy/></wsp:Policy></sp:Trust10><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServicePin_policy"><wsp:ExactlyOne><wsp:All><http:BasicAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/><af:PinAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy><wsp:Policy wsu:Id="WebTicketServiceAuth_policy"><wsp:ExactlyOne><wsp:All><af:FormsAuthentication xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><af:Binding xmlns:af="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Lax/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding><sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy><sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/></wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedSupportingTokens><sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"><wsp:Policy/></sp:Wss10></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import namespace="http://schemas.microsoft.com/Message"/><xsd:import namespace="urn:component:Microsoft.Rtc.WebAuthentication.2010"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xsd:schema></wsdl:types><wsdl:message name="IWebTicketService_IssueToken_InputMessage"><wsdl:part name="rst" type="q1:MessageBody" xmlns:q1="http://schemas.microsoft.com/Message"/></wsdl:message><wsdl:message name="IWebTicketService_IssueToken_OutputMessage"><wsdl:part name="IssueTokenResult" type="q2:MessageBody" xmlns:q2="http://schemas.microsoft.com/Message"/></wsdl:message><wsdl:message name="IWebTicketService_IssueToken_OCSDiagnosticsFaultFault_FaultMessage"><wsdl:part name="detail" element="q3:OCSDiagnosticsFault" xmlns:q3="urn:component:Microsoft.Rtc.WebAuthentication.2010"/></wsdl:message><wsdl:portType name="IWebTicketService"><wsdl:operation name="IssueToken"><wsdl:input wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" message="tns:IWebTicketService_IssueToken_InputMessage"/><wsdl:output wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal" message="tns:IWebTicketService_IssueToken_OutputMessage"/><wsdl:fault wsaw:Action="http://tempuri.org/IWebTicketService/IssueTokenOCSDiagnosticsFaultFault" name="OCSDiagnosticsFaultFault" message="tns:IWebTicketService_IssueToken_OCSDiagnosticsFaultFault_FaultMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="WebTicketServiceMachineCert" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceMachineCert_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="OAuth" type="tns:IWebTicketService"><wsp:PolicyReference URI="#OAuth_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceAnon" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceAnon_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceWinNegotiate" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceWinNegotiate_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceCert" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceCert_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServicePin" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServicePin_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding name="WebTicketServiceAuth" type="tns:IWebTicketService"><wsp:PolicyReference URI="#WebTicketServiceAuth_policy"/><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="IssueToken"><soap:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output><wsdl:fault name="OCSDiagnosticsFaultFault"><soap:fault name="OCSDiagnosticsFaultFault" use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="WebTicketService"><wsdl:port name="WebTicketServiceMachineCert" binding="tns:WebTicketServiceMachineCert"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/MachineCert"/><wsa10:EndpointReference><wsa10:Address>https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/MachineCert</wsa10:Address></wsa10:EndpointReference></wsdl:port><wsdl:port name="OAuth" binding="tns:OAuth"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/OAuth"/></wsdl:port><wsdl:port name="WebTicketServiceAnon" binding="tns:WebTicketServiceAnon"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/Anon"/></wsdl:port><wsdl:port name="WebTicketServiceWinNegotiate" binding="tns:WebTicketServiceWinNegotiate"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc"/></wsdl:port><wsdl:port name="WebTicketServiceCert" binding="tns:WebTicketServiceCert"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/cert"/><wsa10:EndpointReference><wsa10:Address>https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/cert</wsa10:Address></wsa10:EndpointReference></wsdl:port><wsdl:port name="WebTicketServicePin" binding="tns:WebTicketServicePin"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/pin"/></wsdl:port><wsdl:port name="WebTicketServiceAuth" binding="tns:WebTicketServiceAuth"><soap:address location="https://lyncsrv1.xqvh.nhs.uk/WebTicket/WebTicketService.svc/Auth"/></wsdl:port></wsdl:service></wsdl:definitions></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/Message" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/Message" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/Message"><xs:complexType name="MessageBody"><xs:sequence><xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/></xs:sequence></xs:complexType></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/2003/10/Serialization/" xmlns=""><xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:element name="anyType" nillable="true" type="xs:anyType"/><xs:element name="anyURI" nillable="true" type="xs:anyURI"/><xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/><xs:element name="boolean" nillable="true" type="xs:boolean"/><xs:element name="byte" nillable="true" type="xs:byte"/><xs:element name="dateTime" nillable="true" type="xs:dateTime"/><xs:element name="decimal" nillable="true" type="xs:decimal"/><xs:element name="double" nillable="true" type="xs:double"/><xs:element name="float" nillable="true" type="xs:float"/><xs:element name="int" nillable="true" type="xs:int"/><xs:element name="long" nillable="true" type="xs:long"/><xs:element name="QName" nillable="true" type="xs:QName"/><xs:element name="short" nillable="true" type="xs:short"/><xs:element name="string" nillable="true" type="xs:string"/><xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/><xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/><xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/><xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/><xs:element name="char" nillable="true" type="tns:char"/><xs:simpleType name="char"><xs:restriction base="xs:int"/></xs:simpleType><xs:element name="duration" nillable="true" type="tns:duration"/><xs:simpleType name="duration"><xs:restriction base="xs:duration"><xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/><xs:minInclusive value="-P10675199DT2H48M5.4775808S"/><xs:maxInclusive value="P10675199DT2H48M5.4775807S"/></xs:restriction></xs:simpleType><xs:element name="guid" nillable="true" type="tns:guid"/><xs:simpleType name="guid"><xs:restriction base="xs:string"><xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/></xs:restriction></xs:simpleType><xs:attribute name="FactoryType" type="xs:QName"/><xs:attribute name="Id" type="xs:ID"/><xs:attribute name="Ref" type="xs:IDREF"/></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:component:Microsoft.Rtc.WebAuthentication.2010"><xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xs:complexType name="OCSDiagnosticsFault"><xs:sequence><xs:element minOccurs="0" name="Ms-Diagnostics-Fault" nillable="true" type="tns:FaultMsDiagnosticsMetaData"/><xs:element minOccurs="0" name="NameValuePairs" nillable="true" type="q1:ArrayOfKeyValueOfstringstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xs:sequence></xs:complexType><xs:element name="OCSDiagnosticsFault" nillable="true" type="tns:OCSDiagnosticsFault"/><xs:complexType name="FaultMsDiagnosticsMetaData"><xs:sequence><xs:element minOccurs="0" name="ErrorId" type="xs:unsignedInt"/><xs:element minOccurs="0" name="Reason" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element name="FaultMsDiagnosticsMetaData" nillable="true" type="tns:FaultMsDiagnosticsMetaData"/></xs:schema></wsx:MetadataSection><wsx:MetadataSection Dialect="http://www.w3.org/2001/XMLSchema" Identifier="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns=""><xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><xs:complexType name="ArrayOfKeyValueOfstringstring"><xs:annotation><xs:appinfo><IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary></xs:appinfo></xs:annotation><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringstring"><xs:complexType><xs:sequence><xs:element name="Key" nillable="true" type="xs:string"/><xs:element name="Value" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element></xs:sequence></xs:complexType><xs:element name="ArrayOfKeyValueOfstringstring" nillable="true" type="tns:ArrayOfKeyValueOfstringstring"/></xs:schema></wsx:MetadataSection></Metadata></s:Body></s:Envelope>
    </ReceivedResponse>
    2013-07-24 13:56:36.425 Lync[317:b72c000] INFO TRANSPORT CMetaDataRequest.cpp/90:MEX response received.
    2013-07-24 13:56:36.439 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x9431548)
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/630:Received response for meta data request of type 30 with status 0
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/524:MetaData retrieval for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc completed with status 0
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/553:Deleting 1 pended Meta data requests for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.440 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/584:Executing request after meta data successfully retrieved
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CMetaDataManager.cpp/468:Received a request to get the meta data of type 2 for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CCredentialManager.cpp/164:getSpecificCredential for serviceId(1) returning: credType (1) signInName (operator@qvh.nhs.uk) domain (qvh) username (operator) password.empty() (0) compatibleServiceIds(1)
    2013-07-24 13:56:36.441 Lync[317:3c231b78] INFO TRANSPORT CTransportThread.cpp/129:Added Request(WebTicketRequest) to Request Processor queue
    2013-07-24 13:56:36.441 Lync[317:b7ae000] INFO TRANSPORT CTransportThread.cpp/341:Sent Request(WebTicketRequest) to Request Processor
    2013-07-24 13:56:36.441 Lync[317:b7ae000] WARNING TRANSPORT CCredentialManager.cpp/292:CCredentialManager::getSpecificCredential returning NULL credential!
    2013-07-24 13:56:36.442 Lync[317:b7ae000] INFO TRANSPORT TransportUtilityFunctions.cpp/638:<SentRequest>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    Request Id: 0x1481c78
    HttpHeader:Accept text/xml, application/soap+xml, application/octet-stream
    HttpHeader:Content-Type text/xml; charset=utf-8
    HttpHeader:SOAPAction http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><wst:RequestSecurityToken xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" Context="40deb7fd-0bea-4f8d-9d7e-47bf55f723a7"><wst:TokenType>urn:component:Microsoft.Rtc.WebAuthentication.2010:user-cwt-1</wst:TokenType><wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType><wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"><wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Address>https://lyncweb.qvh.nhs.uk/ucwa/v1/applications</wsa:Address></wsa:EndpointReference></wsp:AppliesTo><wst:Entropy><wst:BinarySecret>XXXXXXXXXX</wst:BinarySecret></wst:Entropy><wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</wst:KeyType></wst:RequestSecurityToken></soap:Body></soap:Envelope>
    </SentRequest>

    2013-07-24 13:56:36.443 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x8b129f0 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.443 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.466 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 8b06f20
    2013-07-24 13:56:36.467 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 401 for request WebTicketRequest
    2013-07-24 13:56:36.468 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x8b129f0 for release.
    2013-07-24 13:56:36.468 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x118b460 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.468 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.469 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b129f0.
    2013-07-24 13:56:36.477 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 7f46b20
    2013-07-24 13:56:36.478 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 401 for request WebTicketRequest
    2013-07-24 13:56:36.478 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x118b460 for release.
    2013-07-24 13:56:36.479 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/409:Allocating stream 0x8b08900 for url - https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with persistent id as 0
    2013-07-24 13:56:36.479 Lync[317:b7ae000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/450:CHttpProxyHelper::discoverProxy : No proxy found for url https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc. Sending over direct connection.
    2013-07-24 13:56:36.479 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x118b460.
    2013-07-24 13:56:36.507 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/548:Received kCFStreamEventEndEncountered (WebTicketRequest)isHeadersAvailable = true  responseHeadersHandle = 7fa1590
    2013-07-24 13:56:36.508 Lync[317:b7ae000] INFO UTILITIES CHttpConnection.cpp/599:Response status = 500 for request WebTicketRequest
    2013-07-24 13:56:36.508 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/455:Scheduling stream 0x8b08900 for release.
    2013-07-24 13:56:36.509 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/173:Received response of request(WebTicketRequest) with status = 0x0
    2013-07-24 13:56:36.509 Lync[317:b7ae000] INFO TRANSPORT TransportUtilityFunctions.cpp/907:<ReceivedResponse>
    POST https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc
    Request Id: 0x1481c78
    HttpHeader:Cache-Control private
    HttpHeader:Content-Length 765
    HttpHeader:Content-Type text/xml; charset=utf-8
    HttpHeader:Date Wed, 24 Jul 2013 12:56:33 GMT
    HttpHeader:Persistent-Auth true
    HttpHeader:Server Microsoft-IIS/7.5
    HttpHeader:StatusCode 500
    HttpHeader:X-AspNet-Version 4.0.30319
    HttpHeader:X-Content-Type-Options nosniff
    HttpHeader:X-MS-Server-Fqdn LYNCSRV1.xqvh.nhs.uk
    HttpHeader:X-Powered-By ASP.NET

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://docs.oasis-open.org/ws-sx/ws-trust/200512">a:InvalidScope</faultcode><faultstring xml:lang="en-GB">The AppliesTo element of web ticket request points to a different web server or site.</faultstring><detail><OCSDiagnosticsFault xmlns="urn:component:Microsoft.Rtc.WebAuthentication.2010" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Ms-Diagnostics-Fault><ErrorId>28037</ErrorId><Reason>The AppliesTo element of web ticket request points to a different web server or site.</Reason></Ms-Diagnostics-Fault><NameValuePairs xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></OCSDiagnosticsFault></detail></s:Fault></s:Body></s:Envelope>
    </ReceivedResponse>
    2013-07-24 13:56:36.510 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x1481c78)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/441:Received webticket resposne with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CWebTicketSession.cpp/1206:Raising WebTicketEvent for https://lyncweb.qvh.nhs.uk/ucwa/v1/applications and https://lyncsrv1.xqvh.nhs.uk/webticket/webticketservice.svc with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CAuthenticationResolver.cpp/639:Web-Ticket retrieval for url https://lyncweb.qvh.nhs.uk/ucwa/v1/applications completed with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] ERROR TRANSPORT CAuthenticationResolver.cpp/703:Failing the original request as we weren't able to get thewebticket
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO TRANSPORT CRequestManager.cpp/119:Failing secure request  with status E_InternalServerError (E2-3-13)
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/64:Alert received! Category 2, Type 300, level 2, error E_InternalServerError (E2-3-13), context '', hasAction=false
    2013-07-24 13:56:36.511 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 300, cleared 0 alerts
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/683:Response received for req. POST-Application(0x8b61878): E_InternalServerError (E2-3-13) (RemoteNetworkTemporaryError); (Re-)Queuing req.; Schedule retrial in 91sec.
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/93:ObservableListItem Added event received
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/103:showalert is 1
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/612:desired view is alert, size 1
    2013-07-24 13:56:36.512 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/652:adding the desired view
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/405:reposition floating views
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/110:showalert is 1
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/114:showalert is 0
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMUIUtil.mm/394:Mapping error code = 0x2203000d, context = , type = 300
    2013-07-24 13:56:36.513 Lync[317:3c231b78] INFO UI CMUIUtil.mm/1598:Mapped error message is 'Can’t connect to the server. It may be busy or temporarily unavailable. Please try again. 
    2013-07-24 13:56:36.514 Lync[317:3c231b78] ERROR UI CMDismissButtonBaseViewController.mm/89:before: view height 45.000000, width 768.000000, x 0.000000, y 64.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/993:viewFrame: origin x 0.000000, origin y 64.000000, height 45.000000, width 768.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] INFO UI CMNotificationManager.mm/1099:resize alert label, origin x 44.000000, origin y 2.000000, height 41.000000, width 680.000000
    2013-07-24 13:56:36.514 Lync[317:3c231b78] ERROR UI CMDismissButtonBaseViewController.mm/104:after: self.label.frame height 41.000000, width 680.000000, x 44.000000, y 2.000000
    2013-07-24 13:56:38.334 Lync[317:3c231b78] INFO APPLICATION CUcwaDataSynchronizer.cpp/996:Mode 1 scheduled to timeout in 120sec
    2013-07-24 13:56:44.604 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/469:Called signOut() in state 2
    2013-07-24 13:56:44.605 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 300, cleared 1 alerts
    2013-07-24 13:56:44.606 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 301, cleared 0 alerts
    2013-07-24 13:56:44.606 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 2, Type 302, cleared 0 alerts
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/526:Timer cancelled. OnResume = 0
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CAlertReporter.cpp/117:Alert cleared of Category 1, Type 201, cleared 0 alerts
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/952:CUcwaAppSession canceling all requests
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/361:Cancelling all requests
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CTransportRequestRetrialQueue.cpp/371:Cancelling request: 0x8b61878
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO APPLICATION CUcwaAppSession.cpp/975:CUcwaAppSession::setNewActualState() state=0
    2013-07-24 13:56:44.607 Lync[317:3c231b78] INFO UTILITIES CiOsAppStateQuery.h/147:Clearing keep-alive timer callback
    2013-07-24 13:56:44.608 Lync[317:b7ae000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component WebTicketSession on sign-out.
    2013-07-24 13:56:44.608 Lync[317:b72c000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component MetaDataManager on sign-out.
    2013-07-24 13:56:44.608 Lync[317:b7ae000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x8b08900.
    2013-07-24 13:56:44.608 Lync[317:b72c000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing stream 0x7f8fcd0.
    2013-07-24 13:56:44.611 Lync[317:3c231b78] INFO APPLICATION CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/526:Timer cancelled. OnResume = 0
    2013-07-24 13:56:44.642 Lync[317:3c231b78] INFO APPLICATION CBasePersistableEntity.cpp/177:Storing 1 out-of-sync Object Models took 4ms
    2013-07-24 13:56:44.642 Lync[317:3c231b78] INFO APPLICATION CPresenceSubscription.cpp/772:Removed 0 success records, current size is 0
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/99:ObservableListItem Removed event received
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMAlertViewController.mm/103:showalert is 1
    2013-07-24 13:56:44.643 Lync[317:3c231b78] INFO UI CMConversationCommon.mm/43:not signed in

    Persevere, Persevere, Per..

    Wednesday, July 24, 2013 1:54 PM
  • Is the AD domain the same with your sip domain?

    If not, please try provide the credentials in UPN format.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Thursday, July 25, 2013 7:39 AM
    Moderator
  • The SIP domain is not the same as the AD domain.  The SIP domain is the same as the primary SMTP however

    I did attempt a UPN logon on the iPad in addition to the SIP logon but with no luck i'm afraid.


    Persevere, Persevere, Per..

    Thursday, July 25, 2013 12:29 PM
  • Dont get mislead from 401 message. Keep in mind 2010 Mobile Client relies on MCX service, while 2013 - UCWA.

    UCWA was introduced with CU1.

    http://www.lynclog.com/2013/06/configure-fiddler-for-lync-mobile-sign.html - you can follow those instructions to troubleshoot mobile device sign in process.

    Drago


    http://www.lynclog.com

    Thursday, July 25, 2013 1:05 PM