<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SOA Tips 'n' Tricks</title>
	<atom:link href="http://soatipsntricks.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://soatipsntricks.wordpress.com</link>
	<description>Tips 'n' Tricks from the world of IBM WebSphere SOA Products</description>
	<lastBuildDate>Mon, 26 Oct 2009 08:59:41 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='soatipsntricks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/80e20c24c36085df6996a7f2334b101c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>SOA Tips 'n' Tricks</title>
		<link>http://soatipsntricks.wordpress.com</link>
	</image>
			<item>
		<title>WebSphere ESB / Integration Developer / Process Server 7.0 Announced</title>
		<link>http://soatipsntricks.wordpress.com/2009/10/26/websphere-esb-integration-developer-process-server-7-0-announced/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/10/26/websphere-esb-integration-developer-process-server-7-0-announced/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 08:59:41 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Enterprise Service Bus]]></category>
		<category><![CDATA[Integration Developer]]></category>
		<category><![CDATA[Process Server]]></category>
		<category><![CDATA[Service Registry and Repository]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[processserver]]></category>
		<category><![CDATA[websphere integration developer]]></category>
		<category><![CDATA[wesb]]></category>
		<category><![CDATA[wid]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=287</guid>
		<description><![CDATA[For those already working with  WebSphere Integration Developer, WebSphere ESB, or WebSphere Process Server, or those considering using them, you might be interested to know that version 7.0 has just been announced and is scheduled to be available around the end of Q4 2009.
Please look at the official announcement for more information, but some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=287&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For those already working with  WebSphere Integration Developer, WebSphere ESB, or WebSphere Process Server, or those considering using them, you might be interested to know that version 7.0 has just been announced and is scheduled to be available around the end of Q4 2009.</p>
<p>Please look at <a href="http://www-01.ibm.com/common/ssi/ShowDoc.jsp?docURL=/common/ssi/rep_ca/9/897/ENUS209-309/index.html&amp;breadCrum=DET001PT022&amp;url=buttonpressed=DET001PT116&amp;page=1000&amp;paneltext1=DET001PEF011&amp;user+type=EXT&amp;lang=en_GB&amp;InfoType=AN&amp;InfoSubType=CA&amp;InfoDesc=Announcement+Letters&amp;panelurl=index.wss%3Fbuttonpressed%3DDET001PT116%26page%3D1000%26paneltext1%3DDET001PEF011%26user%2Btype%3DEXT&amp;paneltext=Announcement%20letter%20search">the official announcement</a> for more information, but some of the new things I think are particularly interesting are:</p>
<ul>
<li>Service Federation Management between WebSphere Services Registry and Repository and WebSphere ESB.</li>
<li>More pattern-based development.</li>
<li>Exploitation of WebSphere Application Server V7.</li>
<li>Improved Service Gateway scenario support.</li>
<li>Event sequencing support in WebSphere ESB.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/287/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/287/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/287/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=287&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/10/26/websphere-esb-integration-developer-process-server-7-0-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>WebSphere Application Server 7.0 Administration Guide: Review</title>
		<link>http://soatipsntricks.wordpress.com/2009/10/14/websphere-application-server-7-0-administration-guide-review/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/10/14/websphere-application-server-7-0-administration-guide-review/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 11:09:52 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Application Server]]></category>
		<category><![CDATA[applicationserver]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=284</guid>
		<description><![CDATA[I was recently asked to review the new book WebSphere Application Server 7.0 Administration Guide by Steve Robinson. First impressions are good; the book looks professional and comprehensive. Steve starts from the basics, installing WebSphere Application Server from scratch. He walks through some administration tasks that I might expect an experienced system administrator or developer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=284&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was recently asked to review the new book <a href="http://www.packtpub.com/webSphere-application-server-7-0-administration-guide?utm_source=soatipsntricks.wordpress.com&amp;utm_medium=bookrev&amp;utm_content=blog&amp;utm_campaign=mdb_000689">WebSphere Application Server 7.0 Administration Guide</a> by Steve Robinson. First impressions are good; the book looks professional and comprehensive. Steve starts from the basics, installing WebSphere Application Server from scratch. He walks through some administration tasks that I might expect an experienced system administrator or developer to be able to do without trouble (details on un-taring a file, for example), and a little more information at various points would be welcome: for example, although Chapter 1 describes creation of a profile, it doesn&#8217;t really explain what a profile is or why it would be needed, referring only to an &#8220;application server definition&#8221;.</p>
<p>Nevertheless, taken as a whole, the book is generally thorough, and certainly covers the basics for someone with little WebSphere Application Server expertise or exposure. Steve looks at administrative security, scripting, messaging via the System Integration Bus, and so on. As the title implies, the book doesn&#8217;t talk much about application development, but that&#8217;s fine. There&#8217;s nothing here you wouldn&#8217;t find elsewhere, but Steve does a good job of collecting it all together, and presenting WebSphere administration topics in a coherent and logical manner.</p>
<p>It&#8217;s a good book for WebSphere Application Server administrators who are just getting started &#8211; and it would also be useful for those learning to administrate products that use it as a base, such as WebSphere Enterprise Service Bus or WebSphere Process Server.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=284&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/10/14/websphere-application-server-7-0-administration-guide-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick &#8216;n&#8217; Dirty Dogear Backup</title>
		<link>http://soatipsntricks.wordpress.com/2009/07/31/quick-n-dirty-dogear-backup/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/07/31/quick-n-dirty-dogear-backup/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 13:31:38 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[lotus]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[dogear]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[xbel]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=277</guid>
		<description><![CDATA[A little bit of a deviation from our usual WebSphere content here, but: if you&#8217;re using Lotus Connections in your organisation, you might want a way to backup the bookmarks you save to Dogear locally. Maybe there&#8217;s a lot of valuable content in there that you need should it go offline for a few hours, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=277&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A little bit of a deviation from our usual WebSphere content here, but: if you&#8217;re using <a href="http://www-01.ibm.com/software/lotus/products/connections/">Lotus Connections</a> in your organisation, you might want a way to backup the bookmarks you save to <a href="http://www-01.ibm.com/software/lotus/products/connections/dogear.html">Dogear</a> locally. Maybe there&#8217;s a lot of valuable content in there that you need should it go offline for a few hours, for example. I&#8217;m just paranoid, and I always like to have personal backups of anything important to me &#8211; which my bookmarks sure are.</p>
<p>So I wrote a quick and dirty <a href="http://www.python.org/">Python</a> script that backs up your bookmarks by connecting via the <a href="http://publib.boulder.ibm.com/infocenter/ltscnnct/v2r0/index.jsp?topic=/com.ibm.lc_2.0_IC/c_api_dog_welcome.html">Dogear API</a> and saving them to an <a href="http://pyxml.sourceforge.net/topics/xbel/">XBEL</a> file. It doesn&#8217;t support all fields &#8211; in particular, in doesn&#8217;t currently back up tags, only the title and the URL.</p>
<p>Feel free to take and adapt to your needs (as with all material on this site, this is not supported by IBM in any way and there are no guarantees that this will even work for you). Feedback appreciated as always.</p>
<p>You&#8217;ll need to pass in three command-line arguments to the script: hopefully the code is self-explanatory.</p>
<pre class="brush: css;">
#!/usr/bin/python

import urllib2
import feedparser
import base64

from urllib import quote
from optparse import OptionParser

parser = OptionParser()

parser.add_option(&quot;-u&quot;, &quot;--username&quot;, dest=&quot;username&quot;)
parser.add_option(&quot;-p&quot;, &quot;--password&quot;, dest=&quot;password&quot;)
parser.add_option(&quot;-s&quot;, &quot;--servername&quot;, dest=&quot;servername&quot;)

(options, args) = parser.parse_args()

print &quot;&lt;?xml version=\&quot;1.0\&quot;?&gt;&quot;
print &quot;&lt;xbel version=\&quot;1.0\&quot;&gt;&quot;

PAGESIZE = 50
url = &quot;https://&quot; + options.servername + &quot;/dogear/atom?email=&quot; + quote(options.username) + &quot;&amp;access=all&amp;ps=&quot; + str(PAGESIZE)

entrieslength = PAGESIZE
currentpage = 1

base64string = base64.encodestring('%s:%s' % (options.username, options.password))[:-1]
authheader = &quot;Basic %s&quot; % base64string

while entrieslength &gt;= PAGESIZE:
 req = urllib2.Request(url + &quot;&amp;page=&quot; + str(currentpage))
 req.add_header(&quot;Authorization&quot;, authheader)
 data = urllib2.urlopen(req).read()
 feed = feedparser.parse(data)
 entrieslength = len(feed.entries)
 for entry in feed.entries:
  print &quot;\t&lt;bookmark href=\&quot;&quot; + entry.link + &quot;\&quot;&gt;&quot;
  print &quot;\t\t&lt;title&gt;&quot; + entry.title.encode('utf-8') + &quot;&lt;/title&gt;&quot;
  print &quot;\t&lt;/bookmark&gt;&quot;
 currentpage = currentpage + 1

print &quot;&lt;/xbel&gt;&quot;
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=277&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/07/31/quick-n-dirty-dogear-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>Health Center with WebSphere ESB and Process Server</title>
		<link>http://soatipsntricks.wordpress.com/2009/07/21/health-center-with-websphere-esb-and-process-server/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/07/21/health-center-with-websphere-esb-and-process-server/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:12:23 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Enterprise Service Bus]]></category>
		<category><![CDATA[Integration Developer]]></category>
		<category><![CDATA[Process Server]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[diagnostics]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[healthcenter]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[processserver]]></category>
		<category><![CDATA[wesb]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=271</guid>
		<description><![CDATA[I attended a presentation last week by one of the developers of Health Center, a new monitoring and diagnostic tool IBM has made available for debugging Java Virtual Machines as they are executing. It&#8217;s available for any application that runs on an (IBM-based) JVM, but of particular interest to me is WebSphere ESB and Process [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=271&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I attended a presentation last week by one of the developers of <a href="http://www.ibm.com/developerworks/java/jdk/tools/healthcenter/">Health Center</a>, a new monitoring and diagnostic tool IBM has made available for debugging Java Virtual Machines as they are executing. It&#8217;s available for any application that runs on an (IBM-based) JVM, but of particular interest to me is WebSphere ESB and Process Server.</p>
<p>I won&#8217;t repeat the installation instructions, which you can find <a href="http://www.ibm.com/developerworks/java/jdk/tools/healthcenter/getting_started.html">here</a>, but there are one or two gotchas you should be aware of:</p>
<ul>
<li>At the time of writing, Java versions shipped with WebSphere ESB and Process Server (version 6.2.x) are sufficiently old that they don&#8217;t yet include the Health Center agent, so you will need to install this manually as described in the &#8220;Enabling an application for monitoring&#8221; link when you set up a connection in Health Center. Be careful to extract files into exactly the right directory.</li>
<li>I also suggest you then follow the instructions labelled &#8220;Configuring WAS to enable monitoring&#8221; in the Health Center Infocenter. If you are using the embedded Integrated Test Environment servers inside WebSphere Integration Developer, I suggest the topic &#8220;Configuring WAS test environment in RAD to enable monitoring&#8221;. Although the product names are different, the principles are essentially the same.</li>
<li>Be aware that (at the time of writing) Java 5 SR8 is used by WebSphere ESB and Process Server, so you&#8217;ll need to use the more complex form of JVM boot parameters as described in the help. This also means that it&#8217;s not yet recommended that use Health Center in production, although it will be useful in development, particularly when you&#8217;re focusing on performance, stability, or capacity issues. Hopefully this situation should change in later versions of WebSphere ESB and Process Server.</li>
</ul>
<p>To give you a taster, once you&#8217;ve managed to connect, you&#8217;ll see some very cool screens, like this one that allows you to do trivial method profiling:</p>
<p><img class="alignnone size-full wp-image-273" title="2009-07-21_160518" src="http://soatipsntricks.files.wordpress.com/2009/07/2009-07-21_160518.png?w=670&#038;h=315" alt="2009-07-21_160518" width="670" height="315" /></p>
<p>(sort by &#8216;Tree&#8217; is particularly useful, as this includes time taken by methods that a given method has called).</p>
<p>Another handy view is this one, which allows you to watch your heap and JVM pause times over time (drag a box over a particular area to restrict all statistics to that period):</p>
<p><img class="alignnone size-full wp-image-272" title="2009-07-21_160428" src="http://soatipsntricks.files.wordpress.com/2009/07/2009-07-21_160428.png?w=818&#038;h=324" alt="2009-07-21_160428" width="818" height="324" /></p>
<p><img src="/DOCUME%7E1/ferriera/LOCALS%7E1/Temp/moz-screenshot.png" alt="" />The best part of Health Center is that all data is updated in real time (and can be saved away and reloaded later), so you can (for example) watch your heap grow and shrink, your garbage collection happen, and so on. Overhead is generally minimal and since it uses a client/server architecture, is minimally invasive.</p>
<p>You can find out a lot more information on the <a href="http://www.ibm.com/developerworks/java/jdk/tools/healthcenter/">Health Center website</a> and the <a href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/troubleshootingjava/">Java troubleshooting team&#8217;s blog</a>.</p>
<p>Thanks to Toby Corbin for the original presentation and Dave Nice for assistance with Health Center.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=271&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/07/21/health-center-with-websphere-esb-and-process-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>

		<media:content url="http://soatipsntricks.files.wordpress.com/2009/07/2009-07-21_160518.png" medium="image">
			<media:title type="html">2009-07-21_160518</media:title>
		</media:content>

		<media:content url="http://soatipsntricks.files.wordpress.com/2009/07/2009-07-21_160428.png" medium="image">
			<media:title type="html">2009-07-21_160428</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/ferriera/LOCALS%7E1/Temp/moz-screenshot.png" medium="image" />
	</item>
		<item>
		<title>Emulating modelled faults in WebSphere Integration Developer</title>
		<link>http://soatipsntricks.wordpress.com/2009/07/05/emulating-modelled-faults-in-websphere-integration-developer/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/07/05/emulating-modelled-faults-in-websphere-integration-developer/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 12:20:18 +0000</pubDate>
		<dc:creator>davidgeorge</dc:creator>
				<category><![CDATA[Enterprise Service Bus]]></category>
		<category><![CDATA[Process Server]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[emulation]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[wid]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=256</guid>
		<description><![CDATA[Since version 6.1, WebSphere Integration Developer has come with the ability to create test projects containing test suites and programmatic emulators, allowing developers to create repeatable automated tests for their modules. Projects can contain any number of suites, test cases and variations to cover all the behaviours of the module.
One scenario often overlooked in user-defined [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=256&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Since version 6.1, WebSphere Integration Developer has come with the ability to create test projects containing test suites and programmatic emulators, allowing developers to create repeatable automated tests for their modules. Projects can contain any number of suites, test cases and variations to cover all the behaviours of the module.</p>
<p>One scenario often overlooked in user-defined test suites is the one where the partner reference returns a modelled fault.</p>
<p>For example:</p>
<p><img class="size-full wp-image-255 alignnone" title="Interface with fault" src="http://soatipsntricks.files.wordpress.com/2009/07/1-interface.png?w=575&#038;h=169" alt="Example interface with a modelled fault" width="575" height="169" /></p>
<p>Fortunately, it is possible to return a fault using a programmatic emulator. In this example we will use Java, but the same behaviour can be accomplished using a visual snippet.</p>
<p>First create the payload for the fault. If the payload is a String or other Java type, you can simply create it and assign it to a variable. If the object is a business object then locate the BOFactory and create it as you would any other SDO DataObject</p>
<pre>BOFactory boFactory =
  (BOFactory) ServiceManager.INSTANCE.locateService("com/ibm/websphere/bo/BOFactory");

DataObject reservationFault =
  boFactory.create("http://LB_Example","ReservationFault");</pre>
<p>Once you have the object set any attributes that are required.</p>
<pre>reservationFault.setString("faultCode", "100");</pre>
<p>Next create a Java ServiceBusinessException. The exception has four constructor methods, and we want the one that accepts a String and an Object. The string will be name of the fault being returned, and the object will be the payload created above.</p>
<p>Finally, you throw (not return) the ServiceBusinessException</p>
<pre>ServiceBusinessException sbe =
  new ServiceBusinessException(reservationFault,"unknownEventFault");

throw sbe;</pre>
<p>For completeness, here is the same code represented visually.</p>
<p><img class="size-full wp-image-259 alignnone" title="Visual fault emulator" src="http://soatipsntricks.files.wordpress.com/2009/07/2-visual.png?w=589&#038;h=239" alt="Fault emulator as visual snippet" width="589" height="239" /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=256&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/07/05/emulating-modelled-faults-in-websphere-integration-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f2bd46404cf3e59291fdb23bf12dd745?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davidgeorge</media:title>
		</media:content>

		<media:content url="http://soatipsntricks.files.wordpress.com/2009/07/1-interface.png" medium="image">
			<media:title type="html">Interface with fault</media:title>
		</media:content>

		<media:content url="http://soatipsntricks.files.wordpress.com/2009/07/2-visual.png" medium="image">
			<media:title type="html">Visual fault emulator</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing a SOAP Endpoint on an Outgoing Message using JAX-WS</title>
		<link>http://soatipsntricks.wordpress.com/2009/06/25/changing-a-soap-endpoint-on-an-outgoing-message-using-jax-ws/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/06/25/changing-a-soap-endpoint-on-an-outgoing-message-using-jax-ws/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 17:48:43 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Application Server]]></category>
		<category><![CDATA[Enterprise Service Bus]]></category>
		<category><![CDATA[Process Server]]></category>
		<category><![CDATA[SOAP/HTTP]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[handler]]></category>
		<category><![CDATA[jax-ws]]></category>
		<category><![CDATA[soap]]></category>
		<category><![CDATA[webservices]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=251</guid>
		<description><![CDATA[This tip comes from Arancha Ocana Diaz-Ufano, who did all the hard work to figure it out!
In WebSphere ESB, there are many ways of changing the endpoint of a SOAP message outbound from a mediation flow, and the normal way is to use the dynamic endpoint support.  To be clear, this is recommended way.
However, there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=251&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This tip comes from Arancha Ocana Diaz-Ufano, who did all the hard work to figure it out!</p>
<p>In WebSphere ESB, there are many ways of changing the endpoint of a SOAP message outbound from a mediation flow, and the normal way is to use the <a href="http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic/com.ibm.websphere.wesb620.doc/ref/rwesb_dynamicoverridesmo.html">dynamic endpoint support</a>.  To be clear, <strong>this is recommended way</strong>.</p>
<p>However, there is another technique, and that&#8217;s to use a JAX-WS handler (assuming you&#8217;re using a JAX-WS Web Services binding) on the outbound message. This might be useful if, for example, you absolutely cannot modify a mediation flow that&#8217;s been given to you, you cannot modify the endpoint at administration time (for example, from the administration console), or you want to do the override in a generic fashion across a large number of mediation flows.</p>
<p>The key is knowing the magic incantation to put in your JAX-WS handler. And here it is:</p>
<pre>mySOAPMessageContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://myhost:9080/MyEndPoint");</pre>
<p>Thanks again to Arancha for allowing us to publish this tip.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=251&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/06/25/changing-a-soap-endpoint-on-an-outgoing-message-using-jax-ws/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>Michal Kuzak Joins SOA Tips &#8216;n&#8217; Tricks</title>
		<link>http://soatipsntricks.wordpress.com/2009/06/16/michal-kuzak-joins-soa-tips-n-tricks/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/06/16/michal-kuzak-joins-soa-tips-n-tricks/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 13:25:18 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[michalkuzak]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=249</guid>
		<description><![CDATA[

Two new joiners in as many weeks!
My ex-IBM colleague Michal Kuzak has also agreed to join the SOA Tips ‘n’ Tricks team, along with David George. He’s an independent WebSphere Process Server consultant, and will no doubt have many tips &#8216;n&#8217; tricks to share.
As always, please remember that the postings on this blog are our [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=249&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<div>
<p>Two new joiners in as many weeks!</p>
<p>My ex-IBM colleague <a href="http://www.linkedin.com/pub/michal-kuzak/2/693/972">Michal Kuzak</a> has also agreed to join the SOA Tips ‘n’ Tricks team, <a href="http://soatipsntricks.wordpress.com/2009/06/02/david-george-joins-soa-tips-n-tricks/">along with David George</a>. He’s an independent WebSphere Process Server consultant, and will no doubt have many tips &#8216;n&#8217; tricks to share.</p>
<p>As always, please remember that the postings on this blog are our own and don’t necessarily represent our employers&#8217; positions, strategies or opinions.</p></div>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=249&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/06/16/michal-kuzak-joins-soa-tips-n-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>David George Joins SOA Tips &#8216;n&#8217; Tricks</title>
		<link>http://soatipsntricks.wordpress.com/2009/06/02/david-george-joins-soa-tips-n-tricks/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/06/02/david-george-joins-soa-tips-n-tricks/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:16:02 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[davidgeorge]]></category>
		<category><![CDATA[processserver]]></category>
		<category><![CDATA[wid]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=245</guid>
		<description><![CDATA[I&#8217;m pleased to say that my colleague David George has agreed to join the SOA Tips &#8216;n&#8217; Tricks team. He&#8217;s a WebSphere Process Server consultant, and will be blogging about it, WebSphere Integration Developer, and other related subjects. Like myself, David is part of IBM Software Services and works with IBM customers on a regular [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=245&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m pleased to say that my colleague David George has agreed to join the SOA Tips &#8216;n&#8217; Tricks team. He&#8217;s a WebSphere Process Server consultant, and will be blogging about it, WebSphere Integration Developer, and other related subjects. Like myself, David is part of IBM Software Services and works with IBM customers on a regular basis, so has a wealth of experience to share.</p>
<p>As always, please remember that the postings on this blog are our own and don’t necessarily represent IBM’s positions, strategies or opinions.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=245&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/06/02/david-george-joins-soa-tips-n-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>WebSphere Application Server 7 Internals</title>
		<link>http://soatipsntricks.wordpress.com/2009/05/22/websphere-application-server-7-internals/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/05/22/websphere-application-server-7-internals/#comments</comments>
		<pubDate>Fri, 22 May 2009 14:53:25 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Application Server]]></category>
		<category><![CDATA[7.0]]></category>
		<category><![CDATA[applicationserver]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[internals]]></category>
		<category><![CDATA[was]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=240</guid>
		<description><![CDATA[Sorry that there haven&#8217;t been many posts here recently. To whet your appetite, I&#8217;m currently preparing a series of articles with a working title of &#8216;Mediation Flow Creation Guidelines&#8217;, which will aim to provide some guidance on well-worn ways to develop mediation flows efficiently.
In the meantime, I&#8217;d just like to mention a new book coming [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=240&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sorry that there haven&#8217;t been many posts here recently. To whet your appetite, I&#8217;m currently preparing a series of articles with a working title of &#8216;Mediation Flow Creation Guidelines&#8217;, which will aim to provide some guidance on well-worn ways to develop mediation flows efficiently.</p>
<p>In the meantime, I&#8217;d just like to mention a new book coming out soon called <a href="http://www.amazon.co.uk/Pro-WebSphere-Application-Server-Internals/dp/1430219580/ref=sr_1_1?ie=UTF8&amp;qid=1243003425&amp;sr=8-1">WebSphere Application Server 7 Internals</a>. I&#8217;ve been lucky enough to take a look at some preview chapters, and I have to say the content is set to be excellent; Colin has done a great job of explaining many of the more detailed and nitty-gritty topics involved in WebSphere Application Server, which underpins several IBM products, including the one I specialise in, WebSphere ESB. I&#8217;m sure it&#8217;s set to be a handy tome.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=240&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/05/22/websphere-application-server-7-internals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Message Logger for Lazy Logging in WebSphere ESB and Process Server 6.2</title>
		<link>http://soatipsntricks.wordpress.com/2009/03/09/using-message-logger-for-lazy-logging-in-websphere-esb-and-process-server-62/</link>
		<comments>http://soatipsntricks.wordpress.com/2009/03/09/using-message-logger-for-lazy-logging-in-websphere-esb-and-process-server-62/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 16:21:02 +0000</pubDate>
		<dc:creator>andrewferrier</dc:creator>
				<category><![CDATA[Enterprise Service Bus]]></category>
		<category><![CDATA[Process Server]]></category>
		<category><![CDATA[WebSphere]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[mediation]]></category>
		<category><![CDATA[mediationflow]]></category>
		<category><![CDATA[messagelogger]]></category>
		<category><![CDATA[wid]]></category>
		<category><![CDATA[wps]]></category>

		<guid isPermaLink="false">http://soatipsntricks.wordpress.com/?p=234</guid>
		<description><![CDATA[If you&#8217;re creating a mediation flow in WebSphere ESB and Process Server 6.2, it&#8217;s now even easier to do &#8216;lazy&#8217; (drop-and-forget) logging for debugging purposes (Note: I&#8217;m calling it &#8216;lazy&#8217; deliberately. I am not suggesting you should do this in a production system &#8211; it&#8217;s for quick-and-dirty testing).
Simply drop a Message Logger primitive onto the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=234&subd=soatipsntricks&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you&#8217;re creating a mediation flow in WebSphere ESB and Process Server 6.2, it&#8217;s now even easier to do &#8216;lazy&#8217; (drop-and-forget) logging for debugging purposes (<strong>Note</strong>: I&#8217;m calling it &#8216;lazy&#8217; deliberately. I am not suggesting you should do this in a production system &#8211; it&#8217;s for quick-and-dirty testing).</p>
<p>Simply drop a Message Logger primitive onto the mediation flow, and change the type from &#8216;Database&#8217; to &#8216;Custom&#8217;:</p>
<p><img class="alignnone size-full wp-image-236" title="2009-03-09_154556" src="http://soatipsntricks.files.wordpress.com/2009/03/2009-03-09_154556.png?w=625&#038;h=549" alt="2009-03-09_154556" width="625" height="549" /></p>
<p>The default handler, formatter, and filter classes shown will be used to do the logging. This means that files named <strong>MessageLogN.log</strong> will appear in your system&#8217;s temporary folder (on Windows, for example, this is normally <strong>C:\Documents and Settings\<em>YourUsername</em>\Local Settings\Temp</strong>). These will contain lines like this:</p>
<pre>3/9/09 3:08 PM,EBC7634C-011F-4000-E000-02BCC0A80A8A,MessageLogger1,LogTest,&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;body xsi:type="i1:operation1RequestMsg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:i1="wsdl.http://LogTest/i1" xmlns:i1_1="http://LogTest/i1"&gt;
  &lt;i1_1:operation1&gt;
    &lt;input1&gt;some data&lt;/input1&gt;
  &lt;/i1_1:operation1&gt;
&lt;/body&gt;
,6</pre>
<p>The six fields you see in the comma-delimited line are:</p>
<ol>
<li>Timestamp</li>
<li>Service Message Object message ID</li>
<li>Mediation primitive name</li>
<li>Module name</li>
<li>Actual message itself &#8211; i.e. the Service Message Object serialized as XML.</li>
<li>Service Message Object version</li>
</ol>
<p>This can be really handy for quickly instrumenting a mediation flow.</p>
<p>If you want to get more sophisticated, you can override the handler, formatter, and filter classes with your own, and in any production system, you&#8217;d probably want to do that. <a href="http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html">This document</a> from the Java documentation explains more.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/soatipsntricks.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/soatipsntricks.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/soatipsntricks.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/soatipsntricks.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/soatipsntricks.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/soatipsntricks.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/soatipsntricks.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/soatipsntricks.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/soatipsntricks.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/soatipsntricks.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=soatipsntricks.wordpress.com&blog=504053&post=234&subd=soatipsntricks&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://soatipsntricks.wordpress.com/2009/03/09/using-message-logger-for-lazy-logging-in-websphere-esb-and-process-server-62/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a6743880175c8767ceeb624bc474f52d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrewferrier</media:title>
		</media:content>

		<media:content url="http://soatipsntricks.files.wordpress.com/2009/03/2009-03-09_154556.png" medium="image">
			<media:title type="html">2009-03-09_154556</media:title>
		</media:content>
	</item>
	</channel>
</rss>