cancel
Showing results for 
Search instead for 
Did you mean: 

Understanding Blue Prism WebServices Wrapper

KirstenA
Level 3
Hello,

I've spent some time working on a simple Blue Prism exposed webservice that takes in a string (process keywords) and outputs a message (success or fail).

For this, I've been trying to implement the advanced code section of the Web Services pdf.  My C# is not very strong.

In the example code, we follow a sample process (Service1) to set up global and initializing code.

When we get to the wrapper example, we now have three new entities:

  • QueryByName
  • retrieveValuationsBy
  • BaseResponse

QueryByName is identified as the primarily Class, and I have to assume one of the remaining entities is our object-action, which leaves a third entity which I am having trouble distinguishing.

Does anyone know what role these entities play in the wrapper code?  I'm attempting to validate this before moving on to the secure method.

Thank-you.

------------------------------
Kirsten Avarmaa
Business Systems Specialist
Empire Life
Canada
------------------------------
1 BEST ANSWER

Best Answers

CharlesTrott
Staff
Staff

Hi there, 

I'm a bit confused by your question. Are you trying to create and expose an object as a web service which takes in a string and outputs a message, or are you looking for assistance with a code stage to do the same?

If you're referring to the Web Services Guide (https://portal.blueprism.com/documents/blue-prism-user-guide-web-services-50) p35, (Consume Web Services using Code Stage Based Business Objects) we are looking at a couple of different layered systems that need to be considered. The bulk of the code developed should be done in a tool more suitable to the job, as Blue Prism can execute the code in relationship to it's other functions but really isn't intended for troubleshooting the code itself. The "Wrapper" in this case is going to be the Code Stage, which will exist on it's own Action Tab, separate to the Initialization tab where you'll set up the global/initializing code. 

Outside of that QueryByName, retrievevaluationsBy, and BaseResponse could be .net code actions but are not native dependencies to the function of Blue Prism, and would be best reviewed in a Microsoft help than our own. I do hope this helps and thank you for your patience. 



------------------------------
Charles Trott
Senior Product Consultant
Blue Prism
------------------------------

View answer in original post

1 REPLY 1

CharlesTrott
Staff
Staff

Hi there, 

I'm a bit confused by your question. Are you trying to create and expose an object as a web service which takes in a string and outputs a message, or are you looking for assistance with a code stage to do the same?

If you're referring to the Web Services Guide (https://portal.blueprism.com/documents/blue-prism-user-guide-web-services-50) p35, (Consume Web Services using Code Stage Based Business Objects) we are looking at a couple of different layered systems that need to be considered. The bulk of the code developed should be done in a tool more suitable to the job, as Blue Prism can execute the code in relationship to it's other functions but really isn't intended for troubleshooting the code itself. The "Wrapper" in this case is going to be the Code Stage, which will exist on it's own Action Tab, separate to the Initialization tab where you'll set up the global/initializing code. 

Outside of that QueryByName, retrievevaluationsBy, and BaseResponse could be .net code actions but are not native dependencies to the function of Blue Prism, and would be best reviewed in a Microsoft help than our own. I do hope this helps and thank you for your patience. 



------------------------------
Charles Trott
Senior Product Consultant
Blue Prism
------------------------------