<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-12168038.post1434240739728511843..comments</id><updated>2009-12-12T02:13:36.685+05:30</updated><title type='text'>Comments on Vinod Singh: Using JAX-WS Handlers</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vinodsingh.com/feeds/1434240739728511843/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html'/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12168038.post-5364091571319187322</id><published>2009-12-12T02:13:36.685+05:30</published><updated>2009-12-12T02:13:36.685+05:30</updated><title type='text'>Can you shed some light on how to pass the values ...</title><content type='html'>Can you shed some light on how to pass the values through the messagecontext? from the client to the handler?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/5364091571319187322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/5364091571319187322'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1260564216685#c5364091571319187322' title=''/><author><name>prabahar</name><uri>http://www.blogger.com/profile/15490366388071563850</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1107953148599981382</id><published>2009-09-16T12:28:25.081+05:30</published><updated>2009-09-16T12:28:25.081+05:30</updated><title type='text'>Thanks again Vinod.

I registered both SOAP and lo...</title><content type='html'>Thanks again Vinod.&lt;br /&gt;&lt;br /&gt;I registered both SOAP and logical handlers, but the exception is already thrown before the handler is called for the response.&lt;br /&gt;&lt;br /&gt;If it were possible to register a filter, that would probably work, however I can&amp;#39;t find a way to access the HTTP level objects that the JAX webservice will use for the call, it appears they aren&amp;#39;t exposed.&lt;br /&gt;&lt;br /&gt;Appreciate your responses, thank you.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1107953148599981382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1107953148599981382'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1253084305081#c1107953148599981382' title=''/><author><name>James Weakley</name><uri>http://www.blogger.com/profile/10668140239241212479</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-8847168681743317037</id><published>2009-09-16T12:15:02.447+05:30</published><updated>2009-09-16T12:15:02.447+05:30</updated><title type='text'>James,

Handlers can be attached on client side as...</title><content type='html'>James,&lt;br /&gt;&lt;br /&gt;Handlers can be attached on client side as well, see &lt;a href="https://jax-ws.dev.java.net/nonav/2.1.7/docs/handlers.html" rel="nofollow" rel="nofollow"&gt;here&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8847168681743317037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8847168681743317037'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1253083502447#c8847168681743317037' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1481181838220747051</id><published>2009-09-16T12:03:17.872+05:30</published><updated>2009-09-16T12:03:17.872+05:30</updated><title type='text'>Thanks Vinod.

I'm talking about the client side, ...</title><content type='html'>Thanks Vinod.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m talking about the client side, and I&amp;#39;m calling the service from a J2SE client.&lt;br /&gt;&lt;br /&gt;So it&amp;#39;s the response from the server that i&amp;#39;m interesting in handling. Sometimes the remote server returns 500 with an HTML error page rather than SOAP. The resulting UnsupportedMediaException&lt;br /&gt;(Unsupported Content-Type: text/html) doesn&amp;#39;t have the page contents in it, which I&amp;#39;d like to be able to log so that we know what was returned instead of the SOAP response.&lt;br /&gt;&lt;br /&gt;I didn&amp;#39;t think it was possible to add filters in these situations, but hopefully I&amp;#39;m wrong.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1481181838220747051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1481181838220747051'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1253082797872#c1481181838220747051' title=''/><author><name>James Weakley</name><uri>http://www.blogger.com/profile/10668140239241212479</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-6253408168951454133</id><published>2009-09-16T11:46:57.148+05:30</published><updated>2009-09-16T11:46:57.148+05:30</updated><title type='text'>James,

