Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=Adrian%20Imfeldquestions tagged <span class="tag">webservice</span>enWed, 11 Dec 2019 09:41:15 -0500multiple exceptions lead to ivy:error:loophttps://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loop<p>Hi there</p> <p>We get an "ivy:error:loop" exception by Ivy in a loop. In this loop, we send some ws calls in a Callable Sub. Possibles exceptions are not handled in the Callable Process, but are caught by a "Inscribe Error Boundary Event" on the Callable Sub Element. The loop-exception occurs when we receive an exception (ivy:error:webservice:exception) in this Callable Sub twice.</p> <p>From our point of view one task could easily receive more than one identical exception during its execution. Ivy should not send a loop-exception in this case.</p> <p>Why does Ivy react like that? Have we done something wrong?<br> Is there a solution or workaround for our problem?</p>Adrian ImfeldWed, 11 Dec 2019 09:41:15 -0500https://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loopexceptionhandlingwebserviceloopApache CXF DateTime Converter with different Timezonehttps://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone<p>We have a simple WSDL which holds a datetime attribute. This attribute is converted correctly by the CXF library and holds the Ivy DateTime format in the generated ws class. When we pass a datetime into the ws call, the datetime is formatted as <code>2018-11-26T12:56:52+01:00</code> but the ws provider (in our case SAP) needs the datetime within the UTC timezone, like: <code>2018-11-26T12:56:52Z</code></p> <p>How can we change the format? Is there a simple way, for example to pass the timezone to the Ivy DateTime object? ...or pass a SimpleDateFormat object for the string formatting?</p>Adrian ImfeldMon, 26 Nov 2018 09:32:33 -0500https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezonewebservicecxf