Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bl-jeremy
Contributor II
Contributor II

Check the Session Collaboration button through soap request

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

Labels (2)
33 Replies
bl-jeremy
Contributor II
Contributor II
Author

No error returned unfortunately, everything seems to work...

And the SOAP request contains the two 'Session Collaboration' fields

Brett_Bleess
Former Employee
Former Employee

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

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
bl-jeremy
Contributor II
Contributor II
Author

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.

Brett_Bleess
Former Employee
Former Employee

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

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
bl-jeremy
Contributor II
Contributor II
Author

Hi Brett,

Any news on my problem ?

Brett_Bleess
Former Employee
Former Employee

Jeremy, not yet, sorry.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Damien_V
Support
Support

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.

If the issue is solved please mark the answer with Accept as Solution.
bl-jeremy
Contributor II
Contributor II
Author

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>

 

Damien_V
Support
Support

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 ?

If the issue is solved please mark the answer with Accept as Solution.
bl-jeremy
Contributor II
Contributor II
Author

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