By the time handler is invoked SOAP body i...</title><content type='html'>James,&lt;br /&gt;&lt;br /&gt;By the time handler is invoked SOAP body is already read by JAX-WS. Why don&amp;#39;t you try filters for the task you mentioned?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/6253408168951454133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/6253408168951454133'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1253081817148#c6253408168951454133' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-8111796656676142257</id><published>2009-09-16T11:38:29.609+05:30</published><updated>2009-09-16T11:38:29.609+05:30</updated><title type='text'>Don't suppose you know whether higher-level handle...</title><content type='html'>Don&amp;#39;t suppose you know whether higher-level handlers can be attached? e.g. view the raw HTTP message before the SOAP body is read by JAX-WS? I have a need to handle all messages, not just the ones that are valid.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8111796656676142257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8111796656676142257'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1253081309609#c8111796656676142257' title=''/><author><name>James Weakley</name><uri>http://www.blogger.com/profile/10668140239241212479</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2464685711496292794</id><published>2009-08-16T21:21:28.908+05:30</published><updated>2009-08-16T21:21:28.908+05:30</updated><title type='text'>Thanks for the tutorial! We try to incorporate a S...</title><content type='html'>Thanks for the tutorial! We try to incorporate a SAML Token that we receive from another party into the header by using a JAX-WS handler. &lt;br /&gt;&lt;br /&gt;Bit of a problem is, that we have the SAML token not as object but as plain xml string. How can we insert this into the header of the SOAP message as easy as possible?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Thomas</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2464685711496292794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2464685711496292794'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1250437888908#c2464685711496292794' title=''/><author><name>Thomas</name><uri>http://www.blogger.com/profile/18260758467635609738</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2454586929413386252</id><published>2009-07-31T15:37:31.598+05:30</published><updated>2009-07-31T15:37:31.598+05:30</updated><title type='text'>Excellent job Vinod,
The code worked like a charm,...</title><content type='html'>Excellent job Vinod,&lt;br /&gt;The code worked like a charm, the very first time! And it addressed my need perfectly.&lt;br /&gt;I am bookmarking you blog for future :), keep up the good work.&lt;br /&gt;Thanks a mil,&lt;br /&gt;jR</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2454586929413386252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2454586929413386252'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1249034851598#c2454586929413386252' title=''/><author><name>jR</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-676680409031168087</id><published>2009-06-25T17:46:49.965+05:30</published><updated>2009-06-25T17:46:49.965+05:30</updated><title type='text'>Hi Vinod .... its been vary useful for me ... than...</title><content type='html'>Hi Vinod .... its been vary useful for me ... thanks ... &lt;br /&gt;but i am not able to log the Exceptions ...&lt;br /&gt;handleFault is not being called in case of an Exception thrown.&lt;br /&gt;&lt;br /&gt;can u help me ??&lt;br /&gt;&lt;br /&gt;Siddhartha.&lt;br /&gt;sidd.aec@gmail.com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/676680409031168087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/676680409031168087'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1245932209965#c676680409031168087' title=''/><author><name>siddhartha</name><uri>http://www.blogger.com/profile/13176463190102950459</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-2579717857320273284</id><published>2009-03-09T09:17:00.000+05:30</published><updated>2009-03-09T09:17:00.000+05:30</updated><title type='text'>Though I never tried but JAX-RPC handlers may not ...</title><content type='html'>Though I never tried but JAX-RPC handlers may not work directly under JAX-WS as they use different APIs. IMO porting of handlers from JAX-RPC to JAX-WS should be pretty easier.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2579717857320273284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/2579717857320273284'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1236570420000#c2579717857320273284' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-4620082844789705586</id><published>2009-03-08T23:26:00.000+05:30</published><updated>2009-03-08T23:26:00.000+05:30</updated><title type='text'>thanks man. this is very clear.can i use my old ja...</title><content type='html'>thanks man. this is very clear.&lt;BR/&gt;can i use my old jaxrpc handler with jaxws service?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/4620082844789705586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/4620082844789705586'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1236534960000#c4620082844789705586' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-8402103549419217115</id><published>2009-02-05T22:03:00.000+05:30</published><updated>2009-02-05T22:03:00.000+05:30</updated><title type='text'>Great Help!! I'v been searching for a help like th...</title><content type='html'>Great Help!! I'v been searching for a help like this for the entire day and at last found this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8402103549419217115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/8402103549419217115'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1233851580000#c8402103549419217115' title=''/><author><name>Manish</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-1555729280375238235</id><published>2008-11-13T15:15:00.000+05:30</published><updated>2008-11-13T15:15:00.000+05:30</updated><title type='text'>Of course why not. One can do so using-public bool...</title><content type='html'>Of course why not. One can do so using-&lt;BR/&gt;&lt;I&gt;public boolean handleMessage(SOAPMessageContext context)&lt;/I&gt;&lt;BR/&gt;method. Returning false from there will stop further processing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1555729280375238235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/1555729280375238235'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1226569500000#c1555729280375238235' title=''/><author><name>Vinod Singh</name><uri>http://www.blogger.com/profile/14429571106836951918</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05637947753824606738'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12168038.post-5382784673574754991</id><published>2008-11-13T12:42:00.000+05:30</published><updated>2008-11-13T12:42:00.000+05:30</updated><title type='text'>Very easy &amp; useful !!Can I use it for authenticati...</title><content type='html'>Very easy &amp;amp; useful !!&lt;BR/&gt;Can I use it for authentication purpose ? how ?&lt;BR/&gt;&lt;BR/&gt;obaid&lt;BR/&gt;Dhaka</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/5382784673574754991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12168038/1434240739728511843/comments/default/5382784673574754991'/><link rel='alternate' type='text/html' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html?showComment=1226560320000#c5382784673574754991' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vinodsingh.com/2008/09/using-jax-ws-handlers_25.html' ref='tag:blogger.com,1999:blog-12168038.post-1434240739728511843' source='http://www.blogger.com/feeds/12168038/posts/default/1434240739728511843' type='text/html'/></entry></feed>