cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Web Request Issues Using Secure Store Services

Hello Community,

 

I'm having issues with setting up a web request control on my Nintex form.  I have set up a Secure Store Application to use as we want to use Windows Authentication on the control. Every time I test it I get the error message "Please enter the user name with correct format domain/password name". No matter what I've tired I cant get anything in the Test Results.  When on Anonymous I actually get something. I have looked at the information pertaining to the web request control but it only gives an example of if your doing it anonymous so that was of no help.  If anyone has come across this or has information it would be greatly appreciated.

 

Thank you for the help.

Labels: (2)
0 Kudos
Reply
16 Replies
Not applicable

Re: Web Request Issues Using Secure Store Services

Hi Kevin, you are trying to add drop down control from webservice ? And why then you need secure store application ? Because as i understand secure store application is for for example letting group of people or all people from sharepoint to reach external system like SQL table with specific sql user rights.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Web Request Issues Using Secure Store Services

Hi Donatas,

Basically I'm using the web request to pull a particular piece of data from a list in our environment so can do calculations off it. but i dont what it to be populated into a drop down or radio buttons like list lookup does.  Hence the Web Request controls. The data needs to have a secure way to be processed though at same time. Hence why using secure store unless there is a better way to do this I'm all ears.  I understand using it with SQL and external systems but unlike Infopath where i can set up connection strings to then pull the data i needed out of other list Nintex doesn't have that. Any suggestion on a better way to do this would be greatful.

0 Kudos
Accept as Solution Reply
Not applicable

Re: Web Request Issues Using Secure Store Services

So there is Javascript client object model of SharePoint. And using Javascript in your form you can query any data from any list you want. Even you can build dynamic query depending on your form data. Is this what you want to do ?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Web Request Issues Using Secure Store Services

In a way yes but company wants to stay away from the custom code as they don't want to have to maintain much.  Hence why was trying to figure out same way to do things inside Infopath. But writing JavaScript in the background has been one of the options ive kept open in having to do if couldn't find other solutions.

0 Kudos
Accept as Solution Reply
Not applicable

Re: Web Request Issues Using Secure Store Services

Interesting because i don't know any control which can query through secure store application. I by my self use Javascript to call my own webservice which executes search procedure in SQL and then retrieves JSON data to form and then I change input text field to drop down field and pre populate it with new values Tricky but works.  

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Web Request Issues Using Secure Store Services

So basically the set up is,

1) User selects a item from drop down or radio button

2) Base on item it goes gets the rate

3) Rate goes into a few other calculations so calculations can be done

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Web Request Issues Using Secure Store Services

the Secure Store doesn't do any of the querying, it just encrypts the permissions for the user to be able to access the area.

Picture.PNG

Nintex itself asks for the Secure Store so that it can even do the querying when you do your Authentication type as Windows or Basic Authentication.

0 Kudos
Accept as Solution Reply
Not applicable

Re: Web Request Issues Using Secure Store Services

But this is a workflow action called web request ? Not the form control ? If it is Workflow action try using other webservice method which I usually use with SharePoint .asmx services. You will just need to input endpoint url of service and domain\username password.

Or i understand something wrong ?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Web Request Issues Using Secure Store Services

This is a Form control in Nintex Enterprise version called Web Request. This and SQL Request are only available in the enterprise version of Nintex Forms.  i use the .asmx service in the service url, then the Secure Store is basically doing the endpoint of domain\username password to do all the querying and pull out the xpath display of rate.  but for some reason in nintex when i do it shows gives me the provide the information as domain\password name as i showed in the message it is given me.  That is why trying to see if anyone has came across this, knows a solutions or work around for it. If not will have to go the route of just doing java script behind which my client really doesn't want.

0 Kudos
Accept as Solution Reply