cancel
Showing results for 
Search instead for 
Did you mean: 

How to involve Exceptions in the EXPOSED SOAP WSDL of an Process

VedadCizmic
Level 2
Hi together,

I created an WebService of an Process by exposing it. I got the WSDL and it Looks fine. There is just one part missing, the SOAP Failure Message. I don't know how to handle the Exceptions since it is not defined in the WSDL. 

Anybody knows what do I Need to Change in Order to get this part into the WSDL?

Bests,

------------------------------
Vedad Cizmic
------------------------------
3 REPLIES 3

nobu
Staff
Staff
Hi Vadad,

Basically, we don't change the WSDL after process/object was exposed. You should catch the error when the action throughs an error. 

For example, if you call the webservice from Blue Prism process, you can catch any exceptions from a recovery stage like below. 
8419.png
If you call the webservice from your custom application such as .NET application, you can catch the exception using catch/try block.
If you use other application to call the webservice, please refer to the user guide to handle exceptions. 

Cheers,

Nobu

------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------

Thanks for the Answer Nobuhiro.

I am calling the WebService with an Java Application. Normaly the WSDL defines a part for the Failure, which is missing here. I was wondering if I Need to set something more on the Roboter to get the Throwed Exception in the WSDL Definition.

I am trying now to finde this User Guide. Do you know the exact Name of the User Guide?

Best regards

------------------------------
Vedad Cizmic
------------------------------

Hi Vedad,

The name of documents are "v6.? User Guide - Web Service". Login to the portal site and go to the document page. Then, if you type "web service", you can get some documents like below screenshot. 
8429.png

I understand you call the web service from Java application. Why don't you use a general application to check the web service, such as "SoapUI". I personally use this application to check the web service before I develop my custom code. If the web service works in SoapUI, it should work in other 3rd party applications.

Cheers,

Nobu


------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------