<?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/"
	>

<channel>
	<title>The Geek Blog &#187; .net</title>
	<atom:link href="http://www.artin.org/geekblog/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artin.org/geekblog</link>
	<description>A place to write down the crap from my brain</description>
	<lastBuildDate>Sat, 12 Jun 2010 12:25:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Microsoft WCF Web Services &amp; Java</title>
		<link>http://www.artin.org/geekblog/2009/03/microsoft-wcf-web-services-java/</link>
		<comments>http://www.artin.org/geekblog/2009/03/microsoft-wcf-web-services-java/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 20:43:16 +0000</pubDate>
		<dc:creator>Astralbodies</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[spring framework]]></category>
		<category><![CDATA[wcf]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://www.artin.org/geekblog/?p=29</guid>
		<description><![CDATA[I spent a good 50+ hours on trying to consume a Microsoft WCF secure web service with a Java solution.  I tried Spring Web Services, Axis2, and looked at Metro/Tango and decided Axis2 was the &#8220;easiest&#8221; solution.  The web service I&#8217;m connecting to implements WS-Security, WS-SecureConversation, WS-Policy, WS-Trust and WS-Addressing (at least) and it&#8217;s provided [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a good 50+ hours on trying to consume a Microsoft WCF secure web service with a Java solution.  I tried Spring Web Services, Axis2, and looked at Metro/Tango and decided Axis2 was the &#8220;easiest&#8221; solution.  The web service I&#8217;m connecting to implements WS-Security, WS-SecureConversation, WS-Policy, WS-Trust and WS-Addressing (at least) and it&#8217;s provided through a .NET 3.5 WCF endpoint.</p>
<p>It doesn&#8217;t work.</p>
<p>Axis2 can&#8217;t handle SpNego which is a WCF closed protocol allowing two WCF machines to negotiate the credentials between them.  The client has spent way too much money paying me to continue to figure out a Java solution, so I wrote a .NET 3.5 C# client.  Took me literally five lines of code and it&#8217;s working.  That&#8217;s great for .NET developers but a whole lotta horse shit for the rest of the world.  I&#8217;m hoping Axis2&#8242;s Rampart module is updated to play nice with WS-SecureConversation and a .NET WCF web service.  Until then, I&#8217;m using the .NET client to download the data and I&#8217;m storing the SOAP body into a database table.  On the Java side, I&#8217;m still using JAXB2 to unmarshall the data into Java objects and process it through our existing persistence framework.</p>
<p>Go me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artin.org/geekblog/2009/03/microsoft-wcf-web-services-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
