3 Replies Latest reply on Aug 20, 2013 9:59 PM by Barrie Callender

    Is P6 r8.2 Web Services compatible with r7?

      I have an app that is integrated with P6r7 Web Services. The developer used the Web Services demo app as a starting point and integrated that code into the app. It's a SaaS app and each tenant puts in the IP address of their web services server along with their credentials to link to P6.

      I want to enhance the integration so that it works with both the r7 and r8.2. I have heard that r8.2 is "backward compatible" but I can't find any documentation or sample programs that demonstrate how this can be achieved. I assume this means that if I update my integration code so that is works with r8.2, that it will also work with r7.

      Has anyone had experience with this kind of integration? I really don't want to have to maintain two sets of code to support these two versions if I can avoid it.


        • 1. Re: Is P6 r8.2 Web Services compatible with r7?
          Sachin Gupta

          This does not seems to be true that they are backward compatible. New features are added with every release to the web services. For instance look at the link below


          If you are using any of the new feature then it will not be backward compatible. Also check the URL for the web services for r7.0 and r8.2. I guess they are different.

          You may have to tweak your code to fit this requirement.

          Sachin Gupta
          • 2. Re: Is P6 r8.2 Web Services compatible with r7?

            Thanks for the quick reply to my question. I was hoping for a different answer. I don't mind tweaking my code, but I was hoping I would not have to maintain one set of code for r7 and another one for r8.2. I have customers who use both versions of Primavera, so I need to support both versions of P6.

            My developer isn't very familiar with P6, so it took him a long time to build the r7 integration. Do you know if there are any companies or contractors who have P6 technical expertise who I might be able to hire to do this coding?


            • 3. Re: Is P6 r8.2 Web Services compatible with r7?
              Barrie Callender

              You could architect your application so you use a common interface that is smart enough to make use of either the v7 or v8 client stubs, which will be different.

              The endpoint URLs will be different so you will need a method to handle that.  You could make use of a config file to identify which one is in use or you could attempt a readDatabaseInstances message using the v7 version of the URL and if it failed use the v8 version of the URL.  One of them should work if everything is OK (correct username, password, domain and port for server).  Then you will know whether you are dealing with v8 or v7.


              When deploying, you'll need to know which P6 Web services client to package with your application. Any decent Java developer would know what to do. In fact they could probably dynamically load the correct P6 Web Service client stub too.