cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming Web Service

Supriyakumari
Level 3
Hi Team,

I am facing difficulties while consuming web service, as it is asking Security Token Key and i am not able to get option to fill the details.

Please help me out.

Regards,
Supriya Kumari

------------------------------
Supriya kumari
Software Development Analyst
NTT DATA
Indian/Christmas
------------------------------
5 REPLIES 5

bruce.liu
Staff
Staff
Hi Supriya,

There is not enough detail on the post to work out what type of security token you are working with and how it can embedded with the API call. If you have any API documentation handy, I would encourage you to share it.

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------

The Web Service has been created by third party  in C# .NET language.

Security Token Header Details:

Name: SecurityAccessToken

Value: GUID

Data Type: String

Namespace:

 I need to pass as "Request Header".

But not getting any option to pass Request Header.

I have added the web service url in object section of system tab in blue prism. Then created one object and taken one action, and in that action selected Web Service as business object and the method as action. Passing the input parameter as user id as this web service is use to delete the user from an application and getting the response back from web service in output data, And in output data only giving an message as Security Code is missing. Please help me on this.



------------------------------
Supriya kumari
Software Development Analyst
NTT DATA
Indian/Christmas
------------------------------

Currently we are successfully hitting the server but we are unable to get any response, since we are not passing the header information.

Please help me on this.


------------------------------
Supriya kumari
Software Development Analyst
NTT DATA
Indian/Christmas
------------------------------

Hi Supriya,

You will need to know how you can acquire the Security Token first. Some web service has specific API to help generate the token while in the other you can obtain it from the web service configuration UI and simply use it in your web service calls. I would advise you to investigate this in much detail.

Once you have the token, you can add it to your web service request header. There are two ways you can do it in Blue Prism, either through Common Headers if the token can be used by other similar calls, or through Request Header if the token is specific to the request itself. I find the former being a more common scenario these days. No matter which way you decide to go, you can add a new entry in their respective section, set the Name field to become "SecurityAccessToken", and Value to become the token itself. Once done, Blue Prism should add what is needed to the request header for you in each call it makes to the third party REST web service.

Hope this helps.

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------

are you utilizing SOAP web services or REST ?

If you are using SOAP then 'SOAP Web Service' feature in system tab does not allows to add additional headers, you can only configure what is required(as parameter) by Web Services. if you want to supply additional header you have to utilize HTTP object.

If you are utilizing REST then 'Web Service API' option should be able to help you.

------------------------------
Ishan Mahajan
India
------------------------------