Running LC ES2 SP1 on Windows 2008 R2 32-bit server.
I have a form that has multiple web service connections to processes I created in workbench. I can connect to them fine in workbench and some of them work fine on my form. I am using the WSDL format http://server:port/soap/services/web%20services/getinfo?wsdl in the data view for the wsdl connection in designer.
Most of my data connections work like this but some come up with a java error that says:
GeneralError: Operation failed.
Error attempting to read from filehttp://server:port/soap/services/web%20services/getinfo?wsdl
I don't know why it shows "filehttp" or even where that came from.
In my form on the initialize event of the subform I have xfa.connectionSet.GetInfo.execute(0);
I swear ES2 is driving me nuts. I much rather go back to ES. Is there any sort of documentation for ES2 and web services?
Solved! Go to Solution.
In workbench if you click on the start point in the process diagram then it will show you all of the defined endpoints. Copy and paste the URL from the SOAP end point into your data connection.
Do I need to add a start point for my web service process that I created in 8.2 and carried over into ES2? I have a form process that I added the Start Point to but wasn't sure about the web service and database calls processes that I created.
Right now I have my web services and data connections in a separate Application in Workbench. Do you suggest that they remain there or should they be in my application that contains my form and main workflow process?
I am still having an issue with the web services. It seems though that they are failing on the initialize event of my form. I normally call my web services with xfa.connectionSet.GetInfo.execute(0);. This worked in ES 220.127.116.11 but now with ES2 SP1 it's not working.
Any thoughts on this?
I have not seen this type of behaviour .....I suggest that you put the web service button on the form (drag it from the Data Connection tree) and use script to cause the click event on the button. You can hide the button of course. The script woudl be:
Let me know the result please.
This doesn't work either. I am still getting the error that it can not read from "filehttp://server:8080/soap/services/getUserInfo?wsdl". Where is "filehttp" coming from?
I do not know where that is coming from ....I have not seen that error before.
I suggest that you bring up the orchestration in work bench that is the web service. Then open the start point and copy the soap end point wsdl back into your data connection definition.
If that does not work then I can load it on my system and see if I get the same errors. Are you willing to send me the lca files and the forms?
Upon further review (I sound like an NFL referee), I see that your wsdl is incorrect ...you have not replcaed the server part with the name of your server. I woudl do that copy and paste of the wsdl from the start point like I mentioned earlier.