<?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: Consuming Web Services from PL/SQL &#8211; Part II: A pure PL/SQL solution using UTL_HTTP (Oracle 9i or 10g)</title>
	<atom:link href="http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Roberto</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-480872</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Wed, 17 Aug 2011 15:40:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-480872</guid>
		<description>plase... your answer!</description>
		<content:encoded><![CDATA[<p>plase&#8230; your answer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-480852</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Wed, 10 Aug 2011 19:55:46 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-480852</guid>
		<description>Hi
i need call a wcf service. Your code is ok but i need to define the &quot;behaviors&quot; setting, in other words, the contract between service and the package oracle.

how i do that?

thx u
 
Robert</description>
		<content:encoded><![CDATA[<p>Hi<br />
i need call a wcf service. Your code is ok but i need to define the &#8220;behaviors&#8221; setting, in other words, the contract between service and the package oracle.</p>
<p>how i do that?</p>
<p>thx u<br />
 <br />
Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-348090</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sun, 01 Mar 2009 14:37:49 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-348090</guid>
		<description>I was trying to invoke a HelloWorld program.
The HelloWorld program has the process operation that needs to be called.  
I was getting the following error

env:Serverjava.lang.NullPointerException


Then I changed the code
  utl_http.set_header(http_req, &#039;SOAPAction&#039;, &#039;&#039;); -- required to specify this is a SOAP communication

to 
  utl_http.set_header(http_req, &#039;SOAPAction&#039;, &#039;process&#039;); -- required to specify this is a SOAP communication

and it worked.</description>
		<content:encoded><![CDATA[<p>I was trying to invoke a HelloWorld program.<br />
The HelloWorld program has the process operation that needs to be called.<br />
I was getting the following error</p>
<p>env:Serverjava.lang.NullPointerException</p>
<p>Then I changed the code<br />
  utl_http.set_header(http_req, &#8216;SOAPAction&#8217;, &#8221;); &#8212; required to specify this is a SOAP communication</p>
<p>to<br />
  utl_http.set_header(http_req, &#8216;SOAPAction&#8217;, &#8216;process&#8217;); &#8212; required to specify this is a SOAP communication</p>
<p>and it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-348088</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sun, 01 Mar 2009 13:46:03 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-348088</guid>
		<description>Got the following error
Error report:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: &#039;/env:Envelop&#039;
ORA-06512: at &quot;SYS.XMLTYPE&quot;, line 119
ORA-06512: at line 34

The reason is:

  resp:= resp.extract(&#039;/soap:Envelop/soap:Body/child::node()&#039;
                   , &#039;xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&#039;
                   );

Envelop is to be spelt as Envelope.  This is as per the response message</description>
		<content:encoded><![CDATA[<p>Got the following error<br />
Error report:<br />
ORA-31011: XML parsing failed<br />
ORA-19202: Error occurred in XML processing<br />
LPX-00601: Invalid token in: &#8216;/env:Envelop&#8217;<br />
ORA-06512: at &#8220;SYS.XMLTYPE&#8221;, line 119<br />
ORA-06512: at line 34</p>
<p>The reason is:</p>
<p>  resp:= resp.extract(&#8216;/soap:Envelop/soap:Body/child::node()&#8217;<br />
                   , &#8216;xmlns:soap=&#8221;http://schemas.xmlsoap.org/soap/envelope/&#8221;&#8216;<br />
                   );</p>
<p>Envelop is to be spelt as Envelope.  This is as per the response message</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Godalle</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-346833</link>
		<dc:creator>Ed Godalle</dc:creator>
		<pubDate>Thu, 06 Nov 2008 08:57:59 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-346833</guid>
		<description>I need to crete a code with similar implementation.
I&#039;m calling this web service (https://realtime.gpcatalogue.com/servlet/GPCRealTime?Query=RT03&amp;Count=10&amp;Vendorid=050957364&amp;Productid=104265
) with the RT03,Count and vendorid as inputs. What are the things that I should consider?</description>
		<content:encoded><![CDATA[<p>I need to crete a code with similar implementation.<br />
I&#8217;m calling this web service (<a href="https://realtime.gpcatalogue.com/servlet/GPCRealTime?Query=RT03&amp;Count=10&amp;Vendorid=050957364&amp;Productid=104265" rel="nofollow">https://realtime.gpcatalogue.com/servlet/GPCRealTime?Query=RT03&amp;Count=10&amp;Vendorid=050957364&amp;Productid=104265</a><br />
) with the RT03,Count and vendorid as inputs. What are the things that I should consider?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudio- Genius</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-346784</link>
		<dc:creator>Claudio- Genius</dc:creator>
		<pubDate>Tue, 04 Nov 2008 15:26:09 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-346784</guid>
		<description>Great !!!
I just copied this example, changed the service web configurations, and it worked right away

Thanks Lucas</description>
		<content:encoded><![CDATA[<p>Great !!!<br />
I just copied this example, changed the service web configurations, and it worked right away</p>
<p>Thanks Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Life Insurance blog</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-295902</link>
		<dc:creator>Life Insurance blog</dc:creator>
		<pubDate>Wed, 05 Mar 2008 22:33:49 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-295902</guid>
		<description>&lt;strong&gt;the insurance companies don&#039;t want you to know&lt;/strong&gt;

Information on the life insurance industry</description>
		<content:encoded><![CDATA[<p><strong>the insurance companies don&#8217;t want you to know</strong></p>
<p>Information on the life insurance industry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-265096</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 15 Oct 2007 14:01:46 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-265096</guid>
		<description>I actually used the code above to call a web service for a project that I am working on, except that I had to make one change.  I removed the call to &#039;utl_http.set_header(http_req, &#039;SOAPAction&#039;, &#039;&#039;);&#039;, since it gave me the following error:
Server did not recognize the value of HTTP Header SOAPAction: .</description>
		<content:encoded><![CDATA[<p>I actually used the code above to call a web service for a project that I am working on, except that I had to make one change.  I removed the call to &#8216;utl_http.set_header(http_req, &#8216;SOAPAction&#8217;, &#8221;);&#8217;, since it gave me the following error:<br />
Server did not recognize the value of HTTP Header SOAPAction: .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayaram</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-200493</link>
		<dc:creator>Jayaram</dc:creator>
		<pubDate>Sun, 04 Mar 2007 04:28:35 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-200493</guid>
		<description>Getting the following error when using the sample code

No proxy oracle 9i please help

I am try to execute this function but i can a error: ERROR at line 1: ORA-29273: HTTP request failed ORA-06512: at “SYS.UTL_HTTP”, line 1022 ORA-12545: Connect failed because target host or object does not exist ORA-06512:</description>
		<content:encoded><![CDATA[<p>Getting the following error when using the sample code</p>
<p>No proxy oracle 9i please help</p>
<p>I am try to execute this function but i can a error: ERROR at line 1: ORA-29273: HTTP request failed ORA-06512: at “SYS.UTL_HTTP”, line 1022 ORA-12545: Connect failed because target host or object does not exist ORA-06512:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AMIS Technology blog &#187; Blog Archive &#187; Transaction Dependent Webservice Invocation&#8230;or how to call a webservice from a database trigger and make the call part of the transaction</title>
		<link>http://technology.amis.nl/blog/358/consuming-web-services-from-plsql-part-ii-a-pure-plsql-solution-using-utl_http-oracle-9i-or-10g/comment-page-1#comment-193797</link>
		<dc:creator>AMIS Technology blog &#187; Blog Archive &#187; Transaction Dependent Webservice Invocation&#8230;or how to call a webservice from a database trigger and make the call part of the transaction</dc:creator>
		<pubDate>Thu, 01 Feb 2007 14:09:04 +0000</pubDate>
		<guid isPermaLink="false">/?p=358#comment-193797</guid>
		<description>[...] Transaction Dependent Webservice Invocation&#8230;or how to call a webservice from a database trigger and make the call part of the transaction by Alex Nuijten   One of our clients asked us to help with calling a webservice from a database trigger. This webservice would duplicate the actions done by the database in a different system, SAP in this case. It was a type of &quot;fire-and-forget&quot; webservice. Oracle 10 offers UTL_DBWS to interact with webservices, but the client doesn&#8217;t have an Oracle 10 database. Instead they work with an Oracle 9.2.0.7, so UTL_DBWS could not be used. (While writing this Blog I discovered that UTL_DBWS could be used with an Oracle 9 database, the Oracle-Base website has an article on this subject, more info below.) At first glance, this should be easy to implement. Good thing that my colleague Lucas Jellema wrote a blog on how to call WebServices from PL/SQL, this made things a little easier. [...]</description>
		<content:encoded><![CDATA[<p>[...] Transaction Dependent Webservice Invocation&#8230;or how to call a webservice from a database trigger and make the call part of the transaction by Alex Nuijten   One of our clients asked us to help with calling a webservice from a database trigger. This webservice would duplicate the actions done by the database in a different system, SAP in this case. It was a type of &quot;fire-and-forget&quot; webservice. Oracle 10 offers UTL_DBWS to interact with webservices, but the client doesn&#8217;t have an Oracle 10 database. Instead they work with an Oracle 9.2.0.7, so UTL_DBWS could not be used. (While writing this Blog I discovered that UTL_DBWS could be used with an Oracle 9 database, the Oracle-Base website has an article on this subject, more info below.) At first glance, this should be easy to implement. Good thing that my colleague Lucas Jellema wrote a blog on how to call WebServices from PL/SQL, this made things a little easier. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

