<?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: Intercepting web service calls with a custom Metro Tube</title>
	<atom:link href="http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/feed/" rel="self" type="application/rss+xml" />
	<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/</link>
	<description></description>
	<lastBuildDate>Tue, 22 Nov 2011 20:23:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Custom tubes sample for Metro &#171; Marek Potociar&#039;s Blog</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-205</link>
		<dc:creator>Custom tubes sample for Metro &#171; Marek Potociar&#039;s Blog</dc:creator>
		<pubDate>Tue, 01 Feb 2011 14:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-205</guid>
		<description>[...] custom-tubes sample to the Metro/WSIT sample collection. It is based on one of my previous posts on intercepting web service calls in Metro using custom tubes. I have tested the sample with GlassFish 3.1-b40 and latest Metro 2.1 standalone bundle used on [...]</description>
		<content:encoded><![CDATA[<p>[...] custom-tubes sample to the Metro/WSIT sample collection. It is based on one of my previous posts on intercepting web service calls in Metro using custom tubes. I have tested the sample with GlassFish 3.1-b40 and latest Metro 2.1 standalone bundle used on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marek Potociar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-166</link>
		<dc:creator>Marek Potociar</dc:creator>
		<pubDate>Fri, 28 Jan 2011 10:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-166</guid>
		<description>Hi Adair,
I suggest to send this question to the &lt;a href=&quot;mailto:<span class="mh-email">use<a href='http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=' onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@metro.java.net</span>&quot; rel=&quot;nofollow&quot;&gt;<span class="mh-email">use<a href='http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=' onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@metro.java.net</span>&lt;/a&gt; mailing list. It would be very useful if you could also provide a reproducible test case for the issue that you see. Also, please don&#039;t forget to specify Metro version and GlassFish/Tomcat version you use to run the code.

Marek</description>
		<content:encoded><![CDATA[<p>Hi Adair,<br />
I suggest to send this question to the <span class="mh-email">use<a href='http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=' onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k=01HW4kJZS9YAPLJ8OJyVTFjw==&amp;c=KLq5w0NuEla5GBe_m4Fr5-HrwQIyJLBYkt__xmVkTH4=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@metro.java.net</span> mailing list. It would be very useful if you could also provide a reproducible test case for the issue that you see. Also, please don&#8217;t forget to specify Metro version and GlassFish/Tomcat version you use to run the code.</p>
<p>Marek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adair</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-163</link>
		<dc:creator>Adair</dc:creator>
		<pubDate>Fri, 10 Dec 2010 18:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-163</guid>
		<description>Hi Marek,
I&#039;m trying to modify the payload in processRequest, so   Message message = request.getMessage(); and
 SOAPMessage msg = message.readAsSOAPMessage(); but an error at the end of the method java.lang.NullPointerException at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.getEventType(XMLStreamReaderFilter.java:76).
How modify the payload in processRequest?
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Marek,<br />
I&#8217;m trying to modify the payload in processRequest, so   Message message = request.getMessage(); and<br />
 SOAPMessage msg = message.readAsSOAPMessage(); but an error at the end of the method java.lang.NullPointerException at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.getEventType(XMLStreamReaderFilter.java:76).<br />
How modify the payload in processRequest?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-157</link>
		<dc:creator>Gunnar</dc:creator>
		<pubDate>Wed, 10 Mar 2010 09:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-157</guid>
		<description>Hi Marek,

good idea. I created an enhancement request:

&lt;a href=&quot;//jax-ws.dev.java.net/issues/show_bug.cgi?id=839\&quot; rel=&quot;nofollow&quot;&gt;https://jax-ws.dev.java.net/issues/show_bug.cgi?id=839&lt;/a&gt;

Do you know already, when there will be an updated GF/Metro roadmap?</description>
		<content:encoded><![CDATA[<p>Hi Marek,</p>
<p>good idea. I created an enhancement request:</p>
<p><a href="//jax-ws.dev.java.net/issues/show_bug.cgi?id=839\" rel="nofollow">https://jax-ws.dev.java.net/issues/show_bug.cgi?id=839</a></p>
<p>Do you know already, when there will be an updated GF/Metro roadmap?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marek Potociar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-155</link>
		<dc:creator>Marek Potociar</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-155</guid>
		<description>Hi Gunnar,
currently it is difficult to tell. At present we are working on the future roadmap for Metro and GlassFish. But it would be certainly good if you could &lt;a href=&quot;https://wsit.dev.java.net/servlets/ProjectIssues&quot; rel=&quot;nofollow&quot;&gt;submit an new request for enhancement&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hi Gunnar,<br />
currently it is difficult to tell. At present we are working on the future roadmap for Metro and GlassFish. But it would be certainly good if you could <a href="https://wsit.dev.java.net/servlets/ProjectIssues" rel="nofollow">submit an new request for enhancement</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-154</link>
		<dc:creator>Gunnar</dc:creator>
		<pubDate>Tue, 09 Mar 2010 14:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-154</guid>
		<description>Hi Marek,

thanks for the very informative post. This helped me a lot when customizing Metro&#039;s schema validation feature to make it runtime-configurable:

&lt;a href=&quot;http://musingsofaprogrammingaddict.blogspot.com/2010/03/runtime-configuration-of-schema.html&quot; rel=&quot;nofollow&quot;&gt;http://musingsofaprogrammingaddict.blogspot.com/2010/03/runtime-configuration-of-schema.html&lt;/a&gt;

Do you see any chance to get something like this integrated into Metro itself?</description>
		<content:encoded><![CDATA[<p>Hi Marek,</p>
<p>thanks for the very informative post. This helped me a lot when customizing Metro&#8217;s schema validation feature to make it runtime-configurable:</p>
<p><a href="http://musingsofaprogrammingaddict.blogspot.com/2010/03/runtime-configuration-of-schema.html" rel="nofollow">http://musingsofaprogrammingaddict.blogspot.com/2010/03/runtime-configuration-of-schema.html</a></p>
<p>Do you see any chance to get something like this integrated into Metro itself?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marek Potociar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-149</link>
		<dc:creator>Marek Potociar</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-149</guid>
		<description>Since Tube is not a public API, it is not documented for external users. But there are numerous blogs on that topic from my colleagues. Try googling for &quot;tubes jaxws&quot; and you should find some useful links.</description>
		<content:encoded><![CDATA[<p>Since Tube is not a public API, it is not documented for external users. But there are numerous blogs on that topic from my colleagues. Try googling for &#8220;tubes jaxws&#8221; and you should find some useful links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiong wei</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-148</link>
		<dc:creator>xiong wei</dc:creator>
		<pubDate>Mon, 16 Nov 2009 15:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-148</guid>
		<description>hi， Marek
  I have interest in metro tube, but I do not know where to get tutorial for tube. could u help provide some resource location? thanks</description>
		<content:encoded><![CDATA[<p>hi， Marek<br />
  I have interest in metro tube, but I do not know where to get tutorial for tube. could u help provide some resource location? thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marek Potociar</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-147</link>
		<dc:creator>Marek Potociar</dc:creator>
		<pubDate>Mon, 16 Nov 2009 13:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-147</guid>
		<description>I did place my tube into $AS_HOME/lib so that it is available to ALL web services deployed on the GF instance. Normally, it should be sufficient to bundle your metro.xml config file and your tube factory class along with your web services within your application&#039;s WAR</description>
		<content:encoded><![CDATA[<p>I did place my tube into $AS_HOME/lib so that it is available to ALL web services deployed on the GF instance. Normally, it should be sufficient to bundle your metro.xml config file and your tube factory class along with your web services within your application&#8217;s WAR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://marek.potociar.net/2009/10/19/custom-metro-tube-interceptor/comment-page-1/#comment-146</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://marek.potociar.net/?p=76#comment-146</guid>
		<description>Oh, I&#039;ve just read that you had placed your tube in AS_HOME/lib directory...

But wan&#039;t to notice that we have to do it because factory classes cannot be loaded. Configuration file is read perfectly (It&#039;s done by the special loader class MetroConfigLoader). And only different classloaders make us to place jars to AS_HOME/lib. Hope this will be fixed...</description>
		<content:encoded><![CDATA[<p>Oh, I&#8217;ve just read that you had placed your tube in AS_HOME/lib directory&#8230;</p>
<p>But wan&#8217;t to notice that we have to do it because factory classes cannot be loaded. Configuration file is read perfectly (It&#8217;s done by the special loader class MetroConfigLoader). And only different classloaders make us to place jars to AS_HOME/lib. Hope this will be fixed&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

