Now here is the situation exactly after tracing the process, let me describe first what does my simple process does.
Variables:
input1:int, Required, Input
output1:int, Output
it has 2 activities, the first activity is SetValue which is the start activity, it maps the value of the input into the output, simply it copies the input1 integer into the output1 integer
The second activity is Variable Logger, and it logs the values of the variables into a log.log file in the file system.
Now I tested this process using the invoke operation in the components view under the WorkflowDSC, after I invoke it, It shows me a number field to insert input1, I insert it and press ok, then it shows me output1, now I don't know why it shows me output1, but its ok, I leave it blank and press ok.
I check the log.log file on my file system and it is created and logging the same values for input1 and output1.
So apparently the process is working just fine.
Now on the other hand at the LiveCycle Designer ES, I create a blank XDP file (Interactive) then I create a Data Connection, choosing WSDL and the URL of the web service "http://localhost:8080/soap/services/InvokingLiveCycle?wsdl", and then comes the choose operation window, by default I see 5 operations for any service I create in the WorkBench which is "invoke", "invoke_Async", "invoke_Result", "invoke_Status" and "invoke_Dispose"
I choose "invoke" and there is invoke Request, invoke Response and invokeBtn, the invoke Request has the input1 Variable, and the invoke Response has the output1 Variable, and the invokeBtn is in the "execute" mode and pointing to my service and executing at the client, I insert all this in the form and test it in the Preview PDF tab.
Now this doesn't work at all, and the log file isn't created and of course the service isn't invoked in the 1st place, and this is my main problem.
It occurred to me to choose another operation and create a new Data Connection, I chose "invoke_Async", it has invoke_Async Request having the "input1" integer field same as "invoke" operation and it has also invoke_Async Response having the "invocationId" and invoke_AsyncBtn which is the same as the invokeBtn.
I insert these into the form and test it in the Preview PDF tab and I put a value in the input1 field then I press the invoke_AsyncBtn I get a response in the "invocationId" field which is "bc6b3f0fc0a85081000a998ebf903666" and surprisingly I find that the service created a log.log file and checking the value of output1 I find out that it is the same as I entered as input1, meaning the process worked and was successfully invoked, but of course I can't get to see the output1 field on my form, I don't know where is the response other than the "invocationId"
Now I really want to understand where is the problem.
Notes:
-By the way I am disabling all the services' security in the AdminUI --> Services -->Archive Administration --> Service Management.
-I tested another web service using the same technique which resides at "http://www.webservicex.net/CurrencyConvertor.asmx?wsdl" on the LiveCycle Designer Preview PDF tab and also in the Adobe Acrobat Professional, and its working both ways just fine.
P.S. I posted this to LiveCycle google group days ago, still didn't get an answer though.
Best Regards
Amr Marghany
Variables:
input1:int, Required, Input
output1:int, Output
it has 2 activities, the first activity is SetValue which is the start activity, it maps the value of the input into the output, simply it copies the input1 integer into the output1 integer
The second activity is Variable Logger, and it logs the values of the variables into a log.log file in the file system.
Now I tested this process using the invoke operation in the components view under the WorkflowDSC, after I invoke it, It shows me a number field to insert input1, I insert it and press ok, then it shows me output1, now I don't know why it shows me output1, but its ok, I leave it blank and press ok.
I check the log.log file on my file system and it is created and logging the same values for input1 and output1.
So apparently the process is working just fine.
Now on the other hand at the LiveCycle Designer ES, I create a blank XDP file (Interactive) then I create a Data Connection, choosing WSDL and the URL of the web service "http://localhost:8080/soap/services/InvokingLiveCycle?wsdl", and then comes the choose operation window, by default I see 5 operations for any service I create in the WorkBench which is "invoke", "invoke_Async", "invoke_Result", "invoke_Status" and "invoke_Dispose"
I choose "invoke" and there is invoke Request, invoke Response and invokeBtn, the invoke Request has the input1 Variable, and the invoke Response has the output1 Variable, and the invokeBtn is in the "execute" mode and pointing to my service and executing at the client, I insert all this in the form and test it in the Preview PDF tab.
Now this doesn't work at all, and the log file isn't created and of course the service isn't invoked in the 1st place, and this is my main problem.
It occurred to me to choose another operation and create a new Data Connection, I chose "invoke_Async", it has invoke_Async Request having the "input1" integer field same as "invoke" operation and it has also invoke_Async Response having the "invocationId" and invoke_AsyncBtn which is the same as the invokeBtn.
I insert these into the form and test it in the Preview PDF tab and I put a value in the input1 field then I press the invoke_AsyncBtn I get a response in the "invocationId" field which is "bc6b3f0fc0a85081000a998ebf903666" and surprisingly I find that the service created a log.log file and checking the value of output1 I find out that it is the same as I entered as input1, meaning the process worked and was successfully invoked, but of course I can't get to see the output1 field on my form, I don't know where is the response other than the "invocationId"
Now I really want to understand where is the problem.
Notes:
-By the way I am disabling all the services' security in the AdminUI --> Services -->Archive Administration --> Service Management.
-I tested another web service using the same technique which resides at "http://www.webservicex.net/CurrencyConvertor.asmx?wsdl" on the LiveCycle Designer Preview PDF tab and also in the Adobe Acrobat Professional, and its working both ways just fine.
P.S. I posted this to LiveCycle google group days ago, still didn't get an answer though.
Best Regards
Amr Marghany