How to involve Exceptions in the EXPOSED SOAP WSDL of an Process
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-09-20 09:19 AM
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
------------------------------
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-09-20 02:37 AM
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.

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
------------------------------
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.
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-09-20 09:08 AM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-09-20 12:57 AM
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.
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
------------------------------
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.
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
------------------------------
