I am using the Alfresco Web Service and the startsession method provides the following with the authenticated ticket below.
Then I still get message –> Does Not Contain Security Header. This is a windows app so can anyone say what is going on? Why is it saying there is no header when it already appears authenticated?
bool Teststring = AuthenticationUtils.IsSessionValid; —-> RETURNS TRUE)
string testTicket = AuthenticationUtils.Ticket; —–> (RETURNS A VALID TICKET "TICKET_aca625c2e758afc01ed1c8a1d280eb50f600345e")
RepositoryServiceSoapPortClient repositoryService = new RepositoryServiceSoapPortClient("RepositoryService");
QueryResult result = WebServiceFactory.getRepositoryService().queryChildren(queryCfg, reference);
Returns a valid repository object but when I call the method .queryChildren(queryCfg, reference) I get
+ base {"WSDoAllReceiver: Request does not contain required Security header"} System.ServiceModel.CommunicationException {System.ServiceModel.FaultException}
[size=150]Any ideas what is happening?[/size]