ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Web service error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 02:21 PM
Hello,
Facing below error while using the SOAP web service via Action.
ERROR: Internal: Unexpected error Error in Web service- the underlying connection was closed: An unexpected error occurred on a send
What shall i need to check and apply for this error?
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
Facing below error while using the SOAP web service via Action.
ERROR: Internal: Unexpected error Error in Web service- the underlying connection was closed: An unexpected error occurred on a send
What shall i need to check and apply for this error?
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 03:06 PM
Hi @Neeraj Kumar
Are you using the Web Service functionality from Blue Prism for this, right?
This is a problem with the Security Protocols.
If you try to call the api using a code stage, adding this line you will solve the problem:
See you in the community, bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
Are you using the Web Service functionality from Blue Prism for this, right?
This is a problem with the Security Protocols.
If you try to call the api using a code stage, adding this line you will solve the problem:
See you in the community, bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 03:12 PM
Hello @PabloSarabia - Thanks for your reply.
WSDL is http based. so security protocol will come in picture?
I am not calling API via code stage.
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
WSDL is http based. so security protocol will come in picture?
I am not calling API via code stage.
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 03:41 PM
@Neeraj Kumar,
If you're connecting to a SOAP web service over HTTP, as opposed to HTTPs, the TLS version shouldn't come into play. Does the web service you're connecting to have any sort of authentication (ex. HTTP Basic) enabled on it?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
If you're connecting to a SOAP web service over HTTP, as opposed to HTTPs, the TLS version shouldn't come into play. Does the web service you're connecting to have any sort of authentication (ex. HTTP Basic) enabled on it?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 04:04 PM
Hi @Neeraj Kumar
In addition to what Eirc has said, did you try to call your service with the SoapUI or Postman, just to test if the service repsonse correctly.
Bye :)
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
In addition to what Eirc has said, did you try to call your service with the SoapUI or Postman, just to test if the service repsonse correctly.
Bye :)
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 04:15 PM
hello,
We are using basic authentication and successfully able to consume the Web service.
using action in object- receiving the error.
@PabloSarabia- did not use the Postman or SOAPUI so far.
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
We are using basic authentication and successfully able to consume the Web service.
using action in object- receiving the error.
@PabloSarabia- did not use the Postman or SOAPUI so far.
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-22 07:46 PM
Hi,
I suggest SOAPUi just to test the communication between your BP universe and the WS.
It's a simple software to perform web service calls. I use it whenever I have a communications problem to check whether the problem is in the service, in the program calling the service or in the communication between the machines.
Here is the link: https://www.soapui.org/
Hope this helps you.
Bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
I suggest SOAPUi just to test the communication between your BP universe and the WS.
It's a simple software to perform web service calls. I use it whenever I have a communications problem to check whether the problem is in the service, in the program calling the service or in the communication between the machines.
Here is the link: https://www.soapui.org/
Hope this helps you.
Bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-04-22 03:43 PM
Hello Pablo - Tried with SOAP UI, getting the error, raised the issue to the team who provided the WS.
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
------------------------------
Neeraj Kumar
Technical Architect
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-04-22 07:55 PM
Hi Neeraj!
Nice to hear. I remember that Postman have an extension version for Google Chrome.
In case it helps, here is the link: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=es
Bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
Nice to hear. I remember that Postman have an extension version for Google Chrome.
In case it helps, here is the link: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=es
Bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
