<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I evalute webservice response?</title><link>https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response</link><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I use webservices to integrate into SAP. Integration works, but I cannot read the response.
How can I evaluate webservice the response, I can see when using the test-function?&lt;/p&gt;
&lt;p&gt;Thanks for Your answers
Richard Schmid&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 07 Dec 2015 14:51:23 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response/1587</link><description>&lt;p&gt;With ivy 6.0.0 you can inspect the ws reponse with the runtime log. By default webservice calls log the reponse with detailed information (including soap xml). &lt;/p&gt;
&lt;p&gt;The log in my internal demo environment looks as follows. &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;*** SOAP Request ***
POST /axis2/services/IvyEchoService.IvyEchoServiceHttpEndpoint/echoString HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
SOAPAction: ""
User-Agent: Axis2
Host: zugtstweb:8080
Content-Length: 18

message=hi service
*** SOAP Response ***
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 07 Dec 2015 13:44:03 GMT
79
&amp;lt;ns:echoStringResponse xmlns:ns="urn:schema.ws.test.ivyteam.ch"&amp;gt;&amp;lt;ns:return&amp;gt;hi service&amp;lt;/ns:return&amp;gt;&amp;lt;/ns:echoStringResponse&amp;gt;
0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/saentisWsLog.PNG"&gt;&lt;/p&gt;
&lt;p&gt;As the Axis2 webservice client generator was broken with 6.0.0 you may have to generate the stubs with 5.1.x and then import to 6.0.0.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 07 Dec 2015 14:51:23 -0500</pubDate><guid>https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response/1587</guid></item><item><title>Answer by roland</title><link>https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response/1580</link><description>&lt;p&gt;Hello Richard,&lt;/p&gt;
&lt;p&gt;in our cases it is depending on the function module / webservice you are using.
if the function module in SAP has no export defined the webservice will not response anything.&lt;/p&gt;
&lt;p&gt;Is it a standard FM of SAP?&lt;/p&gt;
&lt;p&gt;if there is any response from SAP you can get it with wsresponse inside the Webservice step of ivy.&lt;/p&gt;
&lt;p&gt;hope this helps a little bit.&lt;/p&gt;
&lt;p&gt;best regards 
Roland&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">roland</dc:creator><pubDate>Fri, 04 Dec 2015 11:35:54 -0500</pubDate><guid>https://answers.axonivy.com/questions/1579/how-can-i-evalute-webservice-response/1580</guid></item></channel></rss>