Hi everybody I would like to check there is an endpoint in the web service before I send data to there. I found an interface IWebServiceEndpoint, but I don't know how to use to get the data by Ivy API. Could someone help me? Thank you so much |
Hi Tu You can do the same thing without using our internal API to check the Endpoint. Simple do the ws call and then analyze the error that is thrown. If the root technical cause is a MalformedURLException the endpoint is empty (not set) or a not valid URL. See here: Regards Reto Weiss. Axon.ivy Support |
Hello Reto Weiss, yes. I want to throw a error message before call the web service step, if that web service has no end point then don't need send data to the web service. For any web service: Rest, SOAP, so on that has endpoint. Do you have any suggestion for this? Thanks |
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 02.10.2018 at 23:03
Seen: 2,076 times
Last updated: 04.10.2018 at 09:54
You mean you want to call web service only if there is really an endpoint configured. If no endpoint is configured you don't want to call the web service? Some kind of optional web service call dependending on the configuration?
What is the use case behind this. Does ivy not throw an exception if an endpoint is missing. Can we improve something in the product for this case?