Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=ivyUserquestions tagged <span class="tag">webservice</span>enWed, 16 Dec 2015 12:37:37 -0500Get IHttpRequest for SOAP web servicehttps://answers.axonivy.com/questions/1594/get-ihttprequest-for-soap-web-service<p>Hello everyone!</p> <p>I would like to get an object that implements ch.ivyteam.ivy.request.IHttpRequest in order to extract the remote client's hostname. </p> <p>A great solution for this problem has already been described here: <a href="http://answers.axonivy.com/questions/1055/access-ihttprequest-object">http://answers.axonivy.com/questions/1055/access-ihttprequest-object</a></p> <p>It works well when the type is set to "Business Process". However, I cannot cast the ivy.request to an IHttpRequest because it's always a ch.ivyteam.ivy.request.impl.ProcessRequest (since I'm using a different process type called "Web Service Process").</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Process.png"></p> <p>I have also tried to modify the generated JAX-WS class to achieve the same result (with no success so far).</p> <p>What is the right way of doing this under Ivy 5.1?</p> <p>Thank you in advance!</p>ivyUserWed, 16 Dec 2015 12:37:37 -0500https://answers.axonivy.com/questions/1594/get-ihttprequest-for-soap-web-servicewebserviceivysoap