<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to call a webservice directly from Java (without webservice library)</title>
	<atom:link href="http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: ance33</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6819</link>
		<dc:creator>ance33</dc:creator>
		<pubDate>Wed, 01 Feb 2012 11:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6819</guid>
		<description><![CDATA[Hi!
In your example url address is &lt;code&gt;wsURL = &lt;/code&gt;&lt;code&gt;&quot;http://www.deeptraining.com/webservices/weather.asmx ,it&#039;s .asmx extension, and your &lt;/code&gt;&lt;code&gt;xmlInput =&lt;/code&gt;




&lt;code&gt;13&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â  &lt;soapenv:Envelope xmlns:soapenv=\&quot;&lt;a href=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; rel=&quot;nofollow&quot;&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/a&gt;\&quot; xmlns:web=\&quot;&lt;a href=&quot;http://litwinconsulting.com/webservices/&quot; rel=&quot;nofollow&quot;&gt;http://litwinconsulting.com/webservices/&lt;/a&gt;\&quot;&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;14&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â  &lt;soapenv:Header/&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;15&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â  &lt;soapenv:Body&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;16&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â Â Â Â  &lt;web:GetWeather&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;17&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â Â Â Â Â Â Â  &lt;!--Optional:--&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;18&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â Â Â Â Â Â Â  &lt;web:City&gt;&quot;&lt;/code&gt; &lt;code&gt;+ city + &lt;/code&gt;&lt;code&gt;&quot;&lt;/web:City&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;19&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â Â Â Â  &lt;/web:GetWeather&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;20&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â Â  &lt;/soapenv:Body&gt;\n&quot;&lt;/code&gt; &lt;code&gt;+&lt;/code&gt;








&lt;code&gt;21&lt;/code&gt;
&lt;code&gt; &lt;/code&gt;&lt;code&gt;&quot;Â  &lt;/soapenv:Envelope&gt;&quot;&lt;/code&gt;




&lt;code&gt; But, if I&#039;ve url address with .aspx extension,where are my methods,how I to create xmlInput?&lt;/code&gt;
&lt;code&gt;BR,Ana
&lt;/code&gt;
&lt;code&gt;&lt;a href=&quot;http://www.deeptraining.com/webservices/weather.asmx&quot; rel=&quot;nofollow&quot;&gt;
&lt;/a&gt;&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Hi!<br />
In your example url address is <code>wsURL = </code><code>"http://www.deeptraining.com/webservices/weather.asmx ,it's .asmx extension, and your </code><code>xmlInput =</code></p>
<p><code>13</code><br />
<code> </code><code>"Â  &lt;soapenv:Envelope xmlns:soapenv=\"<a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>\" xmlns:web=\"<a href="http://litwinconsulting.com/webservices/" rel="nofollow">http://litwinconsulting.com/webservices/</a>\"&gt;\n"</code> <code>+</code></p>
<p><code>14</code><br />
<code> </code><code>"Â Â  &lt;soapenv:Header/&gt;\n"</code> <code>+</code></p>
<p><code>15</code><br />
<code> </code><code>"Â Â  &lt;soapenv:Body&gt;\n"</code> <code>+</code></p>
<p><code>16</code><br />
<code> </code><code>"Â Â Â Â Â  &lt;web:GetWeather&gt;\n"</code> <code>+</code></p>
<p><code>17</code><br />
<code> </code><code>"Â Â Â Â Â Â Â Â  &lt;!--Optional:--&gt;\n"</code> <code>+</code></p>
<p><code>18</code><br />
<code> </code><code>"Â Â Â Â Â Â Â Â  &lt;web:City&gt;"</code> <code>+ city + </code><code>"&lt;/web:City&gt;\n"</code> <code>+</code></p>
<p><code>19</code><br />
<code> </code><code>"Â Â Â Â Â  &lt;/web:GetWeather&gt;\n"</code> <code>+</code></p>
<p><code>20</code><br />
<code> </code><code>"Â Â  &lt;/soapenv:Body&gt;\n"</code> <code>+</code></p>
<p><code>21</code><br />
<code> </code><code>"Â  &lt;/soapenv:Envelope&gt;"</code></p>
<p><code> But, if I've url address with .aspx extension,where are my methods,how I to create xmlInput?</code><br />
<code>BR,Ana<br />
</code><br />
<code><a href="http://www.deeptraining.com/webservices/weather.asmx" rel="nofollow"><br />
</a></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6818</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 26 Jan 2012 17:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6818</guid>
		<description><![CDATA[This is very close to something we are working on would it be possible to use something like this but add input boxs for the SOAP request for user testing?]]></description>
		<content:encoded><![CDATA[<p>This is very close to something we are working on would it be possible to use something like this but add input boxs for the SOAP request for user testing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Houweling</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6817</link>
		<dc:creator>Frank Houweling</dc:creator>
		<pubDate>Fri, 13 Jan 2012 14:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6817</guid>
		<description><![CDATA[Hi Gulshan, thanks for your reply.
In the code above I didn&#039;t set the HTTP request property:
//httpConn.setRequestProperty(&quot;SOAPAction&quot;, SOAPAction);
But you are right, it was maybe a little confusing... I&#039;ve adjusted it.]]></description>
		<content:encoded><![CDATA[<p>Hi Gulshan, thanks for your reply.<br />
In the code above I didn&#8217;t set the HTTP request property:<br />
//httpConn.setRequestProperty(&#8220;SOAPAction&#8221;, SOAPAction);<br />
But you are right, it was maybe a little confusing&#8230; I&#8217;ve adjusted it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gulshan</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6816</link>
		<dc:creator>gulshan</dc:creator>
		<pubDate>Wed, 11 Jan 2012 17:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6816</guid>
		<description><![CDATA[in the above program You are expecting that the .asmx file is also define by the String wsURL = &lt;code&gt;&quot;&lt;a href=&quot;http://www.deeptraining.com/webservices/weather.asmx&quot; rel=&quot;nofollow&quot;&gt;http://www.deeptraining.com/webservices/weather.asmx&lt;/a&gt;&quot;&lt;/code&gt;&lt;code&gt;; &lt;/code&gt;andÂ  the Soap Action is also there
String SOAPAction = &quot;&lt;a href=&quot;http://litwinconsulting.com/webservices/GetWeather&quot; rel=&quot;nofollow&quot;&gt;http://litwinconsulting.com/webservices/GetWeather&lt;/a&gt;&quot;;Â Â 

how would u callÂ Â the Webserice there is no .asmx file]]></description>
		<content:encoded><![CDATA[<p>in the above program You are expecting that the .asmx file is also define by the String wsURL = <code>"<a href="http://www.deeptraining.com/webservices/weather.asmx" rel="nofollow">http://www.deeptraining.com/webservices/weather.asmx</a>"</code><code>; </code>andÂ  the Soap Action is also there<br />
String SOAPAction = &#8220;<a href="http://litwinconsulting.com/webservices/GetWeather" rel="nofollow">http://litwinconsulting.com/webservices/GetWeather</a>&#8220;;Â Â </p>
<p>how would u callÂ Â the Webserice there is no .asmx file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeBO</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6815</link>
		<dc:creator>SeBO</dc:creator>
		<pubDate>Fri, 25 Nov 2011 13:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6815</guid>
		<description><![CDATA[THX. I save a lot of work ;)]]></description>
		<content:encoded><![CDATA[<p>THX. I save a lot of work <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Houweling</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6814</link>
		<dc:creator>Frank Houweling</dc:creator>
		<pubDate>Sat, 19 Nov 2011 11:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6814</guid>
		<description><![CDATA[Hi Ram,
Do you get aÂ SocketTimeoutException?
You could try and catch (and handle) this exception .
Regards, Frank]]></description>
		<content:encoded><![CDATA[<p>Hi Ram,<br />
Do you get aÂ SocketTimeoutException?<br />
You could try and catch (and handle) this exception .<br />
Regards, Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram</title>
		<link>http://technology.amis.nl/2011/06/29/how-to-call-a-call-a-webservice-directly-from-java-without-webservice-library/#comment-6813</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Sat, 12 Nov 2011 08:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=12531#comment-6813</guid>
		<description><![CDATA[Hi Frank ,
Thanks for the Excellent and detailed project shared with the global user community .
I would like to mention a draw backs with the approachÂ  .
The above code hangs in scenarios where the Webservice provider is un responsive. To be more specific httpConn.getInputStream() function would make the thread to hang until the input stream is totally read.
Let me know your thoughts on how this can be handled.
Thanks &amp; Regards
Ram]]></description>
		<content:encoded><![CDATA[<p>Hi Frank ,<br />
Thanks for the Excellent and detailed project shared with the global user community .<br />
I would like to mention a draw backs with the approachÂ  .<br />
The above code hangs in scenarios where the Webservice provider is un responsive. To be more specific httpConn.getInputStream() function would make the thread to hang until the input stream is totally read.<br />
Let me know your thoughts on how this can be handled.<br />
Thanks &amp; Regards<br />
Ram</p>
]]></content:encoded>
	</item>
</channel>
</rss>
