<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Mocking SOAP web services</title><link>https://answers.axonivy.com/questions/2936/mocking-soap-web-services</link><description>&lt;p&gt;My Ivy project needs to call a SOAP web service but I can’t connect to the server where this web service runs. The only thing I have is the corresponding .wsdl file.&lt;/p&gt;
&lt;p&gt;Can I use it to mock the web service for development and testing?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2936/mocking-soap-web-services" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 29 Mar 2018 08:04:26 -0400</lastBuildDate><item><title>Comment by Reguel Wermelinger on Barbara Brugger's answer</title><link>https://answers.axonivy.com/questions/2936/mocking-soap-web-services#3162</link><description>&lt;p&gt;this is a very cool feature. Its also documented here: &lt;a href="https://www.soapui.org/soap-mocking/service-mocking-overview.html"&gt;https://www.soapui.org/soap-mocking/service-mocking-overview.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'd hope more dev adapt this cool way of development against soap services.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 29 Mar 2018 08:04:26 -0400</pubDate><guid>https://answers.axonivy.com/questions/2936/mocking-soap-web-services#3162</guid></item><item><title>Answer by Barbara Brugger</title><link>https://answers.axonivy.com/questions/2936/mocking-soap-web-services/2937</link><description>&lt;p&gt;Yes, this is possible:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download SoapUI from
    &lt;a href="https://www.soapui.org/downloads/soapui.html"&gt;https://www.soapui.org/downloads/soapui.html&lt;/a&gt;
    (take SoapUI OpenSource).   &lt;/li&gt;
&lt;li&gt;Open SoapUI&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create new SOAP project:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h40_09.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Type in a project name and browse for your .wsdl file:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h44_40.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the tree on the left, right click on the endpoint you want to test and choose “Generate SOAP Mock service”:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h46_56.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check or uncheck your desired operations and modify path and port as you like. Tick the option “Starts the MockService immediately”: &lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h49_33.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify the name of your MockService:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h50_11.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now your mock service is running. Check it by navigate to the set path and port on localhost:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h52_01.png"&gt; Click on the link to get the local .wsdl file: &lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_15h52_42_ToZGfMY.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now you can test or develop against your mock service:&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/2017-10-27_16h19_45.png"&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Barbara Brugger</dc:creator><pubDate>Fri, 27 Oct 2017 10:28:52 -0400</pubDate><guid>https://answers.axonivy.com/questions/2936/mocking-soap-web-services/2937</guid></item></channel></rss>