For SQL server connections I'm prompted for a user name and password and can save that along with the form. I'm doing the same for a web service but I'm not asked for the credentials to use the web service at any point so when I try to submit data, it's giving me the following error:
InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The SOAP response indicates that an error occurred on the server:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> SAP.Connector.RfcLogonException: Name or password is incorrect (repeat logon)