<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Problem with German Umlaut in a Web Service wsdl</title><link>https://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdl</link><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;I have to call a SOAP WebService provided by SAP Business Objects that contains a complex type definition with Germain Umlaut in the wsdl. If I try to generate the webservice client configuration in ivy I get: 
Error decoding WSDL: java.lang.Exception: Compile error...&lt;/p&gt;
&lt;p&gt;It is obvious, that the generated Java code containing the Umlaut characters can not be compiled.&lt;/p&gt;
&lt;p&gt;I know the workaround to call a WebService using Java with tools like SoapUI, but I wonder if there is a way to do it with standard ivy means.&lt;/p&gt;
&lt;p&gt;Any hints are welcome.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdl" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 19 Jun 2017 06:58:17 -0400</lastBuildDate><item><title>Answer by Bruno Bütler</title><link>https://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdl/2709</link><description>&lt;p&gt;Finally I found a way to get this working with some manual actions. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First of all change the "text file encoding" in the property
    settings of the ivy project to UTF-8&lt;/li&gt;
&lt;li&gt;Change manually the Umlaut characters in the wsdl. i.e. Save the
    wsdl into a file and search/replace
    the Umlauts.&lt;/li&gt;
&lt;li&gt;Using the modified wsdl,  it should be possible to generate the
    web service configuration. As a
    result you will find a
    &lt;code&gt;wsClient_nnnnnn.jar&lt;/code&gt; and
    &lt;code&gt;wsClient_nnnnnn.wsdl&lt;/code&gt; file in the
    &lt;code&gt;lib_ws/client&lt;/code&gt; folder in the
    project. &lt;/li&gt;
&lt;li&gt;Generate the web service configuration a second time using
    the original wsdl. The compile error
    will still occur, but in the user
    home directory (e.g.
    &lt;code&gt;C:\Users\XYZ\AppData\Local\Temp&lt;/code&gt;)
    you will found a folder &lt;code&gt;tempnnnnnn&lt;/code&gt;
    with the generated java code that
    includes the Umlaut characters. &lt;/li&gt;
&lt;li&gt;Copy/paste the content of the &lt;code&gt;tempnnnnnn&lt;/code&gt; folder into the &lt;code&gt;/src_ws&lt;/code&gt; folder of
    your ivy project and delete the
    &lt;code&gt;wsClient_nnnnnn.jar&lt;/code&gt; in the
    &lt;code&gt;lib_ws/client&lt;/code&gt; folder. And as last
    step remove the
    &lt;code&gt;wsClient_nnnnnn.jar&lt;/code&gt; from the
    Java Build Path of the project.&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno Bütler</dc:creator><pubDate>Mon, 19 Jun 2017 06:58:17 -0400</pubDate><guid>https://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdl/2709</guid></item></channel></rss>