Yes, yes.. I know Infopath is basically dead. But anyway, these are a couple of stuff that we need to do to get a Webmethod IS hosted SOAP webservice to work on Infopath and sharepoint.
On your Software AG Designer, go to the webservice that you’ll be exposing to Infopath, left click and select Properties. Go to Permissions and set everything to Anonymous.
Next, make sure that your webservice uses SOAP Protocol 1.1. To do that open your webservice, and go to Binders. Highlight the binder, and find SOAP version in the Properties pane, and set it to SOAP 1.1 Protocol, and save.
Infopath can’t directly access your Webmethod IS webservice, so you’ll need to export the WSDL into a xml file first. You can do that by opening the WSDL on a browser, and save it to.. you guess it! An XML file
Open the XML file on your prefered text editor, and find each instance of the word “parameters”, and replace it with “parameter”. Save the file.
Go to the sharepoint site that will host the Infopath page and upload the xml file. Upload the XML file to register the webservice as a service provider
Then, take note of the URL of the uploaded XML.
Now open the Infopath Designer, open your form and connect to the Sharepoint site. Go to the “Data” tab, and add a source from webservice
Paste the XML URL
Press Next. If the stars are properly aligned and the wind is blowing to the right direction, you should be presented a list of available operations.
Proceed as usual. You should now be able to access the Webmethods IS hosted SOAP webservice from your Infopath form 😀