<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Fully qualified name of webservice including /-sign</title><link>https://answers.axonivy.com/questions/2245/fully-qualified-name-of-webservice-including-sign</link><description>&lt;p&gt;We have a requirement which describes that our webservice namespace (we are the service provider) should be like &lt;a href="http://sap.com/xi/IDEIM"&gt;http://sap.com/xi/IDEIM&lt;/a&gt;
Is this possible to implement? In Ivy Designer (6.0.4) it looks like there are only points allowed no slashes. Is there a workaround possible&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2245/fully-qualified-name-of-webservice-including-sign" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 07 Dec 2016 16:05:06 -0500</lastBuildDate><item><title>Answer by Flavio Sadeghi</title><link>https://answers.axonivy.com/questions/2245/fully-qualified-name-of-webservice-including-sign/2253</link><description>&lt;p&gt;Yes, there is a workaround. &lt;/p&gt;
&lt;p&gt;First, each WS Process is backed by a Java file, which contains the configuration/annotations to provide the WS endpoint methods. This file is located in the folder &lt;code&gt;[project]/src_wsproc/[fully-qualified-name].java&lt;/code&gt;. The fully-qualified-name could be defined in the inscription mask of the process. The file is generated by the project builder 'Ivy Web Serivce Process Class Builder', which is defined in the project properties -&amp;gt; builders.&lt;/p&gt;
&lt;p&gt;The generaded file is annotated with &lt;code&gt;@javax.jws.WebService&lt;/code&gt;. This annotation has the property &lt;code&gt;targetNamespace&lt;/code&gt; which allows to define the webserivce namespace, as asked in the question. But per default this property is not set and could not be configuration in the inscription mask.&lt;/p&gt;
&lt;p&gt;Because the file gets recreaed when the process changes, in could not be changed directly. Therefore the java file has to be copied to the &lt;code&gt;src&lt;/code&gt;-folder of your project and the file in the &lt;code&gt;src_wsproc&lt;/code&gt;-folder has to be deleted. The version in the &lt;code&gt;src&lt;/code&gt;-folder could be configured/changed as requested. BUT it has to be in line with the configuration of the WS Start Elements. Its now under control of the developer - means, when a WS Start Element configuration changes, the change has to be adapted in the java file too!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Axon.ivy &amp;gt;= 6.5&lt;/strong&gt;
The java file in the &lt;code&gt;src_wsproc&lt;/code&gt;-folder gets not recreated anymore, because the project specific file in the &lt;code&gt;src&lt;/code&gt;-folder will be recognized ;-)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Axon.ivy &amp;lt; 6.5&lt;/strong&gt;
The java file in the &lt;code&gt;src_wsproc&lt;/code&gt;-folder gets recreatd as soon the process changes. So it has to be deleted by the developer again and again. Or the corrsponding builder is disabled, but then NO WS Process Java files of this project would be generaded any more...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; of the annotation on the corresponding class:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;@javax.jws.WebService(targetNamespace="http://sap.com/xi/IDEIM")
public class MySAPWebService extends ch.ivyteam.ivy.webservice.process.restricted.AbstractWebServiceProcess
{
  ...
}
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Flavio Sadeghi</dc:creator><pubDate>Wed, 07 Dec 2016 16:05:06 -0500</pubDate><guid>https://answers.axonivy.com/questions/2245/fully-qualified-name-of-webservice-including-sign/2253</guid></item></channel></rss>