Questions Tagged With xmlhttps://answers.axonivy.com/tags/xml/?type=rss&user=Bj%C3%B6rnquestions tagged <span class="tag">xml</span>enFri, 06 Dec 2013 14:03:36 -0500XMLStreamException while calling a SOAP webservicehttps://answers.axonivy.com/questions/172/xmlstreamexception-while-calling-a-soap-webservice<pre><code>I want to use a webservice, which I created in Inubit. The WSDL URL is [http://venus.zhaw.ch:8000/ibis/ws/Betreibungsregisterauszug_ws_Listener?wsdl][1]. When I test the service in [soapUI][2] everything works fine (see picture). </code></pre> <p><img alt="alt text" src="/upfiles/picture1.png"></p> <pre><code>When I test the service in Xpert.ivy Designer 5.1.0 S6, I get the error javax.xml.stream.XMLStreamException: element text content may not contain START_ELEMENT. What could be the reason for this error? </code></pre> <p><img alt="alt text" src="/upfiles/picture2.png"></p> <p><img alt="alt text" src="/upfiles/picture3.png"></p> <pre><code>Here is the XML Request in soapUI: POST http://venus.zhaw.ch:8000/ibis/ws/Betreibungsregisterauszug_ws_Listener HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "BetreibungsregisterauszugErhalten" Content-Length: 352 Host: venus.zhaw.ch:8000 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bet="https://venus.zhaw.ch:8443/ibis/ws/1383213506125/Betreibungsregisterauszug_ws_Listener"&gt; &lt;soapenv:Header/&gt; &lt;soapenv:Body&gt; &lt;bet:BetreibungsregisterauszugErhalten&gt;CH450234&lt;/bet:BetreibungsregisterauszugErhalten&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <ul> <li><a href="http://youtu.be/HhWzQLEylII?hd=1">Link to screencast explaining the problem (german only)</a></li> <li><a href="http://youtu.be/uKkJFXZ98P0?hd=1">Link to 2nd screencast with new findings</a></li> <li><a href="https://www.dropbox.com/s/6zxd079rdh8ih3p/TEMPTestWebservice.iar">Link to Xpert.ivy project (iar-file)</a></li> </ul>BjörnFri, 06 Dec 2013 14:03:36 -0500https://answers.axonivy.com/questions/172/xmlstreamexception-while-calling-a-soap-webservicexmlwebservice