Quantcast
Channel: SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations forum
Viewing all articles
Browse latest Browse all 9368

Infopath Auto Authentication through Web Service

$
0
0

A little backgroud: This is Infopath and Web Service related. I was not sure where to post this question.

I am working within infopath 2007 and im joining my first string text box to a web service. I have set a fields value on the forms text field to correspond with the webservice in question and written the rule to send the information. The information sends successfully to the web service and responds to me successfully. I interpret the response for the end user via a dialog box.  

I have a slight issue of an authentication box when calling the webservice,  I must enter credentials to process my infopath rules. I would like to know how to hard code the admin username and password in the infopath form to make this authentication seamless to the user. Can it even be done?

One idea is to create a button and add underlining java script code in the form (function Onclick (eventObj)) to transmit the credentials after fullfilling my form rules- I do not know .js so I would need a code description on how to do this.

Another idea would to be to code the text box itself through the form option of Programming > On before Change event / On after Change event?  Of course .js code example would be needed as I do not know .js

Lastly Ive been reading about converting data connetions ect.. Althought Im not to familiar on the actually process I need to follow. An example of this resolution ( not fully documented) can be found here: Link not allowed

Any help to get me going in the right direction would be most helpful!!! Im also open to concepts I do not understand at this time.

Thanks All




Viewing all articles
Browse latest Browse all 9368


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>