Digital Exchange

last person joined: an hour ago 

This community is a place to discuss the Blue Prism DX and all of the assets hosted there.
Expand all | Collapse all

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

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

    Posted 09-16-2020 04:19
    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
    ------------------------------


  • 2.  RE: How to involve Exceptions in the EXPOSED SOAP WSDL of an Process

    Posted 09-16-2020 21:37
    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
    ------------------------------



  • 3.  RE: How to involve Exceptions in the EXPOSED SOAP WSDL of an Process

    Posted 09-17-2020 04:08
    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
    ------------------------------



  • 4.  RE: How to involve Exceptions in the EXPOSED SOAP WSDL of an Process

    Posted 09-20-2020 19:57
    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
    ------------------------------