Invoke specific version of long lived process using ServiceClientfactory

Avatar

Avatar
Validate 1
Level 1
preetprabu
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
preetprabu
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
preetprabu
Level 1

17-12-2020

Hi, We need to invoke a specific version of long lived process using the ServiceClientFactory class of livecycle api. I had follwed the below post which shows how to invoke the latest version available.

https://help.adobe.com/en_US/livecycle/11.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7dc1.2.ht...

But due to business needs we would like to invoke a specific version. 

We tried foloowing approaches but it did not work.

Approach 1: 

InvocationRequest lcRequest =  myFactory.createInvocationRequest( 
                "FirstAppSolution/1.1/PreLoanProcess", //Specify the long-lived process name 
                    "invoke",           //Specify the operation name     
                    params,               //Specify input values 
                    false); 

Approach 2: 

InvocationRequest lcRequest =  myFactory.createInvocationRequest( 
                "FirstAppSolution/PreLoanProcess:1.1", //Specify the long-lived process name 
                    "invoke",           //Specify the operation name     
                    params,               //Specify input values 
                    false); 

 In both above approaches i am specifically trying to invoke version 1.1 but i am getting an error saying service not found. Kindly help

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

17-12-2020

@preetprabu  Why would you like to invoke a previous version? 

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

17-12-2020

@preetprabu  Check the wsdl url from adminui for the respective process