Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all !
I'm trying to have the 'Session Collaboration' checkbox active through a soap request.
I've generated java code from the wsdl, and now I'm searching how to check this case.
I've already tried the following without success:
QMSClient.DocumentTask().getServer().getAccess().setEnableSessionCollaboration(true)
Does someone have a solution?
Thanks in advance
No error returned unfortunately, everything seems to work...
And the SOAP request contains the two 'Session Collaboration' fields
Jeremy, just wanted to let you know Damien got tied up on other stuff today, and he will not be able to get to things tomorrow either, but he did have a question as to what underlying language you were using in your project, so if you can answer that, he should be ready to go when he can get back to the post. He was not sure if it was .Net or Java? Any details you can post on that will help him, sorry for the delay.
Regards,
Brett
Don't be bothered by the delay, thank you for helping me !
I use Java in my project. I generated the Java QLIK client from the wsdl.
Thanks Jeremy, I have also reached out to another person as well, but he is generally quite busy, so I suspect Damien will likely get back to you before he does, but maybe we will get lucky! 🙂 Hopefully we can help you get things sorted.
Regards,
Brett
Hi Brett,
Any news on my problem ?
Jeremy, not yet, sorry.
Regards,
Brett
Hi Jeremy,
Is that how you generated the client? https://stackoverflow.com/questions/4172118/web-service-client-given-wsdl
I do not have much experience with how you do that in java.
Alternately, if you provide us a wireshark trace of the failing request, we could compare with one that is working.
My guess is that there is some misformatting somewhere in the request sent.
Hi,
I don't have wireshark, but Fiddler.
Anyway, I've extracted the soap request (obviously obfuscated):
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns10:SaveDocumentTask xmlns:ns10="http://ws.qliktech.com/QMS/11/">
<ns10:documentTask>
<Document xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<FolderID>TT</FolderID>
<ID>TATA</ID>
<IsOrphan>false</IsOrphan>
<IsSubFolder>false</IsSubFolder>
<Name>TOTO.qvw</Name>
<RelativePath>TITI</RelativePath>
<TaskCount>0</TaskCount>
<Type>Source</Type>
</Document>
<General xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<Enabled>true</Enabled>
<TaskDescription>Creating a task</TaskDescription>
<TaskName>TN.qvw</TaskName>
</General>
<s5:QDSID xmlns:s5="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">AAAA</s5:QDSID>
<Reduce xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<DocumentNameTemplate>%SourceDocumentName%</DocumentNameTemplate>
<Dynamic>
<Type>ByField</Type>
</Dynamic>
<Static>
<Reductions />
</Static>
</Reduce>
<Reload xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<Mode>Full</Mode>
</Reload>
<ns5:Scope xmlns:ns5="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">General Reload Reduce Triggering</ns5:Scope>
<Server xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<Access>
<EnableSessionCollaboration>true</EnableSessionCollaboration>
</Access>
</Server>
<Triggering xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects">
<ExecutionAttempts>1</ExecutionAttempts>
<ExecutionTimeout>1440</ExecutionTimeout>
<TaskDependencies />
<Triggers>
<Trigger xmlns="http://schemas.datacontract.org/2004/07/PIX.QMSAPI.DataObjects.Triggers" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ExternalEventTrigger">
<Enabled>true</Enabled>
<ID>AAA</ID>
<Type>ExternalEventTrigger</Type>
<Password>TRULULU</Password>
</Trigger>
</Triggers>
</Triggering>
</ns10:documentTask>
</ns10:SaveDocumentTask>
</soapenv:Body>
</soapenv:Envelope>
So the request that is failing is the one to set up the setting on the document ? not the one to enable on the QVS ? or is that one also failing ?
This is the request to create a task.
Actually, none of the requests fail. But the 'Session Collaboration' checkbox is not checked when creating a new task with the provided soap request