Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=SupportIvyTeamquestions tagged <span class="tag">webservice</span>enWed, 11 Apr 2018 05:44:49 -0400How to avoid policy error when calling SOAP Webserviceshttps://answers.axonivy.com/questions/3185/how-to-avoid-policy-error-when-calling-soap-webservices<p>I'm integrating data from a remote SAP system over SOAP services. The SAP services WSDL contains <code>Policy</code> elements. At runtime the remote call fails with <code>PolicyException: None of the policy alternatives can be satisfied.</code> Does anybody know how to call such a service?</p> <p><img alt="bpmError" src="https://answers.axonivy.com/upfiles/webserviceExceptionPolicy.png"> <img alt="policyWsdl" src="https://answers.axonivy.com/upfiles/wsdlWithOptionalPolicies.png"></p>SupportIvyTeamWed, 11 Apr 2018 05:44:49 -0400https://answers.axonivy.com/questions/3185/how-to-avoid-policy-error-when-calling-soap-webservicespolicywebservicesoapMocking SOAP web serviceshttps://answers.axonivy.com/questions/2936/mocking-soap-web-services<p>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.</p> <p>Can I use it to mock the web service for development and testing?</p>SupportIvyTeamFri, 27 Oct 2017 10:20:49 -0400https://answers.axonivy.com/questions/2936/mocking-soap-web-servicestestwebserviceProblem with German Umlaut in a Web Service wsdlhttps://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdl<p>Hi all</p> <p>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...</p> <p>It is obvious, that the generated Java code containing the Umlaut characters can not be compiled.</p> <p>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.</p> <p>Any hints are welcome.</p>SupportIvyTeamMon, 19 Jun 2017 06:27:50 -0400https://answers.axonivy.com/questions/2707/problem-with-german-umlaut-in-a-web-service-wsdlwebservicesoapHow can I enable webservice call SOAP request and respons logging on the eningehttps://answers.axonivy.com/questions/2004/how-can-i-enable-webservice-call-soap-request-and-respons-logging-on-the-eninge<p>With Axon.ivy 6.0 it is possible to see the webservice call SOAP request and response in the designer log! How can I enable this debug log on the engine/server. <img alt="Webservice Log in Designer" src="http://answers.axonivy.com/upfiles/saentisWsLog_0zryxVK.PNG"></p>SupportIvyTeamMon, 05 Sep 2016 15:49:05 -0400https://answers.axonivy.com/questions/2004/how-can-i-enable-webservice-call-soap-request-and-respons-logging-on-the-eningeloggingwebserviceHow can I change the unknown namespace in the WSDL of a Web Servicehttps://answers.axonivy.com/questions/1286/how-can-i-change-the-unknown-namespace-in-the-wsdl-of-a-web-service<p>I created a new Web Service Process with Ivy. This was very easy to create a new Web Service. But the WSDL contains "http://unknown.namespace/" as namespace. How can I change this to a nice name?</p> <p>Example WSDL with unknown namespace: </p><pre><code>&lt;wsdl:definitions ... xmlns:tns="<a href='http://unknown.namespace/"'>http://unknown.namespace/"</a> ... targetNamespace="<a href='http://unknown.namespace/">'>http://unknown.namespace/"&gt;</a> &lt;wsdl:types&gt; &lt;xs:schema xmlns:tns="<a href='http://unknown.namespace/"'>http://unknown.namespace/"</a> ... targetNamespace="<a href='http://unknown.namespace/"'>http://unknown.namespace/"</a> version="1.0"&gt; ... &lt;/xsd:schema&gt; &lt;/wsdl:types&gt; ... &lt;/wsdl:definitions&gt;</code></pre><p></p>SupportIvyTeamThu, 23 Apr 2015 14:11:08 -0400https://answers.axonivy.com/questions/1286/how-can-i-change-the-unknown-namespace-in-the-wsdl-of-a-web-servicewebserviceHow can I make a parameter of a webservice process required?https://answers.axonivy.com/questions/925/how-can-i-make-a-parameter-of-a-webservice-process-required<p>Normally the definition in the WSDL says minOccurs="0" which means optional, how can this be changed. See example part of a WSDL:</p> <pre><code>&lt;xs:sequence&gt; &lt;xs:element minOccurs="0" name="param" type="xs:string"/&gt; &lt;/xs:sequence&gt; </code></pre>SupportIvyTeamMon, 18 Aug 2014 16:33:02 -0400https://answers.axonivy.com/questions/925/how-can-i-make-a-parameter-of-a-webservice-process-requiredprocesswebserviceHow to use MTOM in Ivy web service callhttps://answers.axonivy.com/questions/483/how-to-use-mtom-in-ivy-web-service-call<p>I need to use MTOM in web service calls. How can I do that?</p>SupportIvyTeamThu, 14 Nov 2013 08:01:01 -0500https://answers.axonivy.com/questions/483/how-to-use-mtom-in-ivy-web-service-callwebservice