<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can i do my Webservice Secure</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure</link><description>&lt;p&gt;How is it possible to configure for WS Process the Authentification. That the other application can start this only using credentials (simple: username, pwd) ?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 15 Jun 2016 15:49:01 -0400</lastBuildDate><item><title>Comment by Reto Weiss on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#1814</link><description>&lt;p&gt;Update: Starting with Axon.ivy BPM Suite 6.0.4 and 6.2 WebService Processes also supports HTTP Basic authentification. Therefore both WebService Call process element and WebService process supports now a common authentication mechanism.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Wed, 15 Jun 2016 15:49:01 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#1814</guid></item><item><title>Comment by Dominik Regli on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#944</link><description>&lt;p&gt;&lt;a href="http://answers.xpertivy.ch/questions/942/how-can-i-call-a-secured-web-service-process-with-a-web-service-call-element"&gt;This Q&amp;amp;A entry&lt;/a&gt; describes How to call a secured WS Process with a WS Call Element. But works only for ivy versions 4.3.24, 5.0.14 and 5.1.0 or greater.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominik Regli</dc:creator><pubDate>Thu, 04 Sep 2014 11:23:54 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#944</guid></item><item><title>Comment by tauser on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#859</link><description>&lt;p&gt;thank you for your answer... it is bad for us, no wrapper, we have on first server ivy application providing ws, on second server ivy application calling ws.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tauser</dc:creator><pubDate>Wed, 16 Jul 2014 13:43:08 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#859</guid></item><item><title>Comment by Reguel Wermelinger on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#850</link><description>&lt;p&gt;With a Webservice Call in ivy step you can not call this secured ivy WS Process. &lt;/p&gt;
&lt;p&gt;See #22823: Support common authentication for WS Step and WS Proc&lt;/p&gt;
&lt;p&gt;I suggest that you use the Webservice Process only as wrapper for a callable SubProcess. And call the subProcess directly if you like to invoke this logic from another process.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 14 Jul 2014 15:27:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#850</guid></item><item><title>Comment by tauser on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#849</link><description>&lt;p&gt;thx, it works... Now we can call it from SOAP UI also on server.
But if we call it from designer, we get the error. Is there also some workaround ?&lt;/p&gt;
&lt;p&gt;AxisFault: An error was discovered processing the wsse:Security header&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tauser</dc:creator><pubDate>Mon, 14 Jul 2014 14:35:41 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#849</guid></item><item><title>Comment by Reguel Wermelinger on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#838</link><description>&lt;p&gt;The HIERARCHY_REQUEST_ERR is fixed in the next major release (5.1 Lauberhorn). So the basic authentication will work out of the box without a work around. 
If you want to give it a try, Lauberhorn 5.1 is already available as &lt;a href="http://www.ivyteam.ch/flatpress/?page=download_RC"&gt;Release Candidate download&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 03 Jul 2014 08:51:55 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#838</guid></item><item><title>Comment by Reguel Wermelinger on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#828</link><description>&lt;p&gt;This is a known issue of Xpert.ivy. You can track it in the &lt;a href="http://www.soreco.ch/soreconnect"&gt;soreconnect&lt;/a&gt; under &lt;em&gt;#&lt;strong&gt;22513&lt;/strong&gt;: Web Service Process with WS Security does not work on Server&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;You can workaround the problem by removing the shipped AXIS2 SAAJ jars. So in more detail:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Rename&lt;/strong&gt; the jars &lt;strong&gt;axis2-saaj-1.3.jar&lt;/strong&gt; &amp;amp; &lt;strong&gt;axis2-saaj-api-1.3.jar&lt;/strong&gt; to an unusable extension. like: .jar.inactive&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 27 Jun 2014 15:02:40 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#828</guid></item><item><title>Comment by Karel Tauser on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#822</link><description>&lt;p&gt;Hi,thx for your help. It is working good with designer, starting it from server (5.0) i receive always error:
HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted&lt;/p&gt;
&lt;p&gt;Should be something set on server?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel Tauser</dc:creator><pubDate>Wed, 25 Jun 2014 17:53:03 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#822</guid></item><item><title>Comment by Reguel Wermelinger on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#819</link><description>&lt;p&gt;user1 is a sample for an ivy user. In this case I've created a Test User in the designer. 
In production it normally make sense to have a technical user + role with very limited rights.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 23 Jun 2014 14:02:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#819</guid></item><item><title>Comment by Karel Tauser on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#818</link><description>&lt;p&gt;thanks, you are right, i tested it already. But where is the user "user1" defined. Is it a Ivy user?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel Tauser</dc:creator><pubDate>Mon, 23 Jun 2014 13:32:07 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#818</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure/802</link><description>&lt;p&gt;The ivy WebServiceProcess supports Basic authentication. 
You can enable it as follows: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the process in the ivyProject tree&lt;/li&gt;
&lt;li&gt;Choose the "Inscription" context menu entry&lt;/li&gt;
&lt;li&gt;Navigate to the "Web Service Process" tab&lt;/li&gt;
&lt;li&gt;Choose "HTTP Basic" as Web Service authentication&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can proof the configuration with SOAP UI. Simple calls requests to WS process starts should no longer be possible. &lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="/upfiles/callHttpBasicWebServiceRequest.png"&gt;&lt;/p&gt;
&lt;p&gt;Please consult the designer guide for further information: &lt;a href="http://www.xpertivy.ch/releases/Xpert.ivy/5.0.latest/documents/DesignerGuideHtml/ivy.processmodels.process.inscription.html#ivy.processmodels.elements.tabs.wsprocess"&gt;Web Service Process Properties&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 20 Jun 2014 13:57:06 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure/802</guid></item><item><title>Comment by Karel Tauser on Daniel Oechslin's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#790</link><description>&lt;p&gt;it is not german ;-) So, i would like to use IVY STANDARD Web Services Element. Is there any possibility to secure the call in easy way ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel Tauser</dc:creator><pubDate>Fri, 13 Jun 2014 13:32:39 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#790</guid></item><item><title>Comment by Daniel Oechslin on Daniel Oechslin's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#782</link><description>&lt;p&gt;Could you write your question in your mothertongue?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Thu, 12 Jun 2014 14:09:02 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#782</guid></item><item><title>Comment by Karel Tauser on Daniel Oechslin's answer</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#780</link><description>&lt;p&gt;we would like to use WS Process for webservice, how to combine with own authentification ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karel Tauser</dc:creator><pubDate>Thu, 12 Jun 2014 12:48:30 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure#780</guid></item><item><title>Answer by Daniel Oechslin</title><link>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure/772</link><description>&lt;p&gt;You can build your own authentication. I think there is none in ivy yet. 
For some sample code see &lt;a href="http://stackoverflow.com/questions/6799921/how-to-authenticate-soap-based-java-web-services"&gt;WS-Secure&lt;/a&gt;. I used it in non ivy projects and it worked perfectly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Tue, 10 Jun 2014 15:23:33 -0400</pubDate><guid>https://answers.axonivy.com/questions/770/how-can-i-do-my-webservice-secure/772</guid></item></channel></rss>