Questions Tagged With soaphttps://answers.axonivy.com/tags/soap/?type=rss&user=SupportIvyTeamquestions tagged <span class="tag">soap</span>enWed, 30 May 2018 09:37:52 -0400Can I avoid 'Unexpected subelement' errors when the service-provider introduces new properties?https://answers.axonivy.com/questions/3294/can-i-avoid-unexpected-subelement-errors-when-the-service-provider-introduces-new-properties<p>I have a soap client call that invokes a remote service. Unfortunately the service provider is updating the service definition frequently and introduces new properties or changes the property order. Therefore I can no longer call it, the mapping of the response fails with:</p> <pre><code>ADBException: Unexpected subelement theID Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement theID AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement theID BpmError: ivy:error:webservice:exception RequestException: ivy:error:webservice:exception Problem while processing request 'http://127.0.0.1:8081/ivy/pro/designer/finElcaUser/163B11CD193F9801/start.ivp' </code></pre> <p>I've also tried the new Webservice stack of Axon.ivy 7.1 based on CXF. But it fails with a similar issue:</p> <pre><code>UnmarshalException: unexpected element (uri:"", local:"theID"). Expected elements are &lt;{}firstname&gt;,&lt;{}lastname&gt; SAXParseException2: unexpected element (uri:"", local:"theID"). Expected elements are &lt;{}firstname&gt;,&lt;{}lastname&gt; javax.xml.bind.UnmarshalException - with linked exception: [com.sun.istack.internal.SAXParseException2; lineNumber: 1; columnNumber: 218; unexpected element (uri:"", local:"theID"). Expected elements are &lt;{}firstname&gt;,&lt;{}lastname&gt;] Fault: Unmarshalling Error: unexpected element (uri:"", local:"theID"). Expected elements are &lt;{}firstname&gt;,&lt;{}lastname&gt; Web Service Element: Call to <a href="http://localhost:8082/ivy/ws/designer/elcaMock/163B11ABE3388EE4">http://localhost:8082/ivy/ws/designer/elcaMock/163B11ABE3388EE4</a> (Operation[name=getPersons,port=DocServicePort,parameters=[]]) failed! </code></pre> <p><strong>Is there any way to read the response in a compliant way and ignore new properties introduced by the provider?</strong> the roundtrip is huge if I have to re-generate the client stack every-time when the provider makes changes.</p>SupportIvyTeamWed, 30 May 2018 09:37:52 -0400https://answers.axonivy.com/questions/3294/can-i-avoid-unexpected-subelement-errors-when-the-service-provider-introduces-new-propertiessoapHow 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-webservicespolicywebservicesoapProblem 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-wsdlwebservicesoapCan I use GIT as Team-Providerhttps://answers.axonivy.com/questions/2610/can-i-use-git-as-team-provider<p>We're shifting our source version control system from SVN to GIT. Now I'm trying to clone ivy projects into my workspace, but it seems like there is no GIT team-provider. Only SVN is provided out of the box. Is there any way to use GIT anyways?</p>SupportIvyTeamWed, 10 May 2017 03:08:31 -0400https://answers.axonivy.com/questions/2610/can-i-use-git-as-team-providerscmgitloggingsoap