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 asked 02.10.2018 at 23:03 Tu Doan Quang |
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 answered 04.10.2018 at 03:22 Reto Weiss ♦♦ Thank you. I will try
(04.10.2018 at 05:32)
Tu Doan Quang
|
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 answered 03.10.2018 at 05:47 Tu Doan Quang |
I hope this picture help you to get my idea. I want to check whether the endpoint has value or not in the web service before calling: answered 03.10.2018 at 22:21 Tu Doan Quang |
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